diff options
author | J-P Nurmi <jpnurmi@digia.com> | 2013-05-29 15:23:14 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-05-30 09:21:22 +0200 |
commit | 6de2c97d064daa069066bb46880f04bfd5be43b7 (patch) | |
tree | 2b2cfc2624e3a668943294649454b44fe2aca9c8 /src/controls/ComboBox.qml | |
parent | cf3d91d6db86fb74d5968405371c4e83b1410d86 (diff) | |
download | qtquickcontrols-6de2c97d064daa069066bb46880f04bfd5be43b7.tar.gz |
Docs: fix missing/leftover docs, types, tags...
Task-number: QTBUG-31262
Change-Id: I6bf48604b9392a2a9c63c344363188a4693a8547
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'src/controls/ComboBox.qml')
-rw-r--r-- | src/controls/ComboBox.qml | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/controls/ComboBox.qml b/src/controls/ComboBox.qml index 7b13bc8e..e5efb63c 100644 --- a/src/controls/ComboBox.qml +++ b/src/controls/ComboBox.qml @@ -80,13 +80,19 @@ import QtQuick.Controls.Private 1.0 Control { id: comboBox - /*! The model to populate the ComboBox from. */ + /*! \qmlproperty model ComboBox::model + The model to populate the ComboBox from. */ property alias model: popupItems.model + + /*! The model role used for populating the ComboBox. */ property string textRole: "" - /*! The index of the currently selected item in the ComboBox. */ + /*! \qmlproperty int ComboBox::currentIndex + The index of the currently selected item in the ComboBox. */ property alias currentIndex: popup.__selectedIndex - /*! The text of the currently selected item in the ComboBox. */ + + /*! \qmlproperty string ComboBox::currentText + The text of the currently selected item in the ComboBox. */ readonly property alias currentText: popup.selectedText /*! This property specifies whether the combobox should gain active focus when pressed. |