PlasmaComponents
SelectionDialog Class Reference
Inheritance diagram for SelectionDialog:

Properties | |
Component | delegate |
QtObject | model |
int | selectedIndex |
![]() | |
variant | buttonTexts |
string | titleIcon |
string | titleText |
![]() | |
list< Item > | buttons |
list< Item > | content |
alias | privateButtonsHeight |
alias | privateTitleHeight |
int | status |
list< Item > | title |
Item | visualParent |
Additional Inherited Members | |
![]() | |
void | buttonClicked (int index) |
![]() | |
void | accepted () |
void | clickedOutside () |
void | rejected () |
![]() | |
void | accept () |
void | close () |
void | open () |
void | reject () |
Detailed Description
A plasma themed SelectionDialog, which can be customized by overriding the ListView delegate.
- Since
- 0.1
By default SelectionDialog provides a scrollable list of textual menu items. The user can choose one item from the list at a time.
Definition at line 52 of file SelectionDialog.qml.
Property Documentation
Component SelectionDialog::delegate |
The delegate used to render the items.
Definition at line 70 of file SelectionDialog.qml.
QtObject SelectionDialog::model |
The model of selectionDialog.
Can be a simple model or a custom QAbstractItemModel
Definition at line 60 of file SelectionDialog.qml.
int SelectionDialog::selectedIndex |
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:08:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:08:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.