From ff00263b78994827be8c2d19d5f5b17289643bcd Mon Sep 17 00:00:00 2001 From: falkTX Date: Sun, 15 Aug 2021 12:17:45 +0100 Subject: [PATCH] Replace canvas.png with svg version Signed-off-by: falkTX --- resources/resources.qrc | 2 +- resources/scalable/canvas.svg | 159 ++++++++++++++++++++++ resources/ui/carla_about.ui | 5 +- resources/ui/carla_settings.ui | 233 +++++++++++++++++++++++++++++---- 4 files changed, 375 insertions(+), 24 deletions(-) create mode 100644 resources/scalable/canvas.svg diff --git a/resources/resources.qrc b/resources/resources.qrc index 643690341..74ace3905 100644 --- a/resources/resources.qrc +++ b/resources/resources.qrc @@ -38,13 +38,13 @@ 48x48/carla.png 48x48/carla-control.png - 48x48/canvas.png 48x48/jack.png 48x48/juce.png scalable/carla.svg scalable/carla-control.svg + scalable/canvas.svg scalable/folder.svgz scalable/osc.svgz scalable/warning.svgz diff --git a/resources/scalable/canvas.svg b/resources/scalable/canvas.svg new file mode 100644 index 000000000..9f50ba62e --- /dev/null +++ b/resources/scalable/canvas.svg @@ -0,0 +1,159 @@ + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + OUT + + + IN + + diff --git a/resources/ui/carla_about.ui b/resources/ui/carla_about.ui index 792525310..2eb2f0a7e 100644 --- a/resources/ui/carla_about.ui +++ b/resources/ui/carla_about.ui @@ -582,7 +582,10 @@ Qt::PlainText - :/48x48/canvas.png + :/scalable/canvas.svg + + + true diff --git a/resources/ui/carla_settings.ui b/resources/ui/carla_settings.ui index 17d339605..42104c523 100644 --- a/resources/ui/carla_settings.ui +++ b/resources/ui/carla_settings.ui @@ -141,7 +141,7 @@ - :/48x48/canvas.png:/48x48/canvas.png + :/scalable/canvas.svg:/scalable/canvas.svg ItemIsSelectable|ItemIsEnabled @@ -273,7 +273,16 @@ - + + 2 + + + 2 + + + 2 + + 2 @@ -531,7 +540,16 @@ - + + 2 + + + 2 + + + 2 + + 2 @@ -561,11 +579,20 @@ + + + 48 + 48 + + - :/48x48/canvas.png + :/scalable/canvas.svg + + + true Qt::AlignHCenter|Qt::AlignTop @@ -785,7 +812,16 @@ - + + 2 + + + 2 + + + 2 + + 2 @@ -850,7 +886,16 @@ QLayout::SetMinimumSize - + + 0 + + + 0 + + + 0 + + 0 @@ -887,7 +932,16 @@ QLayout::SetMinimumSize - + + 0 + + + 0 + + + 0 + + 0 @@ -1171,7 +1225,16 @@ - + + 2 + + + 2 + + + 2 + + 2 @@ -1684,7 +1747,16 @@ - + + 2 + + + 2 + + + 2 + + 2 @@ -1777,7 +1849,16 @@ 0 - + + 0 + + + 0 + + + 0 + + 0 @@ -1794,7 +1875,16 @@ 0 - + + 0 + + + 0 + + + 0 + + 0 @@ -1835,7 +1925,16 @@ 0 - + + 0 + + + 0 + + + 0 + + 0 @@ -1848,7 +1947,16 @@ 0 - + + 0 + + + 0 + + + 0 + + 0 @@ -1930,7 +2038,16 @@ - + + 2 + + + 2 + + + 2 + + 2 @@ -2059,7 +2176,16 @@ 0 - + + 0 + + + 0 + + + 0 + + 0 @@ -2072,7 +2198,16 @@ 0 - + + 0 + + + 0 + + + 0 + + 0 @@ -2133,7 +2268,16 @@ 0 - + + 0 + + + 0 + + + 0 + + 0 @@ -2146,7 +2290,16 @@ 0 - + + 0 + + + 0 + + + 0 + + 0 @@ -2159,7 +2312,16 @@ 0 - + + 0 + + + 0 + + + 0 + + 0 @@ -2172,7 +2334,16 @@ 0 - + + 0 + + + 0 + + + 0 + + 0 @@ -2254,7 +2425,16 @@ - + + 2 + + + 2 + + + 2 + + 2 @@ -2560,7 +2740,16 @@ - + + 2 + + + 2 + + + 2 + + 2