TableModelColumn QML Type

Stellt eine Spalte in einem Modell dar. Mehr...

Import Statement: import Qt.labs.qmlmodels

Detaillierte Beschreibung

Unterstützte Rollen

TableModelColumn unterstützt alle von Qt's roles, mit Ausnahme von Qt::InitialSortOrderRole. Auf die Rollen kann wie unten aufgeführt zugegriffen werden, z. B.

text: display

required property string display
Qt::DisplayRoleAnzeige
Qt::DecorationRoleDekoration
Qt::EditRolebearbeiten
Qt::ToolTipRoletoolTip
Qt::StatusTipRolestatusTip
Qt::WhatsThisRolewhatsThis
Qt::FontRoleSchriftart
Qt::TextAlignmentRoletextAusrichtung
Qt::BackgroundRoleHintergrund
Qt::ForegroundRoleforeground
Qt::CheckStateRolecheckState
Qt::AccessibleTextRolezugänglicherText
Qt::AccessibleDescriptionRoleaccessibleDescription
Qt::SizeHintRolesizeHintRoleNam

Siehe auch TableModel und TableView.

© 2025 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.