AbstractHeaderComponent
Properties | |
bool | draggable |
Component | headerDelegate |
Component | itemDelegate |
Component | leading |
real | minimumWidth |
bool | resizable |
int | role |
string | textRole |
string | title |
bool | visible |
real | width |
Detailed Description
Abstract header component.
Designed to form a set of properties that will be used in the implementation.
Definition at line 15 of file AbstractHeaderComponent.qml.
Property Documentation
◆ draggable
|
read |
The flag reflects the ability to move the current column to another place in the table.
Definition at line 56 of file AbstractHeaderComponent.qml.
◆ headerDelegate
|
read |
This property holds an item that will be displayed as the main component of the column.
It can be customized to put any kind of Item in there.
Definition at line 68 of file AbstractHeaderComponent.qml.
◆ itemDelegate
|
read |
The element that will be used as the base element to display in all delegates of this column.
It can be customized to put any kind of Item in there.
Definition at line 62 of file AbstractHeaderComponent.qml.
◆ leading
|
read |
This property holds an item that will be displayed to the left of the headerDelegate contents.
It can be customized to put any kind of Item in there.
- See also
- headerDelegate
Definition at line 77 of file AbstractHeaderComponent.qml.
◆ minimumWidth
|
read |
Stores the minimum allowed width of the entire column.
Definition at line 24 of file AbstractHeaderComponent.qml.
◆ resizable
|
read |
The flag reflects the ability to change the original column size.
Definition at line 52 of file AbstractHeaderComponent.qml.
◆ role
|
read |
The role value from the model for the current column.
By default, used to indicate the column by which the table is sorted.
Definition at line 44 of file AbstractHeaderComponent.qml.
◆ textRole
|
read |
The name of the role from the model for the current column.
Used to access the value that is stored in the model for that role.
Definition at line 38 of file AbstractHeaderComponent.qml.
◆ title
|
read |
Column title.
Default used in default headerDelegate.
- See also
- headerDelegate
Definition at line 32 of file AbstractHeaderComponent.qml.
◆ visible
|
read |
The property is responsible for displaying the entire column in the table.
Definition at line 48 of file AbstractHeaderComponent.qml.
◆ width
|
read |
Stores the current width of an entire table column.
Definition at line 20 of file AbstractHeaderComponent.qml.
The documentation for this class was generated from the following file:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:49:32 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.