summaryrefslogtreecommitdiffstats
path: root/packaging/ios/Subsurface-mobile/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/ios/Subsurface-mobile/main.qml')
-rw-r--r--packaging/ios/Subsurface-mobile/main.qml40
1 files changed, 0 insertions, 40 deletions
diff --git a/packaging/ios/Subsurface-mobile/main.qml b/packaging/ios/Subsurface-mobile/main.qml
deleted file mode 100644
index 26b1a7998..000000000
--- a/packaging/ios/Subsurface-mobile/main.qml
+++ /dev/null
@@ -1,40 +0,0 @@
-import QtQuick 2.6
-import QtQuick.Controls 1.5
-import QtQuick.Dialogs 1.2
-
-ApplicationWindow {
- visible: true
- width: 640
- height: 480
- title: qsTr("Hello World")
-
- menuBar: MenuBar {
- Menu {
- title: qsTr("File")
- MenuItem {
- text: qsTr("&Open")
- onTriggered: console.log("Open action triggered");
- }
- MenuItem {
- text: qsTr("Exit")
- onTriggered: Qt.quit();
- }
- }
- }
-
- MainForm {
- anchors.fill: parent
- button1.onClicked: messageDialog.show(qsTr("Button 1 pressed"))
- button2.onClicked: messageDialog.show(qsTr("Button 2 pressed"))
- }
-
- MessageDialog {
- id: messageDialog
- title: qsTr("May I have your attention, please?")
-
- function show(caption) {
- messageDialog.text = caption;
- messageDialog.open();
- }
- }
-}