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.
© 2024 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.