|
~QComboBox() |
void |
addItem(const QString &text, const QVariant &userData = QVariant()) |
void |
addItem(const QIcon &icon, const QString &text, const QVariant &userData = QVariant()) |
void |
addItems(const QStringList &texts) |
QCompleter * |
completer() const |
int |
count() const |
QVariant |
currentData(int role = Qt::UserRole) const |
int |
currentIndex() const |
QString |
currentText() const |
bool |
duplicatesEnabled() const |
int |
findData(const QVariant &data, int role = Qt::UserRole, Qt::MatchFlags flags = |
int |
findText(const QString &text, Qt::MatchFlags flags = static_castQt::MatchFlags ( |
bool |
hasFrame() const |
virtual void |
hidePopup() |
QSize |
iconSize() const |
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 |
insertItems(int index, const QStringList &list) |
InsertPolicy |
insertPolicy() const |
void |
insertSeparator(int index) |
bool |
isEditable() const |
QVariant |
itemData(int index, int role = Qt::UserRole) const |
QAbstractItemDelegate * |
itemDelegate() const |
QIcon |
itemIcon(int index) const |
QString |
itemText(int index) const 某下标对应的内容 |
QLineEdit * |
lineEdit() const |
int |
maxCount() const |
int |
maxVisibleItems() const |
int |
minimumContentsLength() const |
QAbstractItemModel * |
model() const |
int |
modelColumn() const |
void |
removeItem(int index) |
QModelIndex |
rootModelIndex() const |
void |
setCompleter(QCompleter *completer) |
void |
setDuplicatesEnabled(bool enable) |
void |
setEditable(bool editable) |
void |
setFrame(bool) |
void |
setIconSize(const QSize &size) |
void |
setInsertPolicy(InsertPolicy policy) |
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(SizeAdjustPolicy policy) |
void |
setValidator(const QValidator *validator) |
void |
setView(QAbstractItemView *itemView) |
virtual void |
showPopup() |
SizeAdjustPolicy |
sizeAdjustPolicy() const |
const QValidator * |
validator() const |
QAbstractItemView * |
view() const |