summaryrefslogtreecommitdiff
path: root/examples/webengine/customdialogs/forms/MenuForm.ui.qml
diff options
context:
space:
mode:
authorBalazs Egedi <egedib@inf.u-szeged.hu>2021-06-14 15:57:47 +0200
committerBalazs Egedi <egedib@inf.u-szeged.hu>2021-07-26 16:43:00 +0200
commit37cb5c751e85cb39c9098008ea21d5977c6364bc (patch)
treecd2c385ee311edd1f95c3a2b9bd87780a869e440 /examples/webengine/customdialogs/forms/MenuForm.ui.qml
parent6117b0ffb9a8dab550486dbfa362f7a398ff8f5b (diff)
downloadqtwebengine-37cb5c751e85cb39c9098008ea21d5977c6364bc.tar.gz
Update customdialogs example to work with Quick Controls 2
Task-number: QTBUG-93666 Pick-to: 6.2 Change-Id: I3716454d7a0560f58a0e2da363b1d053babe824b Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Diffstat (limited to 'examples/webengine/customdialogs/forms/MenuForm.ui.qml')
-rw-r--r--examples/webengine/customdialogs/forms/MenuForm.ui.qml19
1 files changed, 9 insertions, 10 deletions
diff --git a/examples/webengine/customdialogs/forms/MenuForm.ui.qml b/examples/webengine/customdialogs/forms/MenuForm.ui.qml
index 6126f0623..cba7a1b3f 100644
--- a/examples/webengine/customdialogs/forms/MenuForm.ui.qml
+++ b/examples/webengine/customdialogs/forms/MenuForm.ui.qml
@@ -48,8 +48,8 @@
**
****************************************************************************/
-import QtQuick 2.4
-import QtQuick.Layouts 1.3
+import QtQuick
+import QtQuick.Layouts
Item {
property alias followLink: followLink
@@ -73,41 +73,40 @@ Item {
source: "qrc:/icon.svg"
}
- Button {
+ CustomButton {
id: followLink
btnText: qsTr("Follow")
}
- Button {
+ CustomButton {
id: back
btnText: qsTr("Back")
}
- Button {
+ CustomButton {
id: forward
btnText: qsTr("Forward")
}
- Button {
+ CustomButton {
id: reload
btnText: qsTr("Reload")
}
- Button {
+ CustomButton {
id: copyLinkUrl
btnText: qsTr("Copy Link URL")
}
- Button {
+ CustomButton {
id: saveLink
btnText: qsTr("Save Link")
}
- Button {
+ CustomButton {
id: close
btnBlue: false
btnText: qsTr("Close")
}
-
}
}