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 |
bool | enabled |
Item | handle |
IconPropertiesGroup | handleClosedIcon |
string | handleClosedToolTip |
IconPropertiesGroup | handleOpenIcon |
string | handleOpenToolTip |
bool | handleVisible |
bool | peeking |
Detailed Description
A drawer specialization that will show a list of actions that are specific of the current page shown by the application.
Example usage:
Definition at line 54 of file ContextDrawer.qml.
Property Documentation
◆ actions
|
read |
actions: list<Action> This can be any type of object that a ListView can accept as model.
It expects items compatible with either QAction or Kirigami Action
Definition at line 66 of file ContextDrawer.qml.
◆ footer
|
read |
footer: Component Arbitrary content that will go to the bottom of the list (by default is empty)
- Since
- 2.7
Definition at line 80 of file ContextDrawer.qml.
◆ header
|
read |
header: Component Arbitrary content that will go on top of the list (by default is the title)
- Since
- 2.7
Definition at line 74 of file ContextDrawer.qml.
◆ title
|
read |
title: string A title for the action list that will be shown to the user when opens the drawer
Definition at line 60 of file ContextDrawer.qml.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2022 The KDE developers.
Generated on Mon Jul 4 2022 04:09:39 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.