support for a country flag icon on the fader tag

This commit is contained in:
Volker Fischer 2015-01-24 15:47:32 +00:00
parent 5c909dc176
commit 290f121e3c
2 changed files with 20 additions and 1 deletions

View file

@ -341,7 +341,7 @@
<item>
<widget class="QLabel" name="lblServerTag">
<property name="text">
<string>Your Alias/Instrument</string>
<string>Alias/Instrument/Country</string>
</property>
<property name="wordWrap">
<bool>false</bool>
@ -380,6 +380,23 @@
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="butCountryFlag">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string/>
</property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/png/flags/res/flags/flagnone.png</normaloff>:/png/flags/res/flags/flagnone.png</iconset>
</property>
</widget>
</item>
</layout>
</item>
<item>
@ -641,6 +658,7 @@
<tabstop>butConnect</tabstop>
<tabstop>edtFaderTag</tabstop>
<tabstop>butInstPicture</tabstop>
<tabstop>butCountryFlag</tabstop>
<tabstop>chbChat</tabstop>
<tabstop>chbSettings</tabstop>
<tabstop>sldAudioPan</tabstop>

View file

@ -54,6 +54,7 @@
<file>res/mainicon.png</file>
</qresource>
<qresource prefix="/png/flags">
<file>res/flags/flagnone.png</file>
<file>res/flags/ad.png</file>
<file>res/flags/ae.png</file>
<file>res/flags/af.png</file>