projects
/
projets
/
fookb-qt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
remove todo
[projets/fookb-qt.git]
/
fookb.qml
1
import Qt.labs.platform 1.1
2
3
SystemTrayIcon {
4
id: systray
5
objectName: "systray"
6
visible: true
7
/* initial mapping is ru */
8
property string lang: "ru"
9
icon.source: {
10
return "qrc:/images/" + lang + ".svg"
11
}
12
13
menu: Menu {
14
visible: false
15
MenuItem {
16
text: qsTr("Quit")
17
onTriggered: Qt.quit()
18
}
19
}
20
}