TEditableComboBox Class
可编辑的下拉框 More...
| Header: | #include <TEditableComboBox> |
| Inherits: | QComboBox and TUiInterface |
Properties
- itemList : QStringList
- wheelEnabled : bool
Public Functions
| TEditableComboBox(QWidget *parent = 0) | |
| ~TEditableComboBox() |
Reimplemented Public Functions
| virtual void | showPopup() |
Public Slots
| virtual QVariant | getData(const QString &key = "", const QVariant &options = QVariant()) |
| bool | isWheelEnabled() |
| QStringList | itemList() |
| virtual void | setData(const QString &iKey, const QVariant &iData) |
| void | setItemList(QStringList iItemStrLst) |
| void | setWheelEnabled(bool iYBol) |
- 5 public slots inherited from QComboBox
- 9 public slots inherited from TUiInterface
- 19 public slots inherited from QWidget
Signals
| void | itemListChanged() |
| virtual void | notification(const QString &type, const QVariant &data = QVariant(), const QString &uuid = QStringLiteral( "" )) |
- 8 signals inherited from QComboBox
- 1 signal inherited from TUiInterface
- 3 signals inherited from QWidget
Reimplemented Protected Functions
| virtual void | focusOutEvent(QFocusEvent *e) |
| virtual void | wheelEvent(QWheelEvent *iEvent) |
- 15 protected functions inherited from QComboBox
- 2 protected functions inherited from TUiInterface
- 35 protected functions inherited from QWidget
Protected Slots
| void | indexChanged(int newIndx) |
- 1 protected slot inherited from QWidget
Additional Inherited Members
- 5 static public members inherited from QWidget
- 15 protected functions inherited from QComboBox
- 2 protected functions inherited from TUiInterface
- 35 protected functions inherited from QWidget
Detailed Description
可编辑的下拉框
Property Documentation
itemList : QStringList
Access functions:
| QStringList | itemList() |
| void | setItemList(QStringList iItemStrLst) |
Notifier signal:
| void | itemListChanged() |
wheelEnabled : bool
Access functions:
| bool | isWheelEnabled() |
| void | setWheelEnabled(bool iYBol) |
Member Function Documentation
TEditableComboBox::TEditableComboBox(QWidget *parent = 0)
Default constructs an instance of TEditableComboBox.
TEditableComboBox::~TEditableComboBox()
Destroys the instance of TEditableComboBox.