Kirigami-addons
FormComboBoxDelegate.qml
78 property alias currentText: combobox.currentText
85 * @see <a href="https://doc.qt.io/qt-6/qtquick-modelviewsdata-modelview.html">Models and Views in QtQuick</a>
122 * This can be used to slightly modify the text to be displayed in the combobox, for instance, by adding a string with the ::currentText.
159 Dialog,
177 property int displayMode: Kirigami.Settings.isMobile ? FormComboBoxDelegate.Dialog : FormComboBoxDelegate.ComboBox
184 text: controlRoot.textRole ? (Array.isArray(controlRoot.model) ? modelData[controlRoot.textRole] : model[controlRoot.textRole]) : modelData
189 * @brief The delegate component to use as entries for each value in the dialog and page display mode.
191 property Component dialogDelegate: Delegates.RoundedItemDelegate {
222 property real __indicatorMargin: controlRoot.indicator && controlRoot.indicator.visible && controlRoot.indicator.width > 0 ? controlRoot.spacing + indicator.width + controlRoot.spacing : 0
324 visible: controlRoot.displayMode === FormComboBoxDelegate.Dialog || controlRoot.displayMode === FormComboBoxDelegate.Page
342 visible: controlRoot.displayMode === FormComboBoxDelegate.Dialog || controlRoot.displayMode === FormComboBoxDelegate.Page
A Form delegate that corresponds to a combobox.
Definition FormComboBoxDelegate.qml:37
string description
A label that contains secondary text that appears under the inherited text property.
Definition FormComboBoxDelegate.qml:60
Component comboBoxDelegate
The delegate component to use as entries in the combobox display mode.
Definition FormComboBoxDelegate.qml:163
int displayMode
This property holds what display mode the delegate should show as.
Definition FormComboBoxDelegate.qml:159
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 3 2024 11:46:57 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 3 2024 11:46:57 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.