mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 01:05:34 +08:00
Ref T34, added font.qss (generic and specific for MacOS) and removed build based qss
This commit is contained in:
@@ -53,20 +53,6 @@ RESOURCES +=
|
||||
DESTDIR = $$DestRoot/lib
|
||||
DLLDESTDIR = $$DestRoot/bin
|
||||
|
||||
QSS_FONT_FAMILY = "Arial"
|
||||
QSS_FONT_SIZE = "8"
|
||||
QSS_FONT_STYLE = "normal"
|
||||
QSS_FONT_WEIGHT = "bold"
|
||||
|
||||
macx {
|
||||
QSS_FONT_SIZE = "12"
|
||||
QSS_FONT_WEIGHT = "normal"
|
||||
}
|
||||
|
||||
fontsqss.input = share/qss/fonts.qss.in
|
||||
fontsqss.output = $$DestRoot/share/qss/fonts.qss
|
||||
QMAKE_SUBSTITUTES += fontsqss
|
||||
|
||||
OTHER_FILES += ./share/qss/*.qss ./share/qss/*.qss.in ./share/qss/*.css
|
||||
COPY_FILES += $$PWD/share/qss/*.qss
|
||||
COPY_FILES += $$PWD/share/qss/*.css
|
||||
|
||||
7
src/blackgui/share/qss/fonts.mac.qss
Normal file
7
src/blackgui/share/qss/fonts.mac.qss
Normal file
@@ -0,0 +1,7 @@
|
||||
QWidget {
|
||||
color: white;
|
||||
font-family: "Arial";
|
||||
font-size: 12pt;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
}
|
||||
7
src/blackgui/share/qss/fonts.qss
Normal file
7
src/blackgui/share/qss/fonts.qss
Normal file
@@ -0,0 +1,7 @@
|
||||
QWidget {
|
||||
color: white;
|
||||
font-family: "Arial";
|
||||
font-size: 8pt;
|
||||
font-style: normal;
|
||||
font-weight: bold;
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
QWidget {
|
||||
color: white;
|
||||
font-family: $$QSS_FONT_FAMILY;
|
||||
font-size: $$QSS_FONT_SIZE pt;
|
||||
font-style: $$QSS_FONT_STYLE;
|
||||
font-weight: $$QSS_FONT_WEIGHT;
|
||||
}
|
||||
Reference in New Issue
Block a user