qmlfrontend/main.qml
author unc0rr
Sun, 07 Jan 2018 01:21:42 +0100
branchqmlfrontend
changeset 12883 adb1fccc706a
parent 12854 28cb18c5e712
child 12884 66171ce586cc
permissions -rw-r--r--
- ResizeWindow function to pass engine new window size - Remove TabBar to leave more space at the bottom of the screen - ifdef GL_ES in shaders
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
12854
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     1
import QtQuick 2.7
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     2
import QtQuick.Controls 2.0
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     3
import QtQuick.Layouts 1.3
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     4
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     5
ApplicationWindow {
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     6
  visible: true
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     7
  width: 640
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     8
  height: 480
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
     9
  title: qsTr("Hello World")
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    10
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    11
  SwipeView {
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    12
    id: swipeView
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    13
    anchors.fill: parent
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    14
    currentIndex: tabBar.currentIndex
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    15
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    16
    Page1 {
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    17
    }
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    18
  }
28cb18c5e712 Add new qmlfrontend project template
unc0rr
parents:
diff changeset
    19
}