From 690af005c131a1179bf36f64b7cba752db819842 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomi=20Korpip=C3=A4=C3=A4?= Date: Thu, 10 Oct 2013 09:43:08 +0300 Subject: Mac snapshot and fixed to qmlscatter example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I8d03e81e2ab7b5cf1c894e568c57f3c64f96b07d Reviewed-by: Tomi Korpipää --- .../qmlscatter/doc/images/qmlscatter-example.png | Bin 121892 -> 190076 bytes examples/qmlscatter/doc/src/qmlscatter.qdoc | 2 +- examples/qmlscatter/main.cpp | 2 +- examples/qmlscatter/qml/qmlscatter/main.qml | 1 + examples/qmlsurface/qml/qmlsurface/main.qml | 2 +- 5 files changed, 4 insertions(+), 3 deletions(-) diff --git a/examples/qmlscatter/doc/images/qmlscatter-example.png b/examples/qmlscatter/doc/images/qmlscatter-example.png index 07efff7d..039c1efc 100644 Binary files a/examples/qmlscatter/doc/images/qmlscatter-example.png and b/examples/qmlscatter/doc/images/qmlscatter-example.png differ diff --git a/examples/qmlscatter/doc/src/qmlscatter.qdoc b/examples/qmlscatter/doc/src/qmlscatter.qdoc index 4306ee61..c0d207d8 100644 --- a/examples/qmlscatter/doc/src/qmlscatter.qdoc +++ b/examples/qmlscatter/doc/src/qmlscatter.qdoc @@ -43,7 +43,7 @@ \snippet ../examples/qmlscatter/main.cpp 0 This will help us when deploying the application to Android. We'll also change the application - to be shown fullscreen by replacing + to be shown maximized by replacing \code viewer.showExpanded(); \endcode diff --git a/examples/qmlscatter/main.cpp b/examples/qmlscatter/main.cpp index d339924b..e04ceab5 100644 --- a/examples/qmlscatter/main.cpp +++ b/examples/qmlscatter/main.cpp @@ -42,7 +42,7 @@ int main(int argc, char *argv[]) //! [0] viewer.setResizeMode(QQuickView::SizeRootObjectToView); //! [1] - viewer.showFullScreen(); + viewer.showMaximized(); //! [1] return app.exec(); diff --git a/examples/qmlscatter/qml/qmlscatter/main.qml b/examples/qmlscatter/qml/qmlscatter/main.qml index 8384625f..c8aebcc7 100644 --- a/examples/qmlscatter/qml/qmlscatter/main.qml +++ b/examples/qmlscatter/qml/qmlscatter/main.qml @@ -40,6 +40,7 @@ Item { id: dataView anchors.bottom: parent.bottom //! [9] + width: parent.width height: parent.height - shadowToggle.height //! [8] diff --git a/examples/qmlsurface/qml/qmlsurface/main.qml b/examples/qmlsurface/qml/qmlsurface/main.qml index 222879c6..f66e623b 100644 --- a/examples/qmlsurface/qml/qmlsurface/main.qml +++ b/examples/qmlsurface/qml/qmlsurface/main.qml @@ -54,7 +54,7 @@ Item { surfaceGridEnabled: false font.family: "STCaiyun" font.pointSize: 35 - cameraPreset: Surface3D.CameraPresetIsometricLeft + scene.activeCamera.cameraPreset: Surface3D.CameraPresetIsometricLeft dataProxy: surfaceData.heightProxy axisY.min: 0.0 axisY.max: 250.0 -- cgit v1.2.3