1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/main.qml Tue May 27 12:00:47 2014 +0200
1.3 @@ -0,0 +1,51 @@
1.4 +import QtQuick 2.2
1.5 +import QtQuick.Controls 1.2
1.6 +import QtPositioning 5.3
1.7 +import QtWinExtras 1.0
1.8 +import QtQuick.Dialogs 1.2
1.9 +import QtQuick.Window 2.1
1.10 +import Qt.labs.settings 1.0
1.11 +
1.12 +
1.13 +
1.14 +ApplicationWindow {
1.15 + id: appWindow
1.16 + visible: true
1.17 + width: 640
1.18 + height: 480
1.19 + title: qsTr("MiniDisplay Manager")
1.20 + SystemPalette { id: palette }
1.21 +
1.22 + Settings {
1.23 + property alias x: appWindow.x
1.24 + property alias y: appWindow.y
1.25 + property alias width: appWindow.width
1.26 + property alias height: appWindow.height
1.27 + }
1.28 +
1.29 + /*
1.30 + menuBar: MenuBar {
1.31 + Menu {
1.32 + title: qsTr("File")
1.33 + MenuItem {
1.34 + text: qsTr("Exit")
1.35 + onTriggered: Qt.quit();
1.36 + }
1.37 + }
1.38 +
1.39 + }*/
1.40 +
1.41 + TabView {
1.42 + anchors.fill: parent
1.43 + anchors.margins: 8
1.44 + Tab {
1.45 + title: qsTr("Fonts")
1.46 + FontsTab { anchors.fill: parent }
1.47 + }
1.48 + Tab {
1.49 + title: qsTr("Tests")
1.50 + TestsTab { anchors.fill: parent }
1.51 + }
1.52 +
1.53 + }
1.54 +}