Allow switching icon theme in musredit

Added the needed facility in the preferences which allows to switch
the icon scheme between plain and dark. This is needed for some OS
where qt doesn't provide the necessary information.
This commit is contained in:
2019-04-26 19:29:24 +02:00
parent dae9ef0ffb
commit 67421b2114
6 changed files with 195 additions and 20 deletions

View File

@@ -9,7 +9,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>455</width>
<width>452</width>
<height>168</height>
</rect>
</property>
@@ -39,13 +39,26 @@
<attribute name="title">
<string>general</string>
</attribute>
<widget class="QWidget" name="layoutWidget_1">
<widget class="QPushButton" name="fDefaultPath_pushButton">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<y>50</y>
<width>421</width>
<height>35</height>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Change Default Search Paths</string>
</property>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>11</x>
<y>11</y>
<width>421</width>
<height>33</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
@@ -66,27 +79,21 @@
</property>
<property name="sizeHint" stdset="0">
<size>
<width>208</width>
<height>20</height>
<width>38</width>
<height>30</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QCheckBox" name="fDarkThemeIcons_checkBox">
<property name="text">
<string>Dark Theme Icons</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QPushButton" name="fDefaultPath_pushButton">
<property name="geometry">
<rect>
<x>10</x>
<y>50</y>
<width>421</width>
<height>31</height>
</rect>
</property>
<property name="text">
<string>Change Default Search Paths</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="fMusrfit_tab">
<attribute name="title">