summaryrefslogtreecommitdiffstats
path: root/src/webengine/ui2
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2021-02-10 12:02:57 +0100
committerMichal Klocek <michal.klocek@qt.io>2021-04-13 09:32:55 +0200
commit919dd97e835f469609a0710eb91f829a6d70e88c (patch)
tree90c9044585d8f9b71776a4cbf1f4ef4a34a7076b /src/webengine/ui2
parent29d45bf2d105b43d8cedc923869960091771d2a1 (diff)
Fix 'WebEngine' ambiguity for Qt6
'WebEngine' is a qml module, however name itself is ambiguous. Thefore now with Qt6 and with cmake port name the module as WebEngineQuick. Change-Id: I948672dd5d389a01c6a31ec871459164fd989c0f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/webengine/ui2')
-rw-r--r--src/webengine/ui2/AlertDialog.qml98
-rw-r--r--src/webengine/ui2/AuthenticationDialog.qml135
-rw-r--r--src/webengine/ui2/ConfirmDialog.qml111
-rw-r--r--src/webengine/ui2/Menu.qml57
-rw-r--r--src/webengine/ui2/MenuItem.qml44
-rw-r--r--src/webengine/ui2/MenuSeparator.qml42
-rw-r--r--src/webengine/ui2/PromptDialog.qml114
-rw-r--r--src/webengine/ui2/ToolTip.qml45
-rw-r--r--src/webengine/ui2/information.pngbin254 -> 0 bytes
-rw-r--r--src/webengine/ui2/qmldir2
-rw-r--r--src/webengine/ui2/question.pngbin257 -> 0 bytes
-rw-r--r--src/webengine/ui2/ui2.pro18
12 files changed, 0 insertions, 666 deletions
diff --git a/src/webengine/ui2/AlertDialog.qml b/src/webengine/ui2/AlertDialog.qml
deleted file mode 100644
index 4f63c5b70..000000000
--- a/src/webengine/ui2/AlertDialog.qml
+++ /dev/null
@@ -1,98 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the QtWebEngine module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:LGPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU Lesser General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU Lesser
-** General Public License version 3 as published by the Free Software
-** Foundation and appearing in the file LICENSE.LGPL3 included in the
-** packaging of this file. Please review the following information to
-** ensure the GNU Lesser General Public License version 3 requirements
-** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 2.0 or (at your option) the GNU General
-** Public license version 3 or any later version approved by the KDE Free
-** Qt Foundation. The licenses are as published by the Free Software
-** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-2.0.html and
-** https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.5
-import QtQuick.Controls 2.0 as Controls
-import QtQuick.Dialogs 1.2
-import QtQuick.Layouts 1.0
-
-Dialog {
- property alias text: message.text
- property bool handled: false
- signal accepted()
- signal rejected()
- title: qsTr("Alert Dialog")
- modality: Qt.NonModal
-
- //handle the case where users simply closes the dialog
- onVisibilityChanged: {
- if (visible == false && handled == false) {
- handled = true;
- rejected();
- } else {
- handled = false;
- }
- }
-
- function acceptDialog() {
- accepted();
- handled = true;
- close();
- }
-
- contentItem: ColumnLayout {
- id: rootLayout
- anchors.fill: parent
- anchors.margins: 4
- property int minimumWidth: rootLayout.implicitWidth + rootLayout.doubleMargins
- property int minimumHeight: rootLayout.implicitHeight + rootLayout.doubleMargins
- property int doubleMargins: anchors.margins * 2
- SystemPalette { id: palette; colorGroup: SystemPalette.Active }
- RowLayout {
- Layout.alignment: Qt.AlignRight
- spacing: 8
- Image {
- source: "information.png"
- }
- Text {
- id: message
- Layout.fillWidth: true
- color: palette.windowText
- }
- }
- Item {
- Layout.fillHeight: true
- }
- Controls.Button {
- Layout.alignment: Qt.AlignHCenter
- text: qsTr("OK")
- onClicked: acceptDialog()
- }
- }
-}
diff --git a/src/webengine/ui2/AuthenticationDialog.qml b/src/webengine/ui2/AuthenticationDialog.qml
deleted file mode 100644
index 52fcce3f1..000000000
--- a/src/webengine/ui2/AuthenticationDialog.qml
+++ /dev/null
@@ -1,135 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the QtWebEngine module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:LGPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU Lesser General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU Lesser
-** General Public License version 3 as published by the Free Software
-** Foundation and appearing in the file LICENSE.LGPL3 included in the
-** packaging of this file. Please review the following information to
-** ensure the GNU Lesser General Public License version 3 requirements
-** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 2.0 or (at your option) the GNU General
-** Public license version 3 or any later version approved by the KDE Free
-** Qt Foundation. The licenses are as published by the Free Software
-** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-2.0.html and
-** https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.5
-import QtQuick.Controls 2.0 as Controls
-import QtQuick.Dialogs 1.2
-import QtQuick.Layouts 1.0
-
-Dialog {
- property alias text: message.text
- property bool handled: false
- signal accepted(string user, string password)
- signal rejected()
- title: qsTr("Authentication Required")
- modality: Qt.NonModal
-
- //handle the case where users simply closes the dialog
- onVisibilityChanged: {
- if (visible == false && handled == false) {
- handled = true;
- rejected();
- } else {
- handled = false;
- }
- }
-
- function acceptDialog() {
- accepted(userField.text, passwordField.text);
- handled = true;
- close();
- }
-
- function rejectDialog() {
- rejected();
- handled = true;
- close();
- }
-
- contentItem: ColumnLayout {
- id: rootLayout
- anchors.fill: parent
- anchors.margins: 4
- property int minimumWidth: rootLayout.implicitWidth + rootLayout.doubleMargins
- property int minimumHeight: rootLayout.implicitHeight + rootLayout.doubleMargins
-
- property int doubleMargins: anchors.margins * 2
-
- SystemPalette { id: palette; colorGroup: SystemPalette.Active }
- Text {
- id: message
- color: palette.windowText
- }
- GridLayout {
- columns: 2
- Controls.Label {
- text: qsTr("Username:")
- color: palette.windowText
- }
- Controls.TextField {
- id: userField
- focus: true
- Layout.fillWidth: true
- onAccepted: {
- if (userField.text && passwordField.text)
- acceptDialog();
- }
- }
- Controls.Label {
- text: qsTr("Password:")
- color: palette.windowText
- }
- Controls.TextField {
- id: passwordField
- Layout.fillWidth: true
- echoMode: TextInput.Password
- onAccepted: {
- if (userField.text && passwordField.text)
- acceptDialog();
- }
- }
- }
- Item {
- Layout.fillHeight: true
- }
- RowLayout {
- Layout.alignment: Qt.AlignRight
- spacing: 8
- Controls.Button {
- id: cancelButton
- text: qsTr("Cancel")
- onClicked: rejectDialog()
- }
- Controls.Button {
- text: qsTr("Log In")
- onClicked: acceptDialog()
- }
- }
- }
-}
diff --git a/src/webengine/ui2/ConfirmDialog.qml b/src/webengine/ui2/ConfirmDialog.qml
deleted file mode 100644
index 0649d3654..000000000
--- a/src/webengine/ui2/ConfirmDialog.qml
+++ /dev/null
@@ -1,111 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the QtWebEngine module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:LGPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU Lesser General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU Lesser
-** General Public License version 3 as published by the Free Software
-** Foundation and appearing in the file LICENSE.LGPL3 included in the
-** packaging of this file. Please review the following information to
-** ensure the GNU Lesser General Public License version 3 requirements
-** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 2.0 or (at your option) the GNU General
-** Public license version 3 or any later version approved by the KDE Free
-** Qt Foundation. The licenses are as published by the Free Software
-** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-2.0.html and
-** https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.5
-import QtQuick.Controls 2.0 as Controls
-import QtQuick.Dialogs 1.2
-import QtQuick.Layouts 1.0
-
-Dialog {
- property alias text: message.text
- property bool handled: false
- signal accepted()
- signal rejected()
- title: qsTr("Alert Dialog")
- modality: Qt.NonModal
-
- //handle the case where users simply closes the dialog
- onVisibilityChanged: {
- if (visible == false && handled == false) {
- handled = true;
- rejected();
- } else {
- handled = false;
- }
- }
-
- function acceptDialog() {
- accepted();
- handled = true;
- close();
- }
-
- function rejectDialog() {
- rejected();
- handled = true;
- close();
- }
-
- contentItem: ColumnLayout {
- id: rootLayout
- anchors.fill: parent
- anchors.margins: 4
- property int minimumWidth: rootLayout.implicitWidth + rootLayout.doubleMargins
- property int minimumHeight: rootLayout.implicitHeight + rootLayout.doubleMargins
- property int doubleMargins: anchors.margins * 2
- SystemPalette { id: palette; colorGroup: SystemPalette.Active }
- RowLayout {
- Layout.alignment: Qt.AlignRight
- spacing: 8
- Image {
- source: "question.png"
- }
- Text {
- id: message
- Layout.fillWidth: true
- color: palette.windowText
- }
- }
- Item {
- Layout.fillHeight: true
- }
- RowLayout {
- Layout.alignment: Qt.AlignRight
- spacing: 8
- Controls.Button {
- text: qsTr("OK")
- onClicked: acceptDialog()
- }
- Controls.Button {
- text: qsTr("Cancel")
- onClicked: rejectDialog()
- }
- }
- }
-}
diff --git a/src/webengine/ui2/Menu.qml b/src/webengine/ui2/Menu.qml
deleted file mode 100644
index 0e7b869f5..000000000
--- a/src/webengine/ui2/Menu.qml
+++ /dev/null
@@ -1,57 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the QtWebEngine module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:LGPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU Lesser General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU Lesser
-** General Public License version 3 as published by the Free Software
-** Foundation and appearing in the file LICENSE.LGPL3 included in the
-** packaging of this file. Please review the following information to
-** ensure the GNU Lesser General Public License version 3 requirements
-** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 2.0 or (at your option) the GNU General
-** Public license version 3 or any later version approved by the KDE Free
-** Qt Foundation. The licenses are as published by the Free Software
-** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-2.0.html and
-** https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.5
-import QtQuick.Controls 2.0 as Controls
-
-Controls.Menu {
- id: menu
- signal done()
-
- // Use private API for now
- onAboutToHide: doneTimer.start()
-
- // WORKAROUND On Mac the Menu may be destroyed before the MenuItem
- // is actually triggered (see qtbase commit 08cc9b9991ae9ab51)
- Timer {
- id: doneTimer
- interval: 100
- onTriggered: menu.done()
- }
-}
diff --git a/src/webengine/ui2/MenuItem.qml b/src/webengine/ui2/MenuItem.qml
deleted file mode 100644
index 9bf8aac5e..000000000
--- a/src/webengine/ui2/MenuItem.qml
+++ /dev/null
@@ -1,44 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the QtWebEngine module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:LGPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU Lesser General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU Lesser
-** General Public License version 3 as published by the Free Software
-** Foundation and appearing in the file LICENSE.LGPL3 included in the
-** packaging of this file. Please review the following information to
-** ensure the GNU Lesser General Public License version 3 requirements
-** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 2.0 or (at your option) the GNU General
-** Public license version 3 or any later version approved by the KDE Free
-** Qt Foundation. The licenses are as published by the Free Software
-** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-2.0.html and
-** https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.5
-import QtQuick.Controls 2.0 as Controls
-
-Controls.MenuItem { }
-
diff --git a/src/webengine/ui2/MenuSeparator.qml b/src/webengine/ui2/MenuSeparator.qml
deleted file mode 100644
index 0c664084a..000000000
--- a/src/webengine/ui2/MenuSeparator.qml
+++ /dev/null
@@ -1,42 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the QtWebEngine module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:LGPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU Lesser General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU Lesser
-** General Public License version 3 as published by the Free Software
-** Foundation and appearing in the file LICENSE.LGPL3 included in the
-** packaging of this file. Please review the following information to
-** ensure the GNU Lesser General Public License version 3 requirements
-** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 2.0 or (at your option) the GNU General
-** Public license version 3 or any later version approved by the KDE Free
-** Qt Foundation. The licenses are as published by the Free Software
-** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-2.0.html and
-** https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.5
-
-Item { id: dummy }
diff --git a/src/webengine/ui2/PromptDialog.qml b/src/webengine/ui2/PromptDialog.qml
deleted file mode 100644
index 880213e36..000000000
--- a/src/webengine/ui2/PromptDialog.qml
+++ /dev/null
@@ -1,114 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the QtWebEngine module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:LGPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU Lesser General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU Lesser
-** General Public License version 3 as published by the Free Software
-** Foundation and appearing in the file LICENSE.LGPL3 included in the
-** packaging of this file. Please review the following information to
-** ensure the GNU Lesser General Public License version 3 requirements
-** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 2.0 or (at your option) the GNU General
-** Public license version 3 or any later version approved by the KDE Free
-** Qt Foundation. The licenses are as published by the Free Software
-** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-2.0.html and
-** https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick 2.5
-import QtQuick.Controls 2.0 as Controls
-import QtQuick.Layouts 1.0
-import QtQuick.Dialogs 1.2
-
-Dialog {
- property alias text: message.text
- property alias prompt: field.text
- property bool handled: false
- signal input(string text)
- signal accepted()
- signal rejected()
- title: qsTr("Prompt Dialog")
- modality: Qt.NonModal
-
- //handle the case where users simply closes the dialog
- onVisibilityChanged: {
- if (visible == false && handled == false) {
- handled = true;
- rejected();
- } else {
- handled = false;
- }
- }
-
- function acceptDialog() {
- input(field.text);
- accepted();
- handled = true;
- close();
- }
-
- function rejectDialog() {
- rejected();
- handled = true;
- close();
- }
-
- contentItem: ColumnLayout {
- id: rootLayout
- anchors.fill: parent
- anchors.margins: 4
- property int minimumWidth: rootLayout.implicitWidth + rootLayout.doubleMargins
- property int minimumHeight: rootLayout.implicitHeight + rootLayout.doubleMargins
- property int doubleMargins: anchors.margins * 2
- SystemPalette { id: palette; colorGroup: SystemPalette.Active }
- Text {
- id: message
- Layout.fillWidth: true
- color: palette.windowText
- }
- Controls.TextField {
- id:field
- focus: true
- Layout.fillWidth: true
- onAccepted: acceptDialog()
- }
- Item {
- Layout.fillHeight: true
- }
- RowLayout {
- Layout.alignment: Qt.AlignRight
- spacing: 8
- Controls.Button {
- text: qsTr("OK")
- onClicked: acceptDialog()
- }
- Controls.Button {
- text: qsTr("Cancel")
- onClicked: rejectDialog()
- }
- }
- }
-
-}
diff --git a/src/webengine/ui2/ToolTip.qml b/src/webengine/ui2/ToolTip.qml
deleted file mode 100644
index 91645a0f4..000000000
--- a/src/webengine/ui2/ToolTip.qml
+++ /dev/null
@@ -1,45 +0,0 @@
-/****************************************************************************
-**
-** Copyright (C) 2016 The Qt Company Ltd.
-** Contact: https://www.qt.io/licensing/
-**
-** This file is part of the QtWebEngine module of the Qt Toolkit.
-**
-** $QT_BEGIN_LICENSE:LGPL$
-** Commercial License Usage
-** Licensees holding valid commercial Qt licenses may use this file in
-** accordance with the commercial license agreement provided with the
-** Software or, alternatively, in accordance with the terms contained in
-** a written agreement between you and The Qt Company. For licensing terms
-** and conditions see https://www.qt.io/terms-conditions. For further
-** information use the contact form at https://www.qt.io/contact-us.
-**
-** GNU Lesser General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU Lesser
-** General Public License version 3 as published by the Free Software
-** Foundation and appearing in the file LICENSE.LGPL3 included in the
-** packaging of this file. Please review the following information to
-** ensure the GNU Lesser General Public License version 3 requirements
-** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
-**
-** GNU General Public License Usage
-** Alternatively, this file may be used under the terms of the GNU
-** General Public License version 2.0 or (at your option) the GNU General
-** Public license version 3 or any later version approved by the KDE Free
-** Qt Foundation. The licenses are as published by the Free Software
-** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
-** included in the packaging of this file. Please review the following
-** information to ensure the GNU General Public License requirements will
-** be met: https://www.gnu.org/licenses/gpl-2.0.html and
-** https://www.gnu.org/licenses/gpl-3.0.html.
-**
-** $QT_END_LICENSE$
-**
-****************************************************************************/
-
-import QtQuick.Controls 2.0
-
-ToolTip {
- delay: 1000
- timeout: 1500
-}
diff --git a/src/webengine/ui2/information.png b/src/webengine/ui2/information.png
deleted file mode 100644
index 0a2eb87d1..000000000
--- a/src/webengine/ui2/information.png
+++ /dev/null
Binary files differ
diff --git a/src/webengine/ui2/qmldir b/src/webengine/ui2/qmldir
deleted file mode 100644
index 8ab0d3671..000000000
--- a/src/webengine/ui2/qmldir
+++ /dev/null
@@ -1,2 +0,0 @@
-# Internal module
-module QtWebEngine/Controls2Delegates
diff --git a/src/webengine/ui2/question.png b/src/webengine/ui2/question.png
deleted file mode 100644
index 2dd92fd79..000000000
--- a/src/webengine/ui2/question.png
+++ /dev/null
Binary files differ
diff --git a/src/webengine/ui2/ui2.pro b/src/webengine/ui2/ui2.pro
deleted file mode 100644
index 4628d40b5..000000000
--- a/src/webengine/ui2/ui2.pro
+++ /dev/null
@@ -1,18 +0,0 @@
-TARGETPATH = QtWebEngine/Controls2Delegates
-
-QML_FILES += \
- # Authentication Dialog
- AuthenticationDialog.qml \
- # JS Dialogs
- AlertDialog.qml \
- ConfirmDialog.qml \
- PromptDialog.qml \
- # Menus. Based on Qt Quick Controls
- Menu.qml \
- MenuItem.qml \
- MenuSeparator.qml \
- ToolTip.qml \
- information.png \
- question.png
-
-load(qml_module)