org::kde::kirigami::ContextDrawer

Properties | |
var | actions |
alias | footer |
alias | header |
Page | page |
string | title |
![]() | |
QtObject | __internal |
bool | animating |
bool | collapsed |
int | collapsedSize |
bool | collapsible |
bool | drawerOpen |
Item | handle |
string | handleClosedToolTip |
string | handleOpenToolTip |
bool | handleVisible |
P | IconPropertiesGroup |
bool | peeking |
Detailed Description
A specialized type of drawer that will show a list of actions relevant to the application's current page.
Example usage:
Definition at line 54 of file ContextDrawer.qml.
Property Documentation
◆ actions
|
read |
This can be any type of object that a ListView can accept as model.
It expects items compatible with either QtQuick.Action or Kirigami.Action
- See also
- QtQuick.Action
- org::kde::kirigami::Action
Definition at line 72 of file ContextDrawer.qml.
◆ footer
|
read |
Arbitrary content to show below the list view.
- Since
- 2.7
Definition at line 88 of file ContextDrawer.qml.
◆ header
|
read |
Arbitrary content to show above the list view.
default: an Item containing a Kirigami.Heading that displays a title whose text is controlled by the title property.
- Since
- 2.7
Definition at line 82 of file ContextDrawer.qml.
◆ title
|
read |
A title for the action list that will be shown to the user when opens the drawer.
default: qsTr("Actions")
Definition at line 63 of file ContextDrawer.qml.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2023 The KDE developers.
Generated on Wed Jun 7 2023 04:06:44 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.