-
Notifications
You must be signed in to change notification settings - Fork 1
/
UpTab.qml
57 lines (42 loc) · 951 Bytes
/
UpTab.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
50
51
52
import QtQuick 2.9
import QtQuick.Window 2.3
//import QtQuick.Controls 1.3
//import QtQuick.Controls.Styles 1.3
//import Ubuntu.Components 1.2
import "main.js" as Scripts
Item {
id:popup
property string number: "0"
property string list:""
//clip: true
onStateChanged: Scripts.loadActions(list)
states: [
State {
name:"Active"
PropertyChanges {
target: popup
x:0
}
},
State {
name:"InActive"
PropertyChanges {
target: popup
x:0 - width
}
}
]
Image {
anchors.fill:parent
source:"img/tabUp.png"
Image {
anchors.fill:parent
source: "img/go-up.svg"
fillMode: Image.PreserveAspectFit
}
}
MouseArea {
anchors.fill:parent
onClicked: console.log("back");
}
}