From 11ea1829a7057531be95c188fee081a20a7e21c3 Mon Sep 17 00:00:00 2001 From: Gatis Paeglis Date: Wed, 8 Oct 2014 14:09:14 +0200 Subject: Remove experimental/qt5-intro-android directory This directory contains old (probably development) version of qt5 launch presentation. We used to have the final version in the basicsuite/, but also that was removed as "obsolete" in: e6253b8d140a98f3d2327b2d028b237480378637 Change-Id: If262643d5e7b01090f72669fbe60bf255ddabd1b Reviewed-by: Samuli Piippo --- .../qt5-intro-android/presentation/CodeSlide.qml | 162 --------------------- 1 file changed, 162 deletions(-) delete mode 100644 experimental/qt5-intro-android/presentation/CodeSlide.qml (limited to 'experimental/qt5-intro-android/presentation/CodeSlide.qml') diff --git a/experimental/qt5-intro-android/presentation/CodeSlide.qml b/experimental/qt5-intro-android/presentation/CodeSlide.qml deleted file mode 100644 index ba8626b..0000000 --- a/experimental/qt5-intro-android/presentation/CodeSlide.qml +++ /dev/null @@ -1,162 +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 - -Slide { - id: slide; - - property string codeFontFamily: parent.codeFontFamily; - property string code; - property real codeFontSize: baseFontSize * 0.6; - - - - Rectangle { - id: background - anchors.fill: parent - radius: height / 10; - gradient: Gradient { - GradientStop { position: 0; color: Qt.rgba(0.8, 0.8, 0.8, 0.5); } - GradientStop { position: 1; color: Qt.rgba(0.2, 0.2, 0.2, 0.5); } - } - border.color: slide.textColor; - border.width: height / 250; - antialiasing: true - } - - onCodeChanged: { - listModel.clear(); - var codeLines = slide.code.split("\n"); - for (var i=0; i