diff options
author | J-P Nurmi <jpnurmi@digia.com> | 2013-08-06 17:43:56 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-08-06 17:55:35 +0200 |
commit | 8553e0007b8c1aeebb857b908e974bb512d70fda (patch) | |
tree | 06b37923c0e8258891d335acfc966578c8b98750 | |
parent | 0bf9c1c5b27009bae612cbef24e76e9e4ad60768 (diff) | |
download | qtquickcontrols-8553e0007b8c1aeebb857b908e974bb512d70fda.tar.gz |
Add missing styleData properties to TableViewColumn::delegate docs
Task-number: QTBUG-32503
Change-Id: Ic93fd95af650db0be000b0efb762e7483277147c
Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
-rw-r--r-- | src/controls/TableViewColumn.qml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/controls/TableViewColumn.qml b/src/controls/TableViewColumn.qml index f1abc553..d976c691 100644 --- a/src/controls/TableViewColumn.qml +++ b/src/controls/TableViewColumn.qml @@ -93,7 +93,19 @@ QtObject { property int horizontalAlignment: Text.AlignLeft /*! The delegate of the column. This can be used to set the - \l TableView::itemDelegate for a specific column. */ + \l TableView::itemDelegate for a specific column. + + In the delegate you have access to the following special properties: + \list + \li styleData.selected - if the item is currently selected + \li styleData.value - the value or text for this item + \li styleData.textColor - the default text color for an item + \li styleData.row - the index of the row + \li styleData.column - the index of the column + \li styleData.elideMode - the elide mode of the column + \li styleData.textAlignment - the horizontal text alignment of the column + \endlist + */ property Component delegate Accessible.role: Accessible.ColumnHeader |