Revision | b532dd57844627c7f2fdefb1013b7dfe7b426096 (tree) |
---|---|
Zeit | 2014-04-15 10:33:00 |
Autor | ![]() |
Commiter | jakago |
GUI変更中
@@ -54,7 +54,9 @@ macx { | ||
54 | 54 | } |
55 | 55 | |
56 | 56 | OTHER_FILES += \ |
57 | - stylesheet.qss | |
57 | + stylesheet-mac.qss \ | |
58 | + stylesheet-win.qss \ | |
59 | + stylesheet-ubu.qss | |
58 | 60 | |
59 | 61 | RESOURCES += \ |
60 | 62 | stylesheet.qrc |
@@ -51,7 +51,16 @@ | ||
51 | 51 | #define SCRAMBLE_URL1 "http://www47.atwiki.jp/jakago/pub/scramble.xml" |
52 | 52 | #define SCRAMBLE_URL2 "http://cdn47.atwikiimg.com/jakago/pub/scramble.xml" |
53 | 53 | #define X11_WINDOW_VERTICAL_INCREMENT 5 |
54 | -#define STYLE_SHEET "stylesheet.qss" | |
54 | + | |
55 | +#ifdef QT4_QT5_WIN | |
56 | +#define STYLE_SHEET "stylesheet-win.qss" | |
57 | +#else | |
58 | +#ifdef QT4_QT5_MAC | |
59 | +#define STYLE_SHEET "stylesheet-mac.qss" | |
60 | +#else | |
61 | +#define STYLE_SHEET "stylesheet-ubu.qss" | |
62 | +#endif | |
63 | +#endif | |
55 | 64 | |
56 | 65 | namespace { |
57 | 66 | bool outputDirSpecified = false; |
@@ -1,8 +1,8 @@ | ||
1 | 1 | QWidget { |
2 | - /* | |
3 | - font-family: Verdana, "游ゴシック", YuGothic, "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif; | |
4 | - */ | |
5 | - font-family: "Times New Roman", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "メイリオ", Meiryo, serif; | |
2 | + font-family: "Times New Roman", serif; | |
3 | + font-size: 12pt; | |
4 | + font-weight: bold; | |
5 | + font-style: normal; | |
6 | 6 | background-color: gainsboro; |
7 | 7 | /* |
8 | 8 | background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0 whitesmoke, stop: 1 silver); |
@@ -1,6 +1,6 @@ | ||
1 | 1 | QWidget { |
2 | - font-family: "Times New Roman"; | |
3 | - font-size: 12pt; | |
2 | + font-family: "Times New Roman", serif; | |
3 | + font-size: 10pt; | |
4 | 4 | font-weight: bold; |
5 | 5 | font-style: normal; |
6 | 6 | background-color: gainsboro; |
@@ -1,6 +1,6 @@ | ||
1 | 1 | QWidget { |
2 | - font-family: "Times New Roman"; | |
3 | - font-size: 12pt; | |
2 | + font-family: "MS PMincho", serif; | |
3 | + font-size: 10pt; | |
4 | 4 | font-weight: bold; |
5 | 5 | font-style: normal; |
6 | 6 | background-color: gainsboro; |
@@ -1,5 +1,7 @@ | ||
1 | 1 | <RCC> |
2 | -<qresource prefix="/"> | |
3 | - <file>stylesheet.qss</file> | |
4 | -</qresource> | |
2 | + <qresource prefix="/"> | |
3 | + <file>stylesheet-mac.qss</file> | |
4 | + <file>stylesheet-ubu.qss</file> | |
5 | + <file>stylesheet-win.qss</file> | |
6 | + </qresource> | |
5 | 7 | </RCC> |