PromptDialog
Inherits org::kde::kirigami::Dialog, and org::kde::kirigami::Dialog.
Properties | |
real | contentBottomPadding |
real | contentLeftPadding |
real | contentPadding |
real | contentRightPadding |
real | contentTopPadding |
alias | mainItem |
string | subtitle |
Detailed Description
A simple dialog to quickly prompt a user with information, and possibly perform an action.
Provides content padding (instead of padding outside of the scroll area). Also has a default preferredWidth, as well as the subtitle
property.
Note: If a mainItem
is specified, it will replace the subtitle label, and so the respective property will have no effect.
- See also
- Dialog
- MenuDialog
Example usage:
Text field prompt dialog:
Definition at line 68 of file PromptDialog.qml.
Property Documentation
◆ contentBottomPadding
|
read |
The bottom padding of the content, within the scroll area.
Definition at line 90 of file PromptDialog.qml.
◆ contentLeftPadding
|
read |
The left padding of the content, within the scroll area.
Definition at line 94 of file PromptDialog.qml.
◆ contentPadding
|
read |
The padding around the content, within the scroll area.
Default is Kirigami.Units.largeSpacing
.
Definition at line 82 of file PromptDialog.qml.
◆ contentRightPadding
|
read |
The right padding of the content, within the scroll area.
Definition at line 98 of file PromptDialog.qml.
◆ contentTopPadding
|
read |
The top padding of the content, within the scroll area.
Definition at line 86 of file PromptDialog.qml.
◆ mainItem
|
read |
- Remarks
- This is the default property
Definition at line 72 of file PromptDialog.qml.
◆ subtitle
|
read |
The text to use in the dialog's contents.
Definition at line 76 of file PromptDialog.qml.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 3 2024 11:49:34 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.