summaryrefslogtreecommitdiffstats
path: root/src/controls/Styles/Base/TreeViewStyle.qml
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>2015-04-16 16:00:33 +0200
committerGabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>2015-04-20 10:01:48 +0000
commit734cef951b9f93a930c02dcfecd03d51b17c41f9 (patch)
treee38728c2c0262762515351906457da8bc5106c4b /src/controls/Styles/Base/TreeViewStyle.qml
parent58f9d467c22f7333f8a4e9f726655882c9c331a0 (diff)
Doc: Refactor TableViewStyle, TreeViewStyle
Change-Id: I9099073bc4095d6060162689ca17c4999124f254 Reviewed-by: Caroline Chao <caroline.chao@theqtcompany.com>
Diffstat (limited to 'src/controls/Styles/Base/TreeViewStyle.qml')
-rw-r--r--src/controls/Styles/Base/TreeViewStyle.qml30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/controls/Styles/Base/TreeViewStyle.qml b/src/controls/Styles/Base/TreeViewStyle.qml
index 16b7b862d..b8f03f65c 100644
--- a/src/controls/Styles/Base/TreeViewStyle.qml
+++ b/src/controls/Styles/Base/TreeViewStyle.qml
@@ -38,43 +38,13 @@ import QtQuick 2.5
import QtQuick.Controls 1.4
import QtQuick.Controls.Private 1.0
-/*!
- \qmltype TreeViewStyle
- \inqmlmodule QtQuick.Controls.Styles
- \since 5.5
- \ingroup viewsstyling
- \brief Provides custom styling for TreeView
-*/
BasicTableViewStyle {
id: root
- /*! The \l TreeView this style is attached to. */
readonly property TreeView control: __control
- /*!
- The amount each level is indented relatively to its parent level.
- */
property int indentation: 12
- // TODO - to update
- /*! \qmlproperty Component TreeViewStyle::branchDelegate
-
- This property defines a delegate to draw the branch indicator.
-
- In the branch delegate you have access to the following special properties:
- \list
- \li styleData.row - the index of the view row
- \li styleData.column - the index of the view column. Will always be 0
- \li styleData.selected - if the item is currently selected
- \li styleData.textColor - the default text color for an item
- \li styleData.index - the QModelIndex of the current item in the model
- \li styleData.depth - the depth of the current item in the tree model
- \li styleData.isExpanded - true when the item is expanded
- \li styleData.hasChildren - true if the model index of the current item has children
- \li styleData.hasSibling - true if the model index of the current item has sibling
- \endlist
- */
-
property Component branchDelegate: Item {
width: 16
height: 16