-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathU-Draw.qml
49 lines (39 loc) · 1.01 KB
/
U-Draw.qml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
import QtQuick 2.9
import Ubuntu.Components 1.3
import "ui" // Import the "ui" folder
import "components"
/*!
\brief MainView with Tabs element.
First Tab has a single Label and
second Tab has a single ToolbarAction.
*/
MainView {
// objectName for functional testing purposes (autopilot-qt5)
objectName: "mainView"
// Note! applicationName needs to match the .desktop filename
applicationName: "udraw.mateo-salta"
/*
This property enables the application to change orientation
when the device is rotated. The default is false.
*/
// automaticOrientation: true
width: units.gu(40)
height: units.gu(71)
Tabs {
id: tabs
DrawTab {
objectName: "Draw"
}
WorldTab {
objectName: "worldTab"
}
Tab {
title: "Color"
page: Page {
ColorPicker {
id: colorPicker
}
}
}
}
}