Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

TableModelColumn

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::DisplayRole display
Qt::DecorationRole decoration
Qt::EditRole edit
Qt::ToolTipRole toolTip
Qt::StatusTipRole statusTip
Qt::WhatsThisRole whatsThis
Qt::FontRole font
Qt::TextAlignmentRole textAlignment
Qt::BackgroundRole background
Qt::ForegroundRole foreground
Qt::CheckStateRole checkState
Qt::AccessibleTextRole accessibleText
Qt::AccessibleDescriptionRole accessibleDescription
Qt::SizeHintRole sizeHintRoleNam

See also TableModel and TableView.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded