Browse Source

Fix a few oddities in about dialog

Closes #1272

Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.3.0-RC1
falkTX 4 years ago
parent
commit
54fc59f3d8
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
3 changed files with 36 additions and 9 deletions
  1. +3
    -3
      resources/resources.qrc
  2. +28
    -4
      resources/ui/carla_about.ui
  3. +5
    -2
      source/frontend/carla_widgets.py

+ 3
- 3
resources/resources.qrc View File

@@ -87,11 +87,11 @@
<file>bitmaps/button_file_down-white.png</file>
<file>bitmaps/button_file_hover-black.png</file>
<file>bitmaps/button_file_hover-white.png</file>
<!--<file>scalable/button_gui-black.svg</file>-->
<file>bitmaps/button_gui-black.png</file>
<file>scalable/button_gui-white.svg</file>
<!--<file>scalable/button_gui_down-black.svg</file>-->
<file>bitmaps/button_gui_down-black.png</file>
<file>scalable/button_gui_down-white.svg</file>
<!--<file>scalable/button_gui_hover-black.svg</file>-->
<file>bitmaps/button_gui_hover-black.png</file>
<file>scalable/button_gui_hover-white.svg</file>

<file>scalable/button_off.svg</file>


+ 28
- 4
resources/ui/carla_about.ui View File

@@ -254,7 +254,10 @@
<string/>
</property>
<property name="pixmap">
<pixmap resource="../resources.qrc">:/bitmaps/dial_03.png</pixmap>
<pixmap resource="../resources.qrc">:/scalable/dial_03.svg</pixmap>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
</widget>
</item>
@@ -276,7 +279,10 @@
<string/>
</property>
<property name="pixmap">
<pixmap resource="../resources.qrc">:/bitmaps/button_on.png</pixmap>
<pixmap resource="../resources.qrc">:/scalable/button_on.svg</pixmap>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
</widget>
</item>
@@ -298,7 +304,10 @@
<string/>
</property>
<property name="pixmap">
<pixmap resource="../resources.qrc">:/bitmaps/button_gui_down-white.png</pixmap>
<pixmap resource="../resources.qrc">:/scalable/button_gui_down-white.svg</pixmap>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
</widget>
</item>
@@ -320,7 +329,10 @@
<string/>
</property>
<property name="pixmap">
<pixmap resource="../resources.qrc">:/bitmaps/button_edit_down-white.png</pixmap>
<pixmap resource="../resources.qrc">:/scalable/button_edit_down-white.svg</pixmap>
</property>
<property name="scaledContents">
<bool>true</bool>
</property>
</widget>
</item>
@@ -686,6 +698,12 @@
</item>
<item row="7" column="0" colspan="4">
<widget class="Line" name="line_vst2">
<property name="lineWidth">
<number>0</number>
</property>
<property name="midLineWidth">
<number>1</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
@@ -905,6 +923,12 @@
</item>
<item row="9" column="0" colspan="4">
<widget class="Line" name="line_vst3">
<property name="lineWidth">
<number>0</number>
</property>
<property name="midLineWidth">
<number>1</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>


+ 5
- 2
source/frontend/carla_widgets.py View File

@@ -128,7 +128,7 @@ class CarlaAboutW(QDialog):
if self.ui.about.palette().color(QPalette.Background).blackF() < 0.5:
self.ui.l_icons.setPixmap(QPixmap(":/bitmaps/carla_about_black.png"))
self.ui.ico_example_edit.setPixmap(QPixmap(":/bitmaps/button_file-black.png"))
self.ui.ico_example_file.setPixmap(QPixmap(":/bitmaps/button_edit-black.png"))
self.ui.ico_example_file.setPixmap(QPixmap(":/scalable/button_edit-black.svg"))
self.ui.ico_example_gui.setPixmap(QPixmap(":/bitmaps/button_gui-black.png"))

if host.isControl:
@@ -207,9 +207,12 @@ class CarlaAboutW(QDialog):

if usingJuce and (MACOS or WINDOWS):
self.ui.l_vst2.setText(self.tr("Using JUCE host"))
self.ui.l_vst3.setText(self.tr("Using JUCE host"))
else:
self.ui.l_vst2.setText(self.tr("About 85&#37; complete (missing vst bank/presets and some minor stuff)"))

if usingJuce:
self.ui.l_vst3.setText(self.tr("Using JUCE host"))
else:
self.ui.line_vst2.hide()
self.ui.l_vst3.hide()
self.ui.lid_vst3.hide()


Loading…
Cancel
Save