projects
/
quickdice
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
first commit: set up basic project structure, created simple qt+qml application
[quickdice]
/
src
/
test.qml
1
import Qt 4.7
2
3
Rectangle {
4
width: 640
5
height: 480
6
color: defaultColor
7
8
Text {
9
id: name
10
text: message
11
anchors.centerIn: parent
12
}
13
14
Rectangle {
15
id: myButton
16
width: 250
17
height: 25
18
color: defaultColor
19
20
MouseArea {
21
anchors.fill: parent
22
onClicked: {
23
console.log("onMyButtonClicked");
24
action.trigger();
25
}
26
27
}
28
29
Text {
30
id: myButtonText
31
text: ">> Close button <<"
32
font.pointSize: 16
33
anchors.centerIn: parent
34
}
35
}
36
37
}