TableViewColumn
Used to define columns in a TableView. More...
Inherits QtObject
This type was introduced in QtQuick.Controls 1.0.
Properties
- delegate : Component
- elideMode : enumeration
- horizontalAlignment : enumeration
- role : string
- title : string
- visible : bool
- width : int
Detailed Description
Property Documentation
delegate : Component |
The delegate of the column. This can be used to set the TableView::itemDelegate for a specific column.
elideMode : enumeration |
The text elide mode of the column. Allowed values are:
- Text.ElideNone
- Text.ElideLeft
- Text.ElideMiddle
- Text.ElideRight - the default
See also Text::elide.
horizontalAlignment : enumeration |
The horizontal text alignment of the column. Allowed values are:
- Text.AlignLeft - the default
- Text.AligntRight
- Text.AlignHCenter
- Text.AlignJustify
See also Text::horizontalAlignment.
role : string |
The model role of the column.
title : string |
The title text of the column.
visible : bool |
The visible status of the column.
width : int |
The current width of the column The default value depends on platform. If only one column is defined, the width expands to the viewport.