diff options
author | J-P Nurmi <jpnurmi@digia.com> | 2013-05-27 18:43:37 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-05-27 19:38:23 +0200 |
commit | 2f2933a2975d86bfb33e2250a03b2414fc207a09 (patch) | |
tree | 49ada6db0af6755a0a2fb879807303707376b25c /examples | |
parent | e0c8035c3db5c3c68602a90a5addbb2d48c0733f (diff) | |
download | qtquickcontrols-2f2933a2975d86bfb33e2250a03b2414fc207a09.tar.gz |
TabViewStyle: rename 'tab' grouped property to 'styleData'
Change-Id: If56b5ca4af119d7897425609dcaf04336f77e032
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/quick/controls/gallery/content/Styles.qml | 4 | ||||
-rw-r--r-- | examples/quick/controls/touch/content/TabBarPage.qml | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/quick/controls/gallery/content/Styles.qml b/examples/quick/controls/gallery/content/Styles.qml index b5e98f80..a65f3024 100644 --- a/examples/quick/controls/gallery/content/Styles.qml +++ b/examples/quick/controls/gallery/content/Styles.qml @@ -258,13 +258,13 @@ Item { BorderImage { id: image anchors.fill: parent - source: tab.selected ? "../images/tab_selected.png" : "../images/tab.png" + source: styleData.selected ? "../images/tab_selected.png" : "../images/tab.png" border.left: 50 smooth: false border.right: 50 } Text { - text: tab.title + text: styleData.title anchors.centerIn: parent } } diff --git a/examples/quick/controls/touch/content/TabBarPage.qml b/examples/quick/controls/touch/content/TabBarPage.qml index c96314be..7651a3c1 100644 --- a/examples/quick/controls/touch/content/TabBarPage.qml +++ b/examples/quick/controls/touch/content/TabBarPage.qml @@ -80,11 +80,11 @@ Item { anchors.fill: parent border.bottom: 8 border.top: 8 - source: tab.selected ? "../images/tab_selected.png":"../images/tabs_standard.png" + source: styleData.selected ? "../images/tab_selected.png":"../images/tabs_standard.png" Text { anchors.centerIn: parent color: "white" - text: tab.title.toUpperCase() + text: styleData.title.toUpperCase() font.pixelSize: 16 } Rectangle { |