AbstractHeaderComponent

Search for usage in LXR

AbstractHeaderComponent Class Reference
Inheritance diagram for 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

bool AbstractHeaderComponent::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

Component AbstractHeaderComponent::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

Component AbstractHeaderComponent::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

Component AbstractHeaderComponent::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

real AbstractHeaderComponent::minimumWidth
read

Stores the minimum allowed width of the entire column.

Definition at line 24 of file AbstractHeaderComponent.qml.

◆ resizable

bool AbstractHeaderComponent::resizable
read

The flag reflects the ability to change the original column size.

Definition at line 52 of file AbstractHeaderComponent.qml.

◆ role

int AbstractHeaderComponent::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

string AbstractHeaderComponent::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

string AbstractHeaderComponent::title
read

Column title.

Default used in default headerDelegate.

See also
headerDelegate

Definition at line 32 of file AbstractHeaderComponent.qml.

◆ visible

bool AbstractHeaderComponent::visible
read

The property is responsible for displaying the entire column in the table.

Definition at line 48 of file AbstractHeaderComponent.qml.

◆ width

real AbstractHeaderComponent::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:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:33:45 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.