-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathWindowSize3.qml
54 lines (53 loc) · 1.11 KB
/
WindowSize3.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
53
54
// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
import QtQuick 1.1
import "mirrorjs.js" as Handler
Rectangle {
property string hexcolor: "#000"
property alias text:title.text
x:250
y:110
radius:10
width: 520
height: 320
color:hexcolor
visible: false
Rectangle {
width:500
x:10
color:hexcolor
height:20
Rectangle{
height:20
width:130
color:hexcolor
Text {
id: title
text: text
font.pixelSize: 12
color:"#fff"
}
}
Rectangle{
x:495
width:10
height:20
radius:10
color:hexcolor
Text{
text:"x"
font.pixelSize: 12
color:"#fff"
}
MouseArea{
anchors.fill: parent
onClicked: Handler.click_secondlevel(text)
}
}
}
Rectangle{
y:16
width:parent.width
height:2
color:"#fff"
}
}