diff options
Diffstat (limited to 'basicsuite/Hardware Specs')
-rw-r--r-- | basicsuite/Hardware Specs/BackgroundSwirls.qml | 120 | ||||
-rw-r--r-- | basicsuite/Hardware Specs/SlideDeck.qml | 75 | ||||
-rw-r--r-- | basicsuite/Hardware Specs/SlideDeckRotated.qml | 57 | ||||
-rw-r--r-- | basicsuite/Hardware Specs/Swirl.qml | 108 | ||||
-rwxr-xr-x | basicsuite/Hardware Specs/icon.png | bin | 8201 -> 0 bytes | |||
-rw-r--r-- | basicsuite/Hardware Specs/main.qml | 72 | ||||
-rw-r--r-- | basicsuite/Hardware Specs/particle.png | bin | 861 -> 0 bytes |
7 files changed, 0 insertions, 432 deletions
diff --git a/basicsuite/Hardware Specs/BackgroundSwirls.qml b/basicsuite/Hardware Specs/BackgroundSwirls.qml deleted file mode 100644 index 7214cf6..0000000 --- a/basicsuite/Hardware Specs/BackgroundSwirls.qml +++ /dev/null @@ -1,120 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/ -** -** This file is part of the QML Presentation System. -** -** $QT_BEGIN_LICENSE:LGPL$ -** GNU Lesser General Public License Usage -** This file may be used under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation and -** appearing in the file LICENSE.LGPL included in the packaging of this -** file. Please review the following information to ensure the GNU Lesser -** General Public License version 2.1 requirements will be met: -** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Digia gives you certain additional -** rights. These rights are described in the Digia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU General -** Public License version 3.0 as published by the Free Software Foundation -** and appearing in the file LICENSE.GPL included in the packaging of this -** file. Please review the following information to ensure the GNU General -** Public License version 3.0 requirements will be met: -** http://www.gnu.org/copyleft/gpl.html. -** -** Other Usage -** Alternatively, this file may be used in accordance with the terms and -** conditions contained in a signed written agreement between you and Digia. -** -** -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - - -import QtQuick 2.0 -import QtQuick.Particles 2.0 - -Item { - anchors.fill: parent - - Rectangle { - anchors.fill: parent - gradient: Gradient { - GradientStop { position: 0; color: "lightsteelblue" } - GradientStop { position: 1; color: "black" } - } - } - - Rectangle { - id: colorTableItem - width: 16 - height: 16 - anchors.fill: parent - - property color color1: Qt.rgba(0.8, 0.8, 1, 0.3) - property color color2: Qt.rgba(0.8, 0.8, 1, 0.3) - - gradient: Gradient { - GradientStop { position: 0.0; color: "transparent"} - GradientStop { position: 0.05; color: colorTableItem.color1 } - GradientStop { position: 0.3; color: "transparent" } - GradientStop { position: 0.7; color: "transparent" } - GradientStop { position: 0.95; color: colorTableItem.color2 } - GradientStop { position: 1.0; color: "transparent" } - } - - visible: false - } - - ShaderEffectSource { - id: colorTableSource - sourceItem: colorTableItem - smooth: true - } - - Repeater { - model: 4 - Swirl { - - width: parent.width - anchors.bottom: parent.bottom - height: parent.height / (2 + index) - opacity: 0.3 - speed: (index + 1) / 5 - colorTable: colorTableSource - } - } - - ParticleSystem{ - id: particles - } - ImageParticle{ - anchors.fill: parent - system: particles - source: "particle.png" - alpha: 0 - colorVariation: 0.3 - } - - Emitter{ - anchors.fill: parent - system: particles - emitRate: Math.sqrt(parent.width * parent.height) / 30 - lifeSpan: 2000 - size: 4 - sizeVariation: 2 - - acceleration: AngleDirection { angle: 90; angleVariation: 360; magnitude: 20; } - velocity: AngleDirection { angle: -90; angleVariation: 360; magnitude: 10; } - } - -} diff --git a/basicsuite/Hardware Specs/SlideDeck.qml b/basicsuite/Hardware Specs/SlideDeck.qml deleted file mode 100644 index d9490b6..0000000 --- a/basicsuite/Hardware Specs/SlideDeck.qml +++ /dev/null @@ -1,75 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/ -** -** This file is part of the QML Presentation System. -** -** $QT_BEGIN_LICENSE:LGPL$ -** GNU Lesser General Public License Usage -** This file may be used under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation and -** appearing in the file LICENSE.LGPL included in the packaging of this -** file. Please review the following information to ensure the GNU Lesser -** General Public License version 2.1 requirements will be met: -** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Digia gives you certain additional -** rights. These rights are described in the Digia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU General -** Public License version 3.0 as published by the Free Software Foundation -** and appearing in the file LICENSE.GPL included in the packaging of this -** file. Please review the following information to ensure the GNU General -** Public License version 3.0 requirements will be met: -** http://www.gnu.org/copyleft/gpl.html. -** -** Other Usage -** Alternatively, this file may be used in accordance with the terms and -** conditions contained in a signed written agreement between you and Digia. -** -** -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - - -import QtQuick 2.0 - -import Qt.labs.presentation 1.0 - -Presentation { - width: 1280 - height: 720 - - BackgroundSwirls {} - - textColor: "white" - - Slide { - centeredText: "Animated Background" - fontScale: 2 - } - - Slide { - title: "Composition" - content: [ - "Gradient Rectangle", - "Swirls using ShaderEffect", - " Movement using a vertexShader", - " Colorized using a gradient rect converted to a texture", - " Controlled using QML properties and animations", - "Snow", - " Using 'QtQuick.Particles 2.0'", - " Emitter", - " ImageParticle" - ] - } - -} diff --git a/basicsuite/Hardware Specs/SlideDeckRotated.qml b/basicsuite/Hardware Specs/SlideDeckRotated.qml deleted file mode 100644 index ef6cfee..0000000 --- a/basicsuite/Hardware Specs/SlideDeckRotated.qml +++ /dev/null @@ -1,57 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/ -** -** This file is part of the QML Presentation System. -** -** $QT_BEGIN_LICENSE:LGPL$ -** GNU Lesser General Public License Usage -** This file may be used under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation and -** appearing in the file LICENSE.LGPL included in the packaging of this -** file. Please review the following information to ensure the GNU Lesser -** General Public License version 2.1 requirements will be met: -** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Digia gives you certain additional -** rights. These rights are described in the Digia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU General -** Public License version 3.0 as published by the Free Software Foundation -** and appearing in the file LICENSE.GPL included in the packaging of this -** file. Please review the following information to ensure the GNU General -** Public License version 3.0 requirements will be met: -** http://www.gnu.org/copyleft/gpl.html. -** -** Other Usage -** Alternatively, this file may be used in accordance with the terms and -** conditions contained in a signed written agreement between you and Digia. -** -** -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - - -import QtQuick 2.0 - -Item -{ - height: 640 - width: 360 - Item { - rotation: 90 - SlideDeck { - y: -360 - width: 640 - height: 360 - } - } -} diff --git a/basicsuite/Hardware Specs/Swirl.qml b/basicsuite/Hardware Specs/Swirl.qml deleted file mode 100644 index 02f2187..0000000 --- a/basicsuite/Hardware Specs/Swirl.qml +++ /dev/null @@ -1,108 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/ -** -** This file is part of the QML Presentation System. -** -** $QT_BEGIN_LICENSE:LGPL$ -** GNU Lesser General Public License Usage -** This file may be used under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation and -** appearing in the file LICENSE.LGPL included in the packaging of this -** file. Please review the following information to ensure the GNU Lesser -** General Public License version 2.1 requirements will be met: -** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Digia gives you certain additional -** rights. These rights are described in the Digia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU General -** Public License version 3.0 as published by the Free Software Foundation -** and appearing in the file LICENSE.GPL included in the packaging of this -** file. Please review the following information to ensure the GNU General -** Public License version 3.0 requirements will be met: -** http://www.gnu.org/copyleft/gpl.html. -** -** Other Usage -** Alternatively, this file may be used in accordance with the terms and -** conditions contained in a signed written agreement between you and Digia. -** -** -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - - -import QtQuick 2.0 - -ShaderEffect { - id: shader - - width: 400 - height: 300 - - property real speed: 1 - - property color d: Qt.rgba(Math.random() * 0.7, - Math.random() * 0.5, - Math.random() * 0.7, - Math.random() * 0.5) - property real tx - NumberAnimation on tx { from: 0; to: Math.PI * 2; duration: (Math.random() * 30 + 30) * 1000 / speed; loops: Animation.Infinite } - property real ty - NumberAnimation on ty { from: 0; to: Math.PI * 2; duration: (Math.random() * 30 + 30) * 1000 / speed; loops: Animation.Infinite } - property real tz - NumberAnimation on tz { from: 0; to: Math.PI * 2; duration: (Math.random() * 30 + 30) * 1000 / speed; loops: Animation.Infinite } - property real tw - NumberAnimation on tw { from: 0; to: Math.PI * 2; duration: (Math.random() * 30 + 30) * 1000 / speed; loops: Animation.Infinite } - - property real amplitude: height / 2 - - property variant colorTable: ShaderEffectSource { sourceItem: Rectangle { width: 4; height: 4; color: "steelblue" } } - - fragmentShader: " - uniform lowp float qt_Opacity; - uniform lowp sampler2D colorTable; - varying highp vec2 qt_TexCoord0; - - void main() { - gl_FragColor = texture2D(colorTable, qt_TexCoord0); - gl_FragColor.w *= qt_Opacity; - } - " - - vertexShader: " - uniform lowp vec4 d; - uniform highp float tx; - uniform highp float ty; - uniform highp float tz; - uniform highp float tw; - uniform highp float amplitude; - uniform highp mat4 qt_Matrix; - attribute highp vec4 qt_Vertex; - attribute highp vec2 qt_MultiTexCoord0; - varying highp vec2 qt_TexCoord0; - - void main() { - highp vec4 pos = qt_Vertex; - - highp float y1 = sin(tx + d.x * qt_MultiTexCoord0.x * 17. + 2. * d.y) + sin(ty + d.z * qt_MultiTexCoord0.x * 11. + 5. * d.w); - highp float y2 = sin(tz + d.w * qt_MultiTexCoord0.x * 7. + 3. * d.z) + sin(tw + d.y * qt_MultiTexCoord0.x * 19. + 3. * d.x); - - pos.y += mix(y1, y2, qt_MultiTexCoord0.y) * amplitude * 0.5; - - gl_Position = qt_Matrix * pos; - qt_TexCoord0 = qt_MultiTexCoord0; - } - " - - mesh: GridMesh { resolution: Qt.size(width / 10, 4) } - -} diff --git a/basicsuite/Hardware Specs/icon.png b/basicsuite/Hardware Specs/icon.png Binary files differdeleted file mode 100755 index fb888ed..0000000 --- a/basicsuite/Hardware Specs/icon.png +++ /dev/null diff --git a/basicsuite/Hardware Specs/main.qml b/basicsuite/Hardware Specs/main.qml deleted file mode 100644 index d38522c..0000000 --- a/basicsuite/Hardware Specs/main.qml +++ /dev/null @@ -1,72 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies). -** Contact: http://www.qt-project.org/ -** -** This file is part of the QML Presentation System. -** -** $QT_BEGIN_LICENSE:LGPL$ -** GNU Lesser General Public License Usage -** This file may be used under the terms of the GNU Lesser General Public -** License version 2.1 as published by the Free Software Foundation and -** appearing in the file LICENSE.LGPL included in the packaging of this -** file. Please review the following information to ensure the GNU Lesser -** General Public License version 2.1 requirements will be met: -** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. -** -** In addition, as a special exception, Digia gives you certain additional -** rights. These rights are described in the Digia Qt LGPL Exception -** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. -** -** GNU General Public License Usage -** Alternatively, this file may be used under the terms of the GNU General -** Public License version 3.0 as published by the Free Software Foundation -** and appearing in the file LICENSE.GPL included in the packaging of this -** file. Please review the following information to ensure the GNU General -** Public License version 3.0 requirements will be met: -** http://www.gnu.org/copyleft/gpl.html. -** -** Other Usage -** Alternatively, this file may be used in accordance with the terms and -** conditions contained in a signed written agreement between you and Digia. -** -** -** -** -** -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - - -import QtQuick 2.0 - -import Qt.labs.presentation 1.0 - -Presentation { - width: 1280 - height: 720 - - BackgroundSwirls {} - - textColor: "white" - - - Slide { - title: "Hardware Specs" - content: [ - "Asus/Google Nexus 7 tablet", - " System-on-Chip: Nvidia Tegra 3", - " CPU: 1.3 GHz quad-core Cortex-A9 (T30L)", - " GPU: 416 MHz 12-core Nvidia GeForce ULP", - " RAM: 1 GB DDR3L", - "Texas Instruments BeagleBoard-xM", - " System-on-Chip: Texas Instruments OMAP3530", - " CPU: 1 GHz ARM Cortex-A8 core (TI DM3730)", - " GPU: Imagination Technologies PowerVR SGX 2D/3D", - " RAM: 512 MB LPDDR", - ] - } - -} diff --git a/basicsuite/Hardware Specs/particle.png b/basicsuite/Hardware Specs/particle.png Binary files differdeleted file mode 100644 index 5c83896..0000000 --- a/basicsuite/Hardware Specs/particle.png +++ /dev/null |