SplitViewItem
Properties | |
bool | compact |
alias | content |
int | minimumHeight |
int | minimumWidth |
int | splitIndex |
Public Member Functions | |
void | focusSplitItem () |
Detailed Description
An item to be used as a view container for the MauiKit SplitView.
This controls inherits from QQC2 Pane, to checkout its inherited properties refer to the Qt Docs. This is the preferred control to use when adding a new view into the SplitView, since it follows the Maui Style HIG.
- See also
- SplitView
- Note
- When this element is being resized by the SplitView handle, and reaches the minimum width, an action to close the view is then suggested and triggered if the pressed event of the handle is released at that minimum width.
Definition at line 19 of file SplitViewItem.qml.
Property Documentation
◆ compact
|
read |
Whether the style of this view will be more compact.
A compact style has not border corners or styling. While a non-compact mode means there is more than on view in the parent SplitView and the views will have rounded corners. This is true
for mobile devices and one there is a single item in the SplitView.
- Remarks
- This property is read-only
Definition at line 50 of file SplitViewItem.qml.
◆ content
|
read |
By default the children content of this item needs to be positioned manually.
- Remarks
- This is the default property
Definition at line 28 of file SplitViewItem.qml.
◆ minimumHeight
|
read |
The minimum height of this view when resizing the SplitView.
By default this is set to a fixed value of 100
.
Definition at line 43 of file SplitViewItem.qml.
◆ minimumWidth
|
read |
The minimum width of this view when resizing the SplitView.
By default this is set to a fixed value of 200
.
Definition at line 38 of file SplitViewItem.qml.
◆ splitIndex
|
read |
The index of this view in the SplitView control.
- Remarks
- This property is read-only
Definition at line 33 of file SplitViewItem.qml.
Member Function Documentation
◆ focusSplitItem()
void SplitViewItem::focusSplitItem | ( | ) |
Forces to focus this item in the SplitView, and marks it as the current view.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 17 2024 11:56:16 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.