From 34310ed69919f452dbcdae42f350254a40a06113 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Tue, 2 Apr 2019 17:32:59 +0300 Subject: Split demos.xml to individual xml files Each demo describes itself and can then be excluded from a device by not including the directory. Task-number: QTBUG-74930 Change-Id: Ica45db9dfbf1224cf7a08b83632ba90c5cc55faa Reviewed-by: Kari Oikarinen --- basicsuite/about-b2qt/demo.xml | 7 ++ basicsuite/advancedcustommaterial/demo.xml | 9 ++ basicsuite/camera/demo.xml | 9 ++ basicsuite/canvas3d-planets/demo.xml | 7 ++ basicsuite/demos.xml | 122 ----------------------- basicsuite/ebike-ui/demo.xml | 9 ++ basicsuite/enterprise-charts/demo.xml | 9 ++ basicsuite/enterprise-dashboard/demo.xml | 7 ++ basicsuite/enterprise-flat-controls/demo.xml | 7 ++ basicsuite/enterprise-qtdatavis3d/demo.xml | 7 ++ basicsuite/graphicaleffects/demo.xml | 9 ++ basicsuite/mediaplayer/demo.xml | 9 ++ basicsuite/qt5-cinematicdemo/demo.xml | 9 ++ basicsuite/qtquickcontrols2/demo.xml | 9 ++ basicsuite/qtquickcontrols2/qtquickcontrols2.pro | 1 - basicsuite/qtwebbrowser/demo.xml | 9 ++ basicsuite/shared/shared.pri | 4 +- basicsuite/textinput/demo.xml | 9 ++ 18 files changed, 128 insertions(+), 124 deletions(-) create mode 100644 basicsuite/about-b2qt/demo.xml create mode 100644 basicsuite/advancedcustommaterial/demo.xml create mode 100644 basicsuite/camera/demo.xml create mode 100644 basicsuite/canvas3d-planets/demo.xml delete mode 100644 basicsuite/demos.xml create mode 100644 basicsuite/ebike-ui/demo.xml create mode 100644 basicsuite/enterprise-charts/demo.xml create mode 100644 basicsuite/enterprise-dashboard/demo.xml create mode 100644 basicsuite/enterprise-flat-controls/demo.xml create mode 100644 basicsuite/enterprise-qtdatavis3d/demo.xml create mode 100644 basicsuite/graphicaleffects/demo.xml create mode 100644 basicsuite/mediaplayer/demo.xml create mode 100644 basicsuite/qt5-cinematicdemo/demo.xml create mode 100644 basicsuite/qtquickcontrols2/demo.xml create mode 100644 basicsuite/qtwebbrowser/demo.xml create mode 100644 basicsuite/textinput/demo.xml (limited to 'basicsuite') diff --git a/basicsuite/about-b2qt/demo.xml b/basicsuite/about-b2qt/demo.xml new file mode 100644 index 0000000..193022f --- /dev/null +++ b/basicsuite/about-b2qt/demo.xml @@ -0,0 +1,7 @@ + + + + +Provides an introduction to what Qt for Device Creation is all about. + + diff --git a/basicsuite/advancedcustommaterial/demo.xml b/basicsuite/advancedcustommaterial/demo.xml new file mode 100644 index 0000000..ce9abef --- /dev/null +++ b/basicsuite/advancedcustommaterial/demo.xml @@ -0,0 +1,9 @@ + + + + +This example demonstrates advanced materials in Qt3D. + +Demo shows complex shaders and demonstrates controlling your shader properties with QtQuick user interface and Animation. Water is a 3D mesh, that is modeled and uv mapped inside Blender, and then brought into Scene 3D as an .obj file. + + diff --git a/basicsuite/camera/demo.xml b/basicsuite/camera/demo.xml new file mode 100644 index 0000000..cf30096 --- /dev/null +++ b/basicsuite/camera/demo.xml @@ -0,0 +1,9 @@ + + + + +This example demonstrates the use of the camera features of Qt Multimedia with Qt Quick. + +Demo can be used to take photos which are saved in the /data/images/ directory. Camera parameters such as flash mode, scene mode or white balance can be changed. The availability of parameters depends on what the camera driver provides. + + diff --git a/basicsuite/canvas3d-planets/demo.xml b/basicsuite/canvas3d-planets/demo.xml new file mode 100644 index 0000000..2fd205a --- /dev/null +++ b/basicsuite/canvas3d-planets/demo.xml @@ -0,0 +1,7 @@ + + + + +The Planets example showcases Qt Canvas 3D. This demo combines WebGL code and three.js with QML and Qt Quick Controls. + + diff --git a/basicsuite/demos.xml b/basicsuite/demos.xml deleted file mode 100644 index 938fdef..0000000 --- a/basicsuite/demos.xml +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - - -This demo presents different types of charts that are available from Qt Charts library. - -Qt Charts is part of the Qt Enterprise addons package which provides a set of easy to use chart components. It uses the Qt Graphics View Framework, therefore charts can be easily integrated to modern user interfaces. Qt Charts can be used as QWidgets, QGraphicsWidget, or QML types. - - - - - - - -This example shows the Qt Quick ShaderEffect type and the Qt Graphical Effects module. Qt Quick provides the ability to use inline GLSL in your Qt Quick applications to create stunning visual effects. - -However, as UIs typically reuse many of the same effects, the Qt Graphical Effects module provides a set of predefined, commonly used effects. This includes blur, drop-shadows, glow, blending, opacity masks, and more. - - - - - -The Media Player example demonstrates the use of media playback features provided by Qt Multimedia with Qt Quick. - -It can play content either from a file or a network source, both videos and music. - - - - - - - -This example demonstrates the use of Qt WebEngine with Qt Quick. - -Demo can be used to browse the internet (working network connection required) or run the offline web page demos. - - - - - -This example illustrates how to handle input on touch devices. - -Qt for Device Creation comes with Qt Virtual Keyboard - a framework that consists of a C++ backend with support for custom input methods, as well as a reference keyboard front end implemented in QML, supporting multiple languages. - - - - - -An E-bike instrument cluster concept designed and implemented by Qt. - -The entire concept is a testament that Qt brings the HMI designers and Software engineers together by using the same tools, allowing them to fast prototyping through collaborative workflow. In addition to that, Qt is optimized for running on low end SoC even the ones that don't have GPU acceleration for graphics. - - - - - -The gallery example is a simple application with a drawer menu that contains all the Qt Quick Controls 2. - -Each menu item opens a page that shows the graphical appearance of a control, allows you to interact with the control, and explains in which circumstances it is handy to use this control. - - - - - - diff --git a/basicsuite/ebike-ui/demo.xml b/basicsuite/ebike-ui/demo.xml new file mode 100644 index 0000000..884a65c --- /dev/null +++ b/basicsuite/ebike-ui/demo.xml @@ -0,0 +1,9 @@ + + + + +An E-bike instrument cluster concept designed and implemented by Qt. + +The entire concept is a testament that Qt brings the HMI designers and Software engineers together by using the same tools, allowing them to fast prototyping through collaborative workflow. In addition to that, Qt is optimized for running on low end SoC even the ones that don't have GPU acceleration for graphics. + + diff --git a/basicsuite/enterprise-charts/demo.xml b/basicsuite/enterprise-charts/demo.xml new file mode 100644 index 0000000..938e13c --- /dev/null +++ b/basicsuite/enterprise-charts/demo.xml @@ -0,0 +1,9 @@ + + + + +This demo presents different types of charts that are available from Qt Charts library. + +Qt Charts is part of the Qt Enterprise addons package which provides a set of easy to use chart components. It uses the Qt Graphics View Framework, therefore charts can be easily integrated to modern user interfaces. Qt Charts can be used as QWidgets, QGraphicsWidget, or QML types. + + diff --git a/basicsuite/enterprise-dashboard/demo.xml b/basicsuite/enterprise-dashboard/demo.xml new file mode 100644 index 0000000..b8afaed --- /dev/null +++ b/basicsuite/enterprise-dashboard/demo.xml @@ -0,0 +1,7 @@ + + + + +The dashboard demo uses Qt Quick Extras to create a digital dashboard for a car. + + diff --git a/basicsuite/enterprise-flat-controls/demo.xml b/basicsuite/enterprise-flat-controls/demo.xml new file mode 100644 index 0000000..861d1e8 --- /dev/null +++ b/basicsuite/enterprise-flat-controls/demo.xml @@ -0,0 +1,7 @@ + + + + +The Flat Style Gallery example showcases the Qt Quick Controls. This demo combines both the standard Qt Quick Controls as well as the Qt Quick Extras both of which are using the new Flat style. The Flat style for Qt Quick Controls has a modern look and feel and is perfect for the touch driven interfaces commonly developed by device creators. + + diff --git a/basicsuite/enterprise-qtdatavis3d/demo.xml b/basicsuite/enterprise-qtdatavis3d/demo.xml new file mode 100644 index 0000000..df6102b --- /dev/null +++ b/basicsuite/enterprise-qtdatavis3d/demo.xml @@ -0,0 +1,7 @@ + + + + +Shows how to make a 3D surface plot, displaying three layers from three different height map images using Surface3D with Qt Quick. + + diff --git a/basicsuite/graphicaleffects/demo.xml b/basicsuite/graphicaleffects/demo.xml new file mode 100644 index 0000000..07d4fe4 --- /dev/null +++ b/basicsuite/graphicaleffects/demo.xml @@ -0,0 +1,9 @@ + + + + +This example shows the Qt Quick ShaderEffect type and the Qt Graphical Effects module. Qt Quick provides the ability to use inline GLSL in your Qt Quick applications to create stunning visual effects. + +However, as UIs typically reuse many of the same effects, the Qt Graphical Effects module provides a set of predefined, commonly used effects. This includes blur, drop-shadows, glow, blending, opacity masks, and more. + + diff --git a/basicsuite/mediaplayer/demo.xml b/basicsuite/mediaplayer/demo.xml new file mode 100644 index 0000000..dd5cf2b --- /dev/null +++ b/basicsuite/mediaplayer/demo.xml @@ -0,0 +1,9 @@ + + + + +The Media Player example demonstrates the use of media playback features provided by Qt Multimedia with Qt Quick. + +It can play content either from a file or a network source, both videos and music. + + diff --git a/basicsuite/qt5-cinematicdemo/demo.xml b/basicsuite/qt5-cinematicdemo/demo.xml new file mode 100644 index 0000000..2886b75 --- /dev/null +++ b/basicsuite/qt5-cinematicdemo/demo.xml @@ -0,0 +1,9 @@ + + + + +The Qt 5 Cinematic Experience is a demo by "QUIt Coding". + +The demo shows off a number features of Qt Quick. A nicely styled list control of movie covers with lighting effects, particles and transitions. The information roll-down curvy curtain is implemented using inline GLSL in the QML file. The source code for this demo and more awesome looking Qt Quick examples are available from quitcoding.com. + + diff --git a/basicsuite/qtquickcontrols2/demo.xml b/basicsuite/qtquickcontrols2/demo.xml new file mode 100644 index 0000000..4d3b8b6 --- /dev/null +++ b/basicsuite/qtquickcontrols2/demo.xml @@ -0,0 +1,9 @@ + + + + +The gallery example is a simple application with a drawer menu that contains all the Qt Quick Controls 2. + +Each menu item opens a page that shows the graphical appearance of a control, allows you to interact with the control, and explains in which circumstances it is handy to use this control. + + diff --git a/basicsuite/qtquickcontrols2/qtquickcontrols2.pro b/basicsuite/qtquickcontrols2/qtquickcontrols2.pro index 1d3eac1..a0ecaf5 100644 --- a/basicsuite/qtquickcontrols2/qtquickcontrols2.pro +++ b/basicsuite/qtquickcontrols2/qtquickcontrols2.pro @@ -4,7 +4,6 @@ include(../shared/shared.pri) b2qtdemo_deploy_defaults() content.files = \ - $$PWD/preview_l.jpg \ $$PWD/main.qml \ $$PWD/qtquickcontrols2.conf \ $$PWD/images \ diff --git a/basicsuite/qtwebbrowser/demo.xml b/basicsuite/qtwebbrowser/demo.xml new file mode 100644 index 0000000..020afa7 --- /dev/null +++ b/basicsuite/qtwebbrowser/demo.xml @@ -0,0 +1,9 @@ + + + + +This example demonstrates the use of Qt WebEngine with Qt Quick. + +Demo can be used to browse the internet (working network connection required) or run the offline web page demos. + + diff --git a/basicsuite/shared/shared.pri b/basicsuite/shared/shared.pri index 50772d0..9277275 100644 --- a/basicsuite/shared/shared.pri +++ b/basicsuite/shared/shared.pri @@ -16,7 +16,9 @@ HEADERS += $$PWD/engine.h defineTest(b2qtdemo_deploy_defaults) { commonFiles.files = \ - ../shared/SharedMain.qml + ../shared/SharedMain.qml \ + preview_l.jpg \ + demo.xml commonFiles.path = $$DESTPATH OTHER_FILES += $${commonFiles.files} INSTALLS += commonFiles diff --git a/basicsuite/textinput/demo.xml b/basicsuite/textinput/demo.xml new file mode 100644 index 0000000..fadfc67 --- /dev/null +++ b/basicsuite/textinput/demo.xml @@ -0,0 +1,9 @@ + + + + +This example illustrates how to handle input on touch devices. + +Qt for Device Creation comes with Qt Virtual Keyboard - a framework that consists of a C++ backend with support for custom input methods, as well as a reference keyboard front end implemented in QML, supporting multiple languages. + + -- cgit v1.2.3