summaryrefslogtreecommitdiffstats
path: root/demos/declarative/webbrowser/qml/webbrowser/content/Button.qml
diff options
context:
space:
mode:
authorAndrew den Exter <andrew.den-exter@nokia.com>2012-02-06 12:52:26 +1000
committerAndrew den Exter <andrew.den-exter@nokia.com>2012-02-06 05:01:01 +0100
commitab653fc438a11d1961f5b006a67b03774cd2a268 (patch)
tree3e8c63495750b3d8a2a760500cceff8c42af6a3b /demos/declarative/webbrowser/qml/webbrowser/content/Button.qml
parent095012650de4e324b74be8cdee4b42ae1e26d7fb (diff)
Remove WebView visual tests and examples.
QDeclarativeWebView isn't part of the QtQuick1 module. Change-Id: Ibe0af84018692e3db5a7a93961972b5089a79f1c Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
Diffstat (limited to 'demos/declarative/webbrowser/qml/webbrowser/content/Button.qml')
-rw-r--r--demos/declarative/webbrowser/qml/webbrowser/content/Button.qml65
1 files changed, 0 insertions, 65 deletions
diff --git a/demos/declarative/webbrowser/qml/webbrowser/content/Button.qml b/demos/declarative/webbrowser/qml/webbrowser/content/Button.qml
deleted file mode 100644
index fbffe1ef..00000000
--- a/demos/declarative/webbrowser/qml/webbrowser/content/Button.qml
+++ /dev/null
@@ -1,65 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2012 Nokia Corporation and/or its subsidiary(-ies).
-** All rights reserved.
-** Contact: Nokia Corporation (qt-info@nokia.com)
-**
-** This file is part of the QtDeclarative module of the Qt Toolkit.
-**
-** $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, Nokia gives you certain additional
-** rights. These rights are described in the Nokia 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 Nokia.
-**
-**
-**
-**
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 1.0
-
-Item {
- property alias image: icon.source
- property variant action
-
- signal clicked
-
- width: 40; height: parent.height
-
- Image {
- id: icon; anchors.centerIn: parent
- opacity: if (action != undefined) { action.enabled ? 1.0 : 0.4 } else 1
- }
-
- MouseArea {
- anchors { fill: parent; topMargin: -10; bottomMargin: -10 }
- onClicked: {
- if (action != undefined)
- action.trigger()
- parent.clicked()
- }
- }
-}