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::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.