/* initial mapping is ru */
property string lang: "ru"
icon.source: {
- return "qrc:/images/" + lang + ".png"
+ return "qrc:/images/" + lang + ".svg"
}
menu: Menu {
<!DOCTYPE RCC><RCC version="1.0">
<qresource>
<file>fookb.qml</file>
- <file>images/fr.png</file>
- <file>images/ru.png</file>
+ <file>images/fr.svg</file>
+ <file>images/ru.svg</file>
</qresource>
</RCC>
--- /dev/null
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 3 2">
+<rect width="3" height="2" fill="#ED2939"/>
+<rect width="2" height="2" fill="#fff"/>
+<rect width="1" height="2" fill="#002395"/>
+</svg>
--- /dev/null
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 6">
+<rect fill="#fff" width="9" height="3"/>
+<rect fill="#d52b1e" y="3" width="9" height="3"/>
+<rect fill="#0039a6" y="2" width="9" height="2"/>
+</svg>