diff options
Diffstat (limited to 'basicsuite/about-b2qt')
-rw-r--r-- | basicsuite/about-b2qt/AboutBoot2Qt.qml | 120 | ||||
-rw-r--r-- | basicsuite/about-b2qt/Box.qml | 70 | ||||
-rw-r--r-- | basicsuite/about-b2qt/ContentText.qml | 48 | ||||
-rw-r--r-- | basicsuite/about-b2qt/QtForAndroid.qml | 93 | ||||
-rw-r--r-- | basicsuite/about-b2qt/QtFramework.qml | 75 | ||||
-rw-r--r-- | basicsuite/about-b2qt/Title.qml | 48 | ||||
-rw-r--r-- | basicsuite/about-b2qt/about-b2qt.pro | 13 | ||||
-rw-r--r-- | basicsuite/about-b2qt/codeless.png | bin | 0 -> 28581 bytes | |||
-rw-r--r-- | basicsuite/about-b2qt/description.txt | 3 | ||||
-rw-r--r-- | basicsuite/about-b2qt/dummy.cpp | 0 | ||||
-rw-r--r-- | basicsuite/about-b2qt/main.qml | 175 | ||||
-rw-r--r-- | basicsuite/about-b2qt/particle.png | bin | 0 -> 861 bytes | |||
-rw-r--r-- | basicsuite/about-b2qt/preview_l.jpg | bin | 0 -> 28727 bytes | |||
-rw-r--r-- | basicsuite/about-b2qt/qt-logo.png | bin | 0 -> 21659 bytes | |||
-rw-r--r-- | basicsuite/about-b2qt/title.txt | 1 |
15 files changed, 646 insertions, 0 deletions
diff --git a/basicsuite/about-b2qt/AboutBoot2Qt.qml b/basicsuite/about-b2qt/AboutBoot2Qt.qml new file mode 100644 index 0000000..d050a71 --- /dev/null +++ b/basicsuite/about-b2qt/AboutBoot2Qt.qml @@ -0,0 +1,120 @@ +/**************************************************************************** +** +** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). +** Contact: For any questions to Digia, please use the contact form at +** http://qt.digia.com/ +** +** This file is part of the examples of the Qt Enterprise Embedded. +** +** $QT_BEGIN_LICENSE:BSD$ +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions are +** met: +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in +** the documentation and/or other materials provided with the +** distribution. +** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names +** of its contributors may be used to endorse or promote products derived +** from this software without specific prior written permission. +** +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +** +** $QT_END_LICENSE$ +** +****************************************************************************/ +import QtQuick 2.0 + +Column { + + id: root + + width: parent.width + + spacing: engine.smallFontSize() + + Title { + id: title + text: "Qt Enterprise Embedded" + } + + ContentText { + id: brief + width: parent.width + text: '<p align="justify">Qt Enterprise Embedded provides a fully-integrated solution + to get you started immediately with software development on your embedded device + with a tailored user experience for embedded Linux and embedded Android. It + supports your key requirements for high performance, minimal footprint together + with Qt’s flexible full-framework modular architecture to deliver unparalleled + scalability.' + } + + Column { + id: diagram + spacing: 1 + width: parent.width * 0.5 + anchors.horizontalCenter: parent.horizontalCenter + Box { text: "Application"; accentColor: "coral" } + Box { text: "Qt Framework"; accentColor: Qt.rgba(0.64, 0.82, 0.15) } + Box { text: "Android/Linux Baselayer"; accentColor: "steelblue" } + Box { text: "Embedded Hardware"; accentColor: "steelblue"} + } + + ContentText { + id: description + + width: parent.width + + text: '<p align="justify">Qt Enterprise Embedded gives you shorter time-to-market + providing you with the productivity-enhancing tools and value-adding components. + You are up-to-speed with development and prototyping since day one. You can just + focus on writing your application with Qt.<br> + <p align="justify">Qt Enterprise Embedded provides you with the following: + <ul> + <li><b>A full-blown, productivity enhancing development environment</b>, + installed on a Linux development desktop. This self-contained environment + is installed and updated through one online installer and features the Qt + Creator Enterprise IDE, with features that facilitate the whole product + creation lifecycle: UI designer, code editor, direct device deployment + via USB or IP, emulator, on-device debugging and profiling.</li><br> + <li><b>Shorter time-to-market with the Boot to Qt Software Stack</b>. A + light-weight, Qt-optimized, full software stack that is installed into + the actual target device. The stack comes in two flavors, Embedded Android + and Embedded Linux. The pre-built stack gets you up-to-speed with prototyping + in no time and with our professional tooling you can customize the stack into + your exact production needs.</li><br> + <li><b>Full power and scalability of Qt on Embedded</b>. Leverage the + cross-platform C++ native APIs for maximum performance on both beautiful + user interfaces as well as non-GUI operations. With C++, you have full control + over your application code. You can also configure Qt Enterprise Embedded + directly from the source codes into a large variety of supported hardware and + operating systems. As with any Qt project, the same application can be deployed + natively to desktop and mobile OS targets as well.</li><br> + <li><b>Value-Adding Components</b>. No need to re-implement the wheel! Full Qt + Enterprise libraries give you a shortcut on development time providing ready-made + solutions, such as a comprehensive virtual keyboard, charts and industrial UI + controls. + </ul> + + <p align="justify">Qt Enterprise Embedded includes <b>Boot to Qt</b>, a light-weight, + Qt-optimized, full software stack for embedded systems that is installed into the actual + target device. The Boot to Qt stack can be made to run on a variety of hardware - Qt + Enterprise Embedded comes with pre-built images for several reference devices. + ' + } +} diff --git a/basicsuite/about-b2qt/Box.qml b/basicsuite/about-b2qt/Box.qml new file mode 100644 index 0000000..ab6e971 --- /dev/null +++ b/basicsuite/about-b2qt/Box.qml @@ -0,0 +1,70 @@ +/**************************************************************************** +** +** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). +** Contact: For any questions to Digia, please use the contact form at +** http://qt.digia.com/ +** +** This file is part of the examples of the Qt Enterprise Embedded. +** +** $QT_BEGIN_LICENSE:BSD$ +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions are +** met: +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in +** the documentation and/or other materials provided with the +** distribution. +** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names +** of its contributors may be used to endorse or promote products derived +** from this software without specific prior written permission. +** +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +** +** $QT_END_LICENSE$ +** +****************************************************************************/ +import QtQuick 2.0 + +Rectangle { + id: root + + width: parent.width + height: label.font.pixelSize * 3 + + radius: 4 + + antialiasing: true + + property alias text: label.text; + + property color accentColor: "palegreen" + + gradient: Gradient { + GradientStop { position: 0; color: root.accentColor; } + GradientStop { position: 1; color: "black"; } + } + + Text { + id: label + font.pixelSize: engine.smallFontSize() + font.bold: true; + color: "white" + anchors.centerIn: parent + } + +} diff --git a/basicsuite/about-b2qt/ContentText.qml b/basicsuite/about-b2qt/ContentText.qml new file mode 100644 index 0000000..ec4b791 --- /dev/null +++ b/basicsuite/about-b2qt/ContentText.qml @@ -0,0 +1,48 @@ +/**************************************************************************** +** +** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). +** Contact: For any questions to Digia, please use the contact form at +** http://qt.digia.com/ +** +** This file is part of the examples of the Qt Enterprise Embedded. +** +** $QT_BEGIN_LICENSE:BSD$ +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions are +** met: +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in +** the documentation and/or other materials provided with the +** distribution. +** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names +** of its contributors may be used to endorse or promote products derived +** from this software without specific prior written permission. +** +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +** +** $QT_END_LICENSE$ +** +****************************************************************************/ +import QtQuick 2.0 + +Text { + color: "white" + font.pixelSize: engine.smallFontSize() + textFormat: Text.RichText + wrapMode: Text.WordWrap +} diff --git a/basicsuite/about-b2qt/QtForAndroid.qml b/basicsuite/about-b2qt/QtForAndroid.qml new file mode 100644 index 0000000..16d834a --- /dev/null +++ b/basicsuite/about-b2qt/QtForAndroid.qml @@ -0,0 +1,93 @@ +/**************************************************************************** +** +** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). +** Contact: For any questions to Digia, please use the contact form at +** http://qt.digia.com/ +** +** This file is part of the examples of the Qt Enterprise Embedded. +** +** $QT_BEGIN_LICENSE:BSD$ +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions are +** met: +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in +** the documentation and/or other materials provided with the +** distribution. +** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names +** of its contributors may be used to endorse or promote products derived +** from this software without specific prior written permission. +** +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +** +** $QT_END_LICENSE$ +** +****************************************************************************/ +import QtQuick 2.0 + +Column { + id: root + + width: parent.width + + spacing: engine.smallFontSize() + + Title { + text: "Boot to Qt vs Qt for Android" + } + + ContentText { + width: parent.width + text: '<p align="justify">Qt for Android is a port of the Qt Framework to be used + for application development on the Android platform. Its + purpose is to enable development of applications that + can run on Android devices. For developers writing applications + for the Android ecosystem, Qt for Android is the right choice. + + <p align="justify"><b>Boot to Qt for embedded Android</b> tries to strip down + the Android stack to the bare minimum, relying only on basic Linux features. + The majority of the Android stack, such as <i>Dalvik virtual machine</i> is + not running in Boot to Qt, resulting in faster startup times, lower memory consumption + and overall better performance.' + } + + Column { + id: diagram + spacing: 1 + width: parent.width * 0.66 + anchors.horizontalCenter: parent.horizontalCenter + Box { text: "Application"; accentColor: "coral" } + Box { text: "Qt for Android"; accentColor: Qt.rgba(0.64, 0.82, 0.15) } + Row { + width: parent.width + height: b.height + Box { id: b; width: parent.width / 2; text: "Qt Framework"; accentColor: Qt.rgba(0.64, 0.82, 0.15) } + Box { width: parent.width / 2; text: "Android (Dalvik)"; accentColor: "steelblue" } + } + + Box { text: "Android Baselayer"; accentColor: "steelblue" } + Box { text: "Embedded Hardware"; accentColor: "steelblue"} + } + + ContentText { + width: parent.width + text: '<p align="justify"><b>Boot to Qt for embedded Linux</b> is build from scratch using + Yocto 1.5 tools to contain only components required in the embedded device, + resulting in smaller image sizes while keeping valuable development tools available.' + } +} diff --git a/basicsuite/about-b2qt/QtFramework.qml b/basicsuite/about-b2qt/QtFramework.qml new file mode 100644 index 0000000..76c2865 --- /dev/null +++ b/basicsuite/about-b2qt/QtFramework.qml @@ -0,0 +1,75 @@ +/**************************************************************************** +** +** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). +** Contact: For any questions to Digia, please use the contact form at +** http://qt.digia.com/ +** +** This file is part of the examples of the Qt Enterprise Embedded. +** +** $QT_BEGIN_LICENSE:BSD$ +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions are +** met: +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in +** the documentation and/or other materials provided with the +** distribution. +** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names +** of its contributors may be used to endorse or promote products derived +** from this software without specific prior written permission. +** +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +** +** $QT_END_LICENSE$ +** +****************************************************************************/ +import QtQuick 2.0 + +Column { + id: root + + width: parent.width + + spacing: engine.smallFontSize() + + Title { + text: "Qt Framework" + } + + ContentText { + id: brief + width: parent.width + text: '<p align="justify">Qt is a full development framework with tools designed to streamline + the creation of applications and user interfaces for desktop, embedded + and mobile platforms. + <ul> + <li><b>Qt Framework</b> - intuitive APIs for C++ and CSS/JavaScript-like + programming with Qt Quick for rapid UI creation</li><br> + <li><b>Qt Creator IDE</b> - powerful cross-platform integrated + development environment, including UI designer tools and on-device debugging</li><br> + <li><b>Tools and toolchains</b> - internationalization support, embedded toolchains + and more.</li> + </ul> + <p align="justify">With Qt, you can reuse code efficiently to target multiple platforms + with one code base. The modular C++ class library and developer tools + easily enables developers to create applications for one platform and + easily build and run to deploy on another platform.' + } + + +} diff --git a/basicsuite/about-b2qt/Title.qml b/basicsuite/about-b2qt/Title.qml new file mode 100644 index 0000000..0f7f792 --- /dev/null +++ b/basicsuite/about-b2qt/Title.qml @@ -0,0 +1,48 @@ +/**************************************************************************** +** +** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). +** Contact: For any questions to Digia, please use the contact form at +** http://qt.digia.com/ +** +** This file is part of the examples of the Qt Enterprise Embedded. +** +** $QT_BEGIN_LICENSE:BSD$ +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions are +** met: +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in +** the documentation and/or other materials provided with the +** distribution. +** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names +** of its contributors may be used to endorse or promote products derived +** from this software without specific prior written permission. +** +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +** +** $QT_END_LICENSE$ +** +****************************************************************************/ +import QtQuick 2.0 + +Text { + font.pixelSize: engine.titleFontSize() + font.italic: true + color: "white" + anchors.horizontalCenter: parent.horizontalCenter +} diff --git a/basicsuite/about-b2qt/about-b2qt.pro b/basicsuite/about-b2qt/about-b2qt.pro new file mode 100644 index 0000000..a99c8e6 --- /dev/null +++ b/basicsuite/about-b2qt/about-b2qt.pro @@ -0,0 +1,13 @@ +TARGET = about-b2qt + +include(../shared/shared.pri) +b2qtdemo_deploy_defaults() + +content.files = \ + *.qml \ + *.png +content.path = $$DESTPATH + +OTHER_FILES += $${content.files} + +INSTALLS += target content diff --git a/basicsuite/about-b2qt/codeless.png b/basicsuite/about-b2qt/codeless.png Binary files differnew file mode 100644 index 0000000..53e4806 --- /dev/null +++ b/basicsuite/about-b2qt/codeless.png diff --git a/basicsuite/about-b2qt/description.txt b/basicsuite/about-b2qt/description.txt new file mode 100644 index 0000000..676a166 --- /dev/null +++ b/basicsuite/about-b2qt/description.txt @@ -0,0 +1,3 @@ +The "About Boot to Qt" provides an introduction to what Boot to Qt is all about. + +It talks briefly about how the software stack is built up, rough hardware requirements and how Boot to Qt differs from the more traditional Qt editions. diff --git a/basicsuite/about-b2qt/dummy.cpp b/basicsuite/about-b2qt/dummy.cpp new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/basicsuite/about-b2qt/dummy.cpp diff --git a/basicsuite/about-b2qt/main.qml b/basicsuite/about-b2qt/main.qml new file mode 100644 index 0000000..5c5c6df --- /dev/null +++ b/basicsuite/about-b2qt/main.qml @@ -0,0 +1,175 @@ +/**************************************************************************** +** +** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies). +** Contact: For any questions to Digia, please use the contact form at +** http://qt.digia.com/ +** +** This file is part of the examples of the Qt Enterprise Embedded. +** +** $QT_BEGIN_LICENSE:BSD$ +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions are +** met: +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in +** the documentation and/or other materials provided with the +** distribution. +** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names +** of its contributors may be used to endorse or promote products derived +** from this software without specific prior written permission. +** +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +** +** $QT_END_LICENSE$ +** +****************************************************************************/ +import QtQuick 2.0 +import QtQuick.Particles 2.0 + +Item { + id: root + + width: 1280 + height: 800 + +// Rectangle { +// anchors.fill: parent +// color: "black" +// } + + Flickable { + id: flick + property real inertia: 0.4 + + property real cellWidth; + property real cellHeight; + + width: parent.width + height: parent.height + anchors.horizontalCenter: parent.horizontalCenter + + contentHeight: content.height + + flickableDirection: Flickable.VerticalFlick + + property real topOvershoot: Math.max(0, contentItem.y); + property real bottomOvershoot: Math.max(0, root.height - (contentItem.height + contentItem.y)); +// onTopOvershootChanged: print("Top Overshoot:", topOvershoot); +// onBottomOvershootChanged: print("Bottom Overshoot:", bottomOvershoot); + + Item { + id: shiftTrickery + + width: flick.width + height: content.height + + Column { + id: content; + + y: -flick.contentItem.y + offsetY; + width: flick.width * 2 / 3 + anchors.horizontalCenter: parent.horizontalCenter + + property real offsetY: 0; + property real inertia: flick.inertia; + property real t; + NumberAnimation on t { + id: animation; + from: 0; + to: 1; + duration: 1000; + loops: Animation.Infinite + running: Math.abs(content.y) > 0.001 || Math.abs(content.x) > 0.001 + } + + onTChanged: { + offsetY += (flick.contentItem.y - offsetY) * inertia + } + + + spacing: engine.smallFontSize() * 2 + + Item { width: 1; height: engine.smallFontSize() } + AboutBoot2Qt { } + QtForAndroid { } + QtFramework { } + Image { + id: codeLessImage + source: "codeless.png" + anchors.horizontalCenter: parent.horizontalCenter + } + Item { width: 1; height: engine.smallFontSize() } + } + + } + } + + ParticleSystem { + + anchors.fill: parent + + ImageParticle { + id: imageParticle + source: "particle.png" + color: "#80c342" + alpha: 0 + colorVariation: 0.3 + entryEffect: ImageParticle.None + } + + Emitter { + id: topEmitter + width: root.width + height: 1 + x: 0 + y: -1 + shape: EllipseShape { fill: true } + + emitRate: 300 + lifeSpan: 1000 + size: 20 + sizeVariation: 4 + endSize: 0 + + enabled: flick.topOvershoot > 0 + + velocity: PointDirection { xVariation: 10; yVariation: 50; y: Math.sqrt(flick.topOvershoot) * 10; } + acceleration: PointDirection { y: 50 } + } + + Emitter { + id: bottomEmitter + width: root.width + height: 1 + x: 0 + y: root.height + 1 + shape: EllipseShape { fill: true } + + emitRate: 300 + lifeSpan: 1000 + size: 20 + sizeVariation: 4 + endSize: 0 + + enabled: flick.bottomOvershoot > 0 + + velocity: PointDirection { xVariation: 10; yVariation: -50; y: Math.sqrt(flick.bottomOvershoot) * -10; } + acceleration: PointDirection { y: -50 } + } + } +} diff --git a/basicsuite/about-b2qt/particle.png b/basicsuite/about-b2qt/particle.png Binary files differnew file mode 100644 index 0000000..5c83896 --- /dev/null +++ b/basicsuite/about-b2qt/particle.png diff --git a/basicsuite/about-b2qt/preview_l.jpg b/basicsuite/about-b2qt/preview_l.jpg Binary files differnew file mode 100644 index 0000000..f2eb2e0 --- /dev/null +++ b/basicsuite/about-b2qt/preview_l.jpg diff --git a/basicsuite/about-b2qt/qt-logo.png b/basicsuite/about-b2qt/qt-logo.png Binary files differnew file mode 100644 index 0000000..748392d --- /dev/null +++ b/basicsuite/about-b2qt/qt-logo.png diff --git a/basicsuite/about-b2qt/title.txt b/basicsuite/about-b2qt/title.txt new file mode 100644 index 0000000..634a26a --- /dev/null +++ b/basicsuite/about-b2qt/title.txt @@ -0,0 +1 @@ +About Qt Enterprise Embedded |