PlasmaComponents
CommonDialog Class Reference
Inheritance diagram for CommonDialog:

Signals | |
void | buttonClicked (int index) |
![]() | |
void | accepted () |
void | clickedOutside () |
void | rejected () |
Properties | |
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 | accept () |
void | close () |
void | open () |
void | reject () |
Detailed Description
CommonDialog is a convenience component that provides a dialog with the platform-style title area.
- Since
- 0.1 You only have to define titleText. CommonDialog handles its layout automatically.
Note: This component is experimental, so it may be changed or removed in future releases.
Definition at line 53 of file CommonDialog.qml.
Member Function Documentation
|
signal |
Emitted when the use clicks on a button.
- Parameters
-
type:int index the index of the clicked button: buttonTexts[index] will hold the text of the clicked button.
Property Documentation
variant CommonDialog::buttonTexts |
the texts of all the buttons
Definition at line 60 of file CommonDialog.qml.
string CommonDialog::titleIcon |
the name or path of the dialog title icon
Definition at line 58 of file CommonDialog.qml.
string CommonDialog::titleText |
the title of the dialog
Definition at line 56 of file CommonDialog.qml.
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.