diff options
| author | J-P Nurmi <jpnurmi@digia.com> | 2013-02-22 17:25:25 +0100 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-20 13:04:00 +0100 |
| commit | c0df0b6fc002acd22f40284f8ca5377ae96fa1ce (patch) | |
| tree | 65809c103291c104d49fa1ca99375eaf1ccfccff /examples | |
| parent | beeb0840b745a29895ee4e9aeac0b07f63998c69 (diff) | |
Remove the Page control - use attached properties instead
Change-Id: I69599daeea4ba49689fbbbe58c5d4a60fccc8824
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/touch/content/ButtonPage.qml | 4 | ||||
| -rw-r--r-- | examples/touch/content/ProgressBarPage.qml | 4 | ||||
| -rw-r--r-- | examples/touch/content/SliderPage.qml | 5 | ||||
| -rw-r--r-- | examples/touch/content/TabBarPage.qml | 4 | ||||
| -rw-r--r-- | examples/touch/content/TextInputPage.qml | 4 | ||||
| -rw-r--r-- | examples/touch/main.qml | 4 |
6 files changed, 19 insertions, 6 deletions
diff --git a/examples/touch/content/ButtonPage.qml b/examples/touch/content/ButtonPage.qml index ff86c8140..cc5925ce0 100644 --- a/examples/touch/content/ButtonPage.qml +++ b/examples/touch/content/ButtonPage.qml @@ -46,7 +46,9 @@ import QtQuick 2.1 import QtQuick.Controls 1.0 import QtQuick.Controls.Styles 1.0 -Page { +Item { + width: parent.width + height: parent.height property real progress: 0 SequentialAnimation on progress { diff --git a/examples/touch/content/ProgressBarPage.qml b/examples/touch/content/ProgressBarPage.qml index abbf78fc7..86a46b69b 100644 --- a/examples/touch/content/ProgressBarPage.qml +++ b/examples/touch/content/ProgressBarPage.qml @@ -46,7 +46,9 @@ import QtQuick 2.1 import QtQuick.Controls 1.0 import QtQuick.Controls.Styles 1.0 -Page { +Item { + width: parent.width + height: parent.height property real progress: 0 SequentialAnimation on progress { diff --git a/examples/touch/content/SliderPage.qml b/examples/touch/content/SliderPage.qml index d90a3c2cd..8d9ff0b1f 100644 --- a/examples/touch/content/SliderPage.qml +++ b/examples/touch/content/SliderPage.qml @@ -46,7 +46,10 @@ import QtQuick 2.1 import QtQuick.Controls 1.0 import QtQuick.Controls.Styles 1.0 -Page { +Item { + width: parent.width + height: parent.height + Column { spacing: 12 anchors.centerIn: parent diff --git a/examples/touch/content/TabBarPage.qml b/examples/touch/content/TabBarPage.qml index 0a47308b6..41de78220 100644 --- a/examples/touch/content/TabBarPage.qml +++ b/examples/touch/content/TabBarPage.qml @@ -46,7 +46,9 @@ import QtQuick 2.1 import QtQuick.Controls 1.0 import QtQuick.Controls.Styles 1.0 -Page { +Item { + width: parent.width + height: parent.height TabView { anchors.fill: parent diff --git a/examples/touch/content/TextInputPage.qml b/examples/touch/content/TextInputPage.qml index e363648b8..3f408d472 100644 --- a/examples/touch/content/TextInputPage.qml +++ b/examples/touch/content/TextInputPage.qml @@ -46,7 +46,9 @@ import QtQuick 2.1 import QtQuick.Controls 1.0 import QtQuick.Controls.Styles 1.0 -Page { +Item { + width: parent.width + height: parent.height property real progress: 0 SequentialAnimation on progress { diff --git a/examples/touch/main.qml b/examples/touch/main.qml index 3ce116f36..2546b7da1 100644 --- a/examples/touch/main.qml +++ b/examples/touch/main.qml @@ -133,7 +133,9 @@ ApplicationWindow { id: pageStack anchors.fill: parent - initialPage: Page { + initialPage: Item { + width: parent.width + height: parent.height ListView { model: pageModel anchors.fill: parent |
