TableModelColumn QML Type

モデルのカラムを表します。詳細...

Import Statement: import Qt.labs.qmlmodels

詳細な説明

サポートされる役割

TableModelColumn はQt::InitialSortOrderRole を除き、Qt's roles の全てをサポートします。ロールは以下のようにアクセスすることができます。

text: display

required property string display
Qt::DisplayRole表示
Qt::DecorationRole装飾
Qt::EditRole編集
Qt::ToolTipRoleツールチップ
Qt::StatusTipRoleステータスチップ
Qt::WhatsThisRoleこの内容
Qt::FontRoleフォント
Qt::TextAlignmentRoleテキストアライメント
Qt::BackgroundRole背景
Qt::ForegroundRole前景
Qt::CheckStateRoleチェック状態
Qt::AccessibleTextRoleアクセシブルテキスト
Qt::AccessibleDescriptionRoleアクセス可能な説明
Qt::SizeHintRolesizeHintRoleNam

TableModel および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.