TableModelColumn QML Type

Represents a column in a model. More...

Import Statement: import Qt.labs.qmlmodels

Detailed Description

Supported Roles

TableModelColumn supports all of Qt's roles, with the exception of Qt::InitialSortOrderRole. Roles can be accessed by as listed below, e.g.

 text: display

 required property string display
Qt::DisplayRoledisplay
Qt::DecorationRoledecoration
Qt::EditRoleedit
Qt::ToolTipRoletoolTip
Qt::StatusTipRolestatusTip
Qt::WhatsThisRolewhatsThis
Qt::FontRolefont
Qt::TextAlignmentRoletextAlignment
Qt::BackgroundRolebackground
Qt::ForegroundRoleforeground
Qt::CheckStateRolecheckState
Qt::AccessibleTextRoleaccessibleText
Qt::AccessibleDescriptionRoleaccessibleDescription
Qt::SizeHintRolesizeHintRoleNam

See also TableModel and TableView.