• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision765f5fc62a6f67b5189604469d749f3a87d59a2e (tree)
Zeit2014-04-15 10:12:20
Autorjakago <jakago777@gmai...>
Commiterjakago

Log Message

スタイルシートを環境毎に分離

Ändern Zusammenfassung

Diff

--- /dev/null
+++ b/stylesheet-ubu.qss
@@ -0,0 +1,60 @@
1+QWidget {
2+ font-family: "Times New Roman";
3+ font-size: 12pt;
4+ font-weight: bold;
5+ font-style: normal;
6+ background-color: gainsboro;
7+ /*
8+ background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0 whitesmoke, stop: 1 silver);
9+ */
10+ /*
11+ color: #e7e7eb;
12+ */
13+}
14+
15+QMenuBar {
16+ background-color: gainsboro;
17+}
18+
19+QMenuBar::item {
20+ background: transparent;
21+}
22+
23+QMenuBar::item:selected {
24+ background: #a8a8a8;
25+}
26+
27+QMenuBar::item:pressed {
28+ background: #888888;
29+}
30+
31+QPushButton {
32+ background-color: gainsboro;
33+ /*
34+ background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0 whitesmoke, stop: 1 silver);
35+ */
36+ border-top: 1px solid white;
37+ border-left: 1px solid white;
38+ border-right: 2px solid dimgray;
39+ border-bottom: 2px solid dimgray;
40+ border-radius: 10px;
41+ min-width: 12ex;
42+ min-height: 3ex;
43+}
44+
45+/*
46+QPushButton:hover {
47+ background-color: steelblue;
48+}
49+*/
50+
51+QPushButton:pressed {
52+ border-top: 2px solid dimgray;
53+ border-left: 2px solid dimgray;
54+ border-right: 1px solid white;
55+ border-bottom: 1px solid white;
56+ /*
57+ padding-left: 5px;
58+ padding-top: 5px;
59+ */
60+}
--- /dev/null
+++ b/stylesheet-win.qss
@@ -0,0 +1,60 @@
1+QWidget {
2+ font-family: "Times New Roman";
3+ font-size: 12pt;
4+ font-weight: bold;
5+ font-style: normal;
6+ background-color: gainsboro;
7+ /*
8+ background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0 whitesmoke, stop: 1 silver);
9+ */
10+ /*
11+ color: #e7e7eb;
12+ */
13+}
14+
15+QMenuBar {
16+ background-color: gainsboro;
17+}
18+
19+QMenuBar::item {
20+ background: transparent;
21+}
22+
23+QMenuBar::item:selected {
24+ background: #a8a8a8;
25+}
26+
27+QMenuBar::item:pressed {
28+ background: #888888;
29+}
30+
31+QPushButton {
32+ background-color: gainsboro;
33+ /*
34+ background-color: qlineargradient(x1: 0, y1: 0, x2: 1, y2: 1, stop: 0 whitesmoke, stop: 1 silver);
35+ */
36+ border-top: 1px solid white;
37+ border-left: 1px solid white;
38+ border-right: 2px solid dimgray;
39+ border-bottom: 2px solid dimgray;
40+ border-radius: 10px;
41+ min-width: 12ex;
42+ min-height: 3ex;
43+}
44+
45+/*
46+QPushButton:hover {
47+ background-color: steelblue;
48+}
49+*/
50+
51+QPushButton:pressed {
52+ border-top: 2px solid dimgray;
53+ border-left: 2px solid dimgray;
54+ border-right: 1px solid white;
55+ border-bottom: 1px solid white;
56+ /*
57+ padding-left: 5px;
58+ padding-top: 5px;
59+ */
60+}