summaryrefslogtreecommitdiff
path: root/src/controls/TableViewColumn.qml
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@digia.com>2013-03-06 16:36:42 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-06 16:54:36 +0100
commit8a3e68ad8e4476cf28ac1a7fae257592adb1046a (patch)
tree0e6c94e7c09b07d697c72b387b65a18a2489b114 /src/controls/TableViewColumn.qml
parent644c913f9e8e3533ffa542a1fbfae752191b6ec9 (diff)
downloadqtquickcontrols-8a3e68ad8e4476cf28ac1a7fae257592adb1046a.tar.gz
Fix TableViewColumn docs
Change-Id: I99ba2617bcf5d9fddd34cf6b43def58cf5995ce1 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'src/controls/TableViewColumn.qml')
-rw-r--r--src/controls/TableViewColumn.qml21
1 files changed, 14 insertions, 7 deletions
diff --git a/src/controls/TableViewColumn.qml b/src/controls/TableViewColumn.qml
index 62d57d9d..3cfc3df6 100644
--- a/src/controls/TableViewColumn.qml
+++ b/src/controls/TableViewColumn.qml
@@ -55,28 +55,35 @@ QtObject {
property string role
/*! The current width of the column
- The default value depends on platform. */
+ The default value depends on platform. */
property int width: 160
/*! The horizontal offset of the column. */
property int x
- /*! The visible status of the column.*/
+ /*! The visible status of the column. */
property bool visible: true
/*! The text elide mode of the column.
Allowed values are:
\list
+ \li Text.ElideNone
+ \li Text.ElideLeft
+ \li Text.ElideMiddle
+ \li Text.ElideRight - the default
+ \endlist
+ \sa {QtQuick2::}{Text::elide} */
+ property int elideMode: Text.ElideRight
+
+ /*! The horizontal text alignment of the column.
+ Allowed values are:
+ \list
\li Text.AlignLeft - the default
\li Text.AligntRight
\li Text.AlignHCenter
\li Text.AlignJustify
\endlist
- \sa Text::elide */
- property int elideMode: Text.ElideRight
-
- /*! The text elide mode of the column.
- \sa Text::horizontalAlignment: */
+ \sa {QtQuick2::}{Text::horizontalAlignment} */
property int horizontalAlignment: Text.AlignLeft
/*! The delegate of the column. This can be used to set the