diff options
author | Tomasz Olszak <olszak.tomasz@gmail.com> | 2013-11-28 22:56:02 +0100 |
---|---|---|
committer | Tomasz Olszak <olszak.tomasz@gmail.com> | 2013-12-02 22:06:56 +0100 |
commit | 8e1b31d3efbbbbca9d8ef893c9537b76d29730fd (patch) | |
tree | 540a164004fd40c20fe18b97dc8ceab6ce2c58c7 | |
parent | 6b2f532e42008ae7929a8fe996f2ae614bdd3508 (diff) | |
download | qtquickcontrols-tizen-8e1b31d3efbbbbca9d8ef893c9537b76d29730fd.tar.gz qtquickcontrols-tizen-8e1b31d3efbbbbca9d8ef893c9537b76d29730fd.tar.bz2 qtquickcontrols-tizen-8e1b31d3efbbbbca9d8ef893c9537b76d29730fd.zip |
Examples updated, default geometry set by WM.
Change-Id: Ifcfb100f8236195588c1705884a563c10a8aca72
Reviewed-by: Leon Anavi <leon@anavi.org>
Reviewed-by: Tomasz Olszak <olszak.tomasz@gmail.com>
-rw-r--r-- | examples/helloworld/main.qml | 3 | ||||
-rw-r--r-- | examples/sensor-checker/main.qml | 4 | ||||
-rw-r--r-- | examples/touch/main.qml | 7 |
3 files changed, 5 insertions, 9 deletions
diff --git a/examples/helloworld/main.qml b/examples/helloworld/main.qml index 414ca43..7536965 100644 --- a/examples/helloworld/main.qml +++ b/examples/helloworld/main.qml @@ -45,9 +45,6 @@ import QtQuick.Window 2.0 ApplicationWindow { id: appWindow - y: 60 - width: 720 - height: 1220 View { id: content diff --git a/examples/sensor-checker/main.qml b/examples/sensor-checker/main.qml index 80031bc..11abce6 100644 --- a/examples/sensor-checker/main.qml +++ b/examples/sensor-checker/main.qml @@ -48,9 +48,7 @@ import "content" ApplicationWindow { id: appWindow - y: 60 - width: 720 - height: 1220 + property real curlValue: 0.05 Accelerometer { diff --git a/examples/touch/main.qml b/examples/touch/main.qml index d66a9db..8be4bea 100644 --- a/examples/touch/main.qml +++ b/examples/touch/main.qml @@ -46,11 +46,12 @@ import "content" ApplicationWindow { id: appWindow - y: isPortrait ? 60 : 0 - width: 720 - height: isPortrait? 1220 : 1280 + property real curlValue: 0.05 property bool isPortrait: contentOrientation === Qt.PortraitOrientation || contentOrientation === Qt.InvertedPortraitOrientation + property rect keyboardRectangle: Qt.inputMethod.keyboardRectangle + + onKeyboardRectangleChanged: console.log("keyboardRectangle:", keyboardRectangle) contentOrientation: Screen.orientation property bool pageCurlEffectEnabled: false |