QML keyboard indicator for my personnal needs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

20 lines
384 B

import Qt.labs.platform 1.1
SystemTrayIcon {
id: systray
objectName: "systray"
visible: true
/* initial mapping is ru */
property string lang: "ru"
icon.source: {
return "qrc:/images/" + lang + ".svg"
}
menu: Menu {
visible: false
MenuItem {
text: qsTr("Quit")
onTriggered: Qt.quit()
}
}
}