NAME
Qt::Gui::QComboBox
PUBLIC METHODS
- QComboBox(QWidget * parent)
- QComboBox(QWidget * parent = 0)
- ~QComboBox()
- void addItem(const QString & text, const QVariant & userData)
- void addItem(const QString & text, const QVariant & userData = QVariant())
- void addItem(const QIcon & icon, const QString & text, const QVariant & userData)
- void addItem(const QIcon & icon, const QString & text, const QVariant & userData = QVariant())
- void addItems(const QStringList & texts)
- bool autoCompletion()
- Qt::CaseSensitivity autoCompletionCaseSensitivity()
- void clear()
- void clearEditText()
- QCompleter * completer()
- int count()
- int currentIndex()
- QString currentText()
- bool duplicatesEnabled()
- bool event(QEvent * event)
- int findData(const QVariant & data, int role, QFlags<Qt::MatchFlag> flags)
- int findData(const QVariant & data, int role, QFlags<Qt::MatchFlag> flags = static_cast<Qt::MatchFlags>(Qt::MatchExactly|Qt::MatchCaseSensitive))
- int findData(const QVariant & data, int role = Qt::UserRole, QFlags<Qt::MatchFlag> flags = static_cast<Qt::MatchFlags>(Qt::MatchExactly|Qt::MatchCaseSensitive))
- int findText(const QString & text, QFlags<Qt::MatchFlag> flags)
- int findText(const QString & text, QFlags<Qt::MatchFlag> flags = static_cast<Qt::MatchFlags>(Qt::MatchExactly|Qt::MatchCaseSensitive))
- bool hasFrame()
- void hidePopup()
- QSize iconSize()
- void insertItem(int index, const QString & text, const QVariant & userData)
- void insertItem(int index, const QString & text, const QVariant & userData = QVariant())
- void insertItem(int index, const QIcon & icon, const QString & text, const QVariant & userData)
- void insertItem(int index, const QIcon & icon, const QString & text, const QVariant & userData = QVariant())
- void insertItems(int index, const QStringList & texts)
- QComboBox::InsertPolicy insertPolicy()
- void insertSeparator(int index)
- bool isEditable()
- QVariant itemData(int index, int role)
- QVariant itemData(int index, int role = Qt::UserRole)
- QAbstractItemDelegate * itemDelegate()
- QIcon itemIcon(int index)
- QString itemText(int index)
- QLineEdit * lineEdit()
- int maxCount()
- int maxVisibleItems()
- int minimumContentsLength()
- QSize minimumSizeHint()
- QAbstractItemModel * model()
- int modelColumn()
- void removeItem(int index)
- QModelIndex rootModelIndex()
- void setAutoCompletion(bool enable)
- void setAutoCompletionCaseSensitivity(Qt::CaseSensitivity sensitivity)
- void setCompleter(QCompleter * c)
- void setCurrentIndex(int index)
- void setDuplicatesEnabled(bool enable)
- void setEditText(const QString & text)
- void setEditable(bool editable)
- void setFrame(bool arg0)
- void setIconSize(const QSize & size)
- void setInsertPolicy(QComboBox::InsertPolicy policy)
- void setItemData(int index, const QVariant & value, int role)
- void setItemData(int index, const QVariant & value, int role = Qt::UserRole)
- void setItemDelegate(QAbstractItemDelegate * delegate)
- void setItemIcon(int index, const QIcon & icon)
- void setItemText(int index, const QString & text)
- void setLineEdit(QLineEdit * edit)
- void setMaxCount(int max)
- void setMaxVisibleItems(int maxItems)
- void setMinimumContentsLength(int characters)
- void setModel(QAbstractItemModel * model)
- void setModelColumn(int visibleColumn)
- void setRootModelIndex(const QModelIndex & index)
- void setSizeAdjustPolicy(QComboBox::SizeAdjustPolicy policy)
- void setValidator(const QValidator * v)
- void setView(QAbstractItemView * itemView)
- void showPopup()
- QComboBox::SizeAdjustPolicy sizeAdjustPolicy()
- QSize sizeHint()
- const QValidator * validator()
- QAbstractItemView * view()
ENUM VALUES
- NoInsert
- InsertAtTop
- InsertAtCurrent
- InsertAtBottom
- InsertAfterCurrent
- InsertBeforeCurrent
- InsertAlphabetically
- AdjustToContents
- AdjustToContentsOnFirstShow
- AdjustToMinimumContentsLength
- AdjustToMinimumContentsLengthWithIcon
EXPORT
None by default.
AUTHOR
Dongxu Ma <dongxu@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2011 - 2012 by Dongxu Ma
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.