C

TumblerColumn QML Type

A column within a tumbler. More...

Import Statement: import QtQuick.Enterprise.Controls 1.3
Since: QtQuick.Enterprise.Controls 1.2
Inherits:

QtObject

Properties

Detailed Description

Note: TumblerColumn requires Qt 5.3.2 or later.

TumblerColumn represents a column within a tumbler, providing the interface to define the items and width of each column.

Tumbler {
    TumblerColumn {
        model: [1, 2, 3]
    }

    TumblerColumn {
        model: ["A", "B", "C"]
        visible: false
    }
}

You can create a custom appearance for a Tumbler by assigning a TumblerStyle.

Property Documentation

read-onlyactiveFocus : bool

This read-only property indicates whether the item has active focus.

See Item's activeFocus property for more information.


columnForeground : Component

The foreground of this column.

If set, this component will be used to display the foreground in this column, instead of the columnForeground property in TumblerStyle.


read-onlycurrentIndex : alias

This read-only property holds the index of the current item for this column. If the model count is reduced, the current index will be reduced to the new count minus one.

See also Tumbler::currentIndexAt and Tumbler::setCurrentIndexAt.


delegate : Component

The item delegate for this column.

If set, this delegate will be used to display items in this column, instead of the delegate property in TumblerStyle.

The implicitHeight property must be set, and it must be the same for each delegate.


highlight : Component

The highlight delegate for this column.

If set, this highlight will be used to display the highlight in this column, instead of the highlight property in TumblerStyle.


read-onlyint : readonly

This read-only property holds the index of the current item for this column. If the model count is reduced, the current index will be reduced to the new count minus one.

See also Tumbler::currentIndexAt and Tumbler::setCurrentIndexAt.


model : var

This property holds the model that provides data for this column.


role : string

This property holds the model role of this column.


visible : bool

This property holds the visibility of this column.


width : real

This property holds the width of this column.


Available under certain Qt licenses.
Find out more.