add icons from resource to dialogs

This commit is contained in:
Joachim Schmitz 2016-06-21 16:01:59 +02:00
parent 027057a8f5
commit cba0caaf1d
2 changed files with 61 additions and 13 deletions

View file

@ -192,7 +192,11 @@
<item>
<widget class="QToolButton" name="rewindButton">
<property name="text">
<string notr="true">R</string>
<string notr="true"/>
</property>
<property name="icon">
<iconset resource="musescore.qrc">
<normaloff>:/data/icons/media-skip-backward.svg</normaloff>:/data/icons/media-skip-backward.svg</iconset>
</property>
</widget>
</item>
@ -211,7 +215,11 @@
</size>
</property>
<property name="text">
<string notr="true">P</string>
<string notr="true"/>
</property>
<property name="icon">
<iconset resource="musescore.qrc">
<normaloff>:/data/icons/media-playback-start.svg</normaloff>:/data/icons/media-playback-start.svg</iconset>
</property>
<property name="checkable">
<bool>true</bool>
@ -223,14 +231,22 @@
<item>
<widget class="QToolButton" name="countInButton">
<property name="text">
<string notr="true">C</string>
<string notr="true"/>
</property>
<property name="icon">
<iconset resource="musescore.qrc">
<normaloff>:/data/icons/media-playback-countin.svg</normaloff>:/data/icons/media-playback-countin.svg</iconset>
</property>
</widget>
</item>
<item>
<widget class="QToolButton" name="metronomeButton">
<property name="text">
<string notr="true">M</string>
<string notr="true"/>
</property>
<property name="icon">
<iconset resource="musescore.qrc">
<normaloff>:/data/icons/media-playback-metronome.svg</normaloff>:/data/icons/media-playback-metronome.svg</iconset>
</property>
</widget>
</item>
@ -269,7 +285,11 @@
<item>
<widget class="QToolButton" name="loopInButton">
<property name="text">
<string notr="true">I</string>
<string notr="true"/>
</property>
<property name="icon">
<iconset resource="musescore.qrc">
<normaloff>:/data/icons/media-playback-loop-in.svg</normaloff>:/data/icons/media-playback-loop-in.svg</iconset>
</property>
<property name="checkable">
<bool>true</bool>
@ -279,7 +299,11 @@
<item>
<widget class="QToolButton" name="loopButton">
<property name="text">
<string notr="true">L</string>
<string notr="true"/>
</property>
<property name="icon">
<iconset resource="musescore.qrc">
<normaloff>:/data/icons/media-playback-loop.svg</normaloff>:/data/icons/media-playback-loop.svg</iconset>
</property>
<property name="checkable">
<bool>true</bool>
@ -289,7 +313,11 @@
<item>
<widget class="QToolButton" name="loopOutButton">
<property name="text">
<string notr="true">O</string>
<string notr="true"/>
</property>
<property name="icon">
<iconset resource="musescore.qrc">
<normaloff>:/data/icons/media-playback-loop-out.svg</normaloff>:/data/icons/media-playback-loop-out.svg</iconset>
</property>
<property name="checkable">
<bool>true</bool>
@ -1000,6 +1028,8 @@
<tabstop>loopOutButton</tabstop>
<tabstop>relTempoBox</tabstop>
</tabstops>
<resources/>
<resources>
<include location="musescore.qrc"/>
</resources>
<connections/>
</ui>

View file

@ -95,28 +95,44 @@
<item>
<widget class="QPushButton" name="add">
<property name="text">
<string>&lt;--</string>
<string notr="true"/>
</property>
<property name="icon">
<iconset resource="musescore.qrc">
<normaloff>:/data/icons/go-previous.svg</normaloff>:/data/icons/go-previous.svg</iconset>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="remove">
<property name="text">
<string>--&gt;</string>
<string notr="true"/>
</property>
<property name="icon">
<iconset resource="musescore.qrc">
<normaloff>:/data/icons/go-next.svg</normaloff>:/data/icons/go-next.svg</iconset>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="up">
<property name="text">
<string>Up</string>
<string notr="true"/>
</property>
<property name="icon">
<iconset resource="musescore.qrc">
<normaloff>:/data/icons/arrow_up.svg</normaloff>:/data/icons/arrow_up.svg</iconset>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="down">
<property name="text">
<string>Down</string>
<string/>
</property>
<property name="icon">
<iconset resource="musescore.qrc">
<normaloff>:/data/icons/arrow_down.svg</normaloff>:/data/icons/arrow_down.svg</iconset>
</property>
</widget>
</item>
@ -134,7 +150,9 @@
</item>
</layout>
</widget>
<resources/>
<resources>
<include location="musescore.qrc"/>
</resources>
<connections>
<connection>
<sender>buttonBox</sender>