From cf443a1c7080a628b2f1ad7e82ee33e534c7f898 Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Tue, 19 May 2020 14:41:23 +0200 Subject: [PATCH] some additions to themes --- ScStwStyling/headers/scstwappthememanager.h | 3 ++ ScStwStyling/resources/ScStwStylingShared.qrc | 2 ++ .../resources/images/BaseStationBlack.png | Bin 0 -> 19249 bytes .../resources/images/BaseStationWhite.png | Bin 0 -> 9691 bytes ScStwStyling/sources/scstwappthememanager.cpp | 33 +++++++++++++----- 5 files changed, 30 insertions(+), 8 deletions(-) create mode 100644 ScStwStyling/resources/images/BaseStationBlack.png create mode 100644 ScStwStyling/resources/images/BaseStationWhite.png diff --git a/ScStwStyling/headers/scstwappthememanager.h b/ScStwStyling/headers/scstwappthememanager.h index d34b263..fd74d9a 100644 --- a/ScStwStyling/headers/scstwappthememanager.h +++ b/ScStwStyling/headers/scstwappthememanager.h @@ -2,6 +2,7 @@ #define SCSTWAPPTHEMEMANAGER_H #include +#include #include "scstwapptheme.h" class ScStwAppThemeManager : public QObject @@ -18,6 +19,8 @@ private: ScStwAppTheme* findThemeByName(QString themeName); + QString lighter(QString color, double factor); + signals: void themeChanged(); diff --git a/ScStwStyling/resources/ScStwStylingShared.qrc b/ScStwStyling/resources/ScStwStylingShared.qrc index eedb90a..814e256 100644 --- a/ScStwStyling/resources/ScStwStylingShared.qrc +++ b/ScStwStyling/resources/ScStwStylingShared.qrc @@ -1,5 +1,7 @@ fonts/fa5solid.woff + images/BaseStationBlack.png + images/BaseStationWhite.png diff --git a/ScStwStyling/resources/images/BaseStationBlack.png b/ScStwStyling/resources/images/BaseStationBlack.png new file mode 100644 index 0000000000000000000000000000000000000000..333340f70d01f16e0d8856a9792eb67e1745031a GIT binary patch literal 19249 zcmeJFX;hQR^9Bre*aZ|bDxxAFj3NUH5|u?ZHHdWz`^yh%5mTH;jXTj<|%~ zQA9_=B8Gj5f}#)v2MvM{wjrnp0Rx0Bk8?P3(s%b=U0q#u)m0U* z9=5kx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Z3ErJjsK;dlXcqU+;I02$g70O425pab529Bnr$g}7RA;JOh89Vk$Eyt%gYaoHKn}7Z+rPMZqg8tMLD;0E59`&WU zaO+Elt<1Z%uus^$9@#EGNkPLmR4+1h~SF15?5zxdF}I5pskPUr$3ksbm=4mpjT+(5r8`33E~c> zsQZDDY;D#x3W~Q2c*dZ3y^BriGtHj15@_cyTlS7b((E$JY_sdq|7{$Q-U+U=DWX z4`P;J7(h7HU(*5m;1UgBEDboIU@lmKunKHjM^1vW;U_ggd_8?KnxA$Lc}C+wAow^1 zBWu22`-;_}#v+6b!tOLg5JfvF-)Lf3%m#w^mc@-p0+g18JcWw_dQC(+&!oc(6;7MTXz8Y1#OyB$SW^D*weHYm?3yYYC zV2LKw1;`F>Sgfs7Sqw+*$4@*gzJ;4D=?v6Cq|C4Y!O9h{-x#tW__tsSvTH_Gz?8U$pdm92IW$Uw{_(Vjz?;`EDx1!B~SwFQRC^a>VtpE+I_ti~Rj8nrwsstB7O|9u*LJ z>YdTMLPBVvODq#OYH- zxOkZQ#)QAmEP@N7Z-}~R_>qC+CQ&f9y?HwHBi}L*mSqQ5V)lTW2J=H6ms08$k|CPC zYd`?jT>N^(V|5XhX>!F1c97qMTWKuP^rCUWc*O%U4ZVXyF!Dq;rq9{GZ8b5>B({pi z{u0Gw$bB$wwdC79TGu3GF*UQGy`GVV-3 HMEd^#n3=I! literal 0 HcmV?d00001 diff --git a/ScStwStyling/sources/scstwappthememanager.cpp b/ScStwStyling/sources/scstwappthememanager.cpp index df09c1b..515ff80 100644 --- a/ScStwStyling/sources/scstwappthememanager.cpp +++ b/ScStwStyling/sources/scstwappthememanager.cpp @@ -5,23 +5,27 @@ ScStwAppThemeManager::ScStwAppThemeManager(QObject *parent) : QObject(parent) QFontDatabase::addApplicationFont(":/fonts/fa5solid.woff"); QVariantMap icons = { - {"backIcon", "\uf053"}, - {"settIcon", "\uf013"}, - {"toppadIcon", "\uf10a"}, - {"startpadIcon", "\uf3fa"}, - {"profilesIcon", "\uf007"}, - {"confirmIcon", "\uf00c"} + {"back", "\uf053"}, + {"settings", "\uf013"}, + {"toppad", "\uf10a"}, + {"startpad", "\uf3fa"}, + {"profiles", "\uf007"}, + {"confirm", "\uf00c"} }; ScStwAppTheme * lightTheme = new ScStwAppTheme ( "Light", { + {"accent", "#0094ff"}, {"background", "white"}, {"button", "white"}, {"buttonPressed", "lightgrey"}, {"buttonBorder", "grey"}, {"disabledButton", "#d5d5d5"}, + {"buttonText", "grey"}, + {"buttonPressedText",this->lighter("lightgrey", 0.5)}, + {"buttonDisabledText", this->lighter("lightgrey", 0.9)}, {"view", "white"}, {"menu", "#f8f8f8"}, @@ -52,7 +56,7 @@ ScStwAppThemeManager::ScStwAppThemeManager(QObject *parent) : QObject(parent) {"settIcon", "qrc:/graphics/icons/settings_black.png"}, {"buzzerIcon", "qrc:/graphics/icons/buzzer_black.png"}, {"startpadIcon", "qrc:/graphics/icons/startpad_black.png"}, - {"baseStationIcon", "qrc:/graphics/icons/BaseStation_black.png"}, + {"baseStationIcon", "qrc:/images/BaseStationBlack.png"}, {"profilesIcon", "qrc:/graphics/icons/user_black.png"}, {"confirmIcon", "qrc:/graphics/icons/ok_black.png"} }); @@ -60,12 +64,16 @@ ScStwAppThemeManager::ScStwAppThemeManager(QObject *parent) : QObject(parent) ScStwAppTheme *darkTheme = new ScStwAppTheme( "Dark", { + {"accent", "#0094ff"}, {"background", "#2d3037"}, {"button", "#202227"}, {"buttonPressed", "#41454f"}, {"buttonBorder", "grey"}, {"disabledButton", "#555555"}, + {"buttonText", "white"}, + {"buttonPressedText",this->lighter("lightgrey", 0.8)}, + {"buttonDisabledText", this->lighter("lightgrey", 0.6)}, {"view", "#202227"}, {"menu", "#292b32"}, @@ -99,7 +107,7 @@ ScStwAppThemeManager::ScStwAppThemeManager(QObject *parent) : QObject(parent) {"settIcon", "qrc:/graphics/icons/settings.png"}, {"buzzerIcon", "qrc:/graphics/icons/buzzer.png"}, {"startpadIcon", "qrc:/graphics/icons/startpad.png"}, - {"baseStationIcon", "qrc:/graphics/icons/BaseStation.png"}, + {"baseStationIcon", "qrc:/images/BaseStationWhite.png"}, {"profilesIcon", "qrc:/graphics/icons/user.png"}, {"confirmIcon", "qrc:/graphics/icons/ok.png"} } @@ -134,3 +142,12 @@ ScStwAppTheme * ScStwAppThemeManager::findThemeByName(QString themeName) { return nullptr; } + +QString ScStwAppThemeManager::lighter(QString color, double factor) { + QColor qcolor = QColor(color); + qcolor.toHsv(); + int h, s, v; + qcolor.getHsv(&h, &s, &v); + qcolor.setHsv(h,s,v * factor); + return qcolor.name(); +}