hytos / HYTOS / HYTOS / pagefold.qss @ b95146ca
이력 | 보기 | 이력해설 | 다운로드 (2.99 KB)
1 |
/* Customize any plain widget that is a child of a QMainWindow. */ |
---|---|
2 |
QMainWindow > .QWidget { |
3 |
background-color: gainsboro; |
4 |
background-position: top right; |
5 |
background-repeat: no-repeat |
6 |
} |
7 |
|
8 |
/* Provide a padding for the layout inside the frame. The frame |
9 |
exists only to provide a padding for the top-right image, so we |
10 |
explicitly disable the border. */ |
11 |
#mainFrame { |
12 |
padding-right: 30px; |
13 |
border-style: none; |
14 |
border-image: none; /* since we set a border-image below */ |
15 |
} |
16 |
|
17 |
/* mainFrame won't have this border-image since we have |
18 |
explicitly set it to 'none' using a more specific selector. */ |
19 |
QFrame, QLineEdit{ |
20 |
border-width: 3; |
21 |
} |
22 |
|
23 |
QLabel { |
24 |
border: none; |
25 |
border-image: none; |
26 |
padding: 0; |
27 |
background: none; |
28 |
} |
29 |
|
30 |
/* Make text in message boxes selectable. */ |
31 |
QMessageBox { |
32 |
/* LinksAccessibleByMouse | TextSelectableByMouse */ |
33 |
messagebox-text-interaction-flags: 5; |
34 |
} |
35 |
|
36 |
/* Set the selection colors for all widgets. */ |
37 |
QWidget { |
38 |
selection-color: grey; |
39 |
selection-background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffa02f, stop: 1 #d7801a); |
40 |
color: black; |
41 |
} |
42 |
|
43 |
QWidget:focus |
44 |
{ |
45 |
border: 2px solid QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffa02f, stop: 1 #d7801a); |
46 |
} |
47 |
|
48 |
/* Make the entire row selected in item views. */ |
49 |
QAbstractItemView { |
50 |
show-decoration-selected: 1; |
51 |
} |
52 |
|
53 |
/* Nice WindowsXP-style password character for password line edits. */ |
54 |
QLineEdit[echoMode="2"] { |
55 |
lineedit-password-character: 9679; |
56 |
} |
57 |
|
58 |
/* Customize tooltips. */ |
59 |
QToolTip { |
60 |
background-color: rgb(200,200,255); |
61 |
border-color: darkslategray; |
62 |
border-width: 1px; |
63 |
border-style: solid; |
64 |
padding: 3px; |
65 |
font: bold; |
66 |
border-radius: 3px; |
67 |
opacity: 200; |
68 |
} |
69 |
|
70 |
/* Customize radio buttons. */ |
71 |
|
72 |
QRadioButton { |
73 |
spacing: 5px; |
74 |
} |
75 |
|
76 |
QRadioButton::indicator { |
77 |
width: 13px; |
78 |
height: 13px; |
79 |
} |
80 |
|
81 |
/* Customize push buttons and comboboxes. Our read-only combobox |
82 |
is very similar to a push button, so they share the same border image. */ |
83 |
|
84 |
QPushButton { |
85 |
min-width: 4em; |
86 |
} |
87 |
|
88 |
QPushButton{ |
89 |
border-width: 5; |
90 |
} |
91 |
|
92 |
QPushButton:hover, QMenuBar::item:hover { |
93 |
border-width: 5; |
94 |
} |
95 |
|
96 |
QPushButton:pressed, QMenuBar::item:on { |
97 |
border-width: 5; |
98 |
} |
99 |
|
100 |
QMenuBar::item::selected { |
101 |
background-color: grey; |
102 |
color: white; |
103 |
} |
104 |
|
105 |
QMenu::item::selected { |
106 |
background-color: grey; |
107 |
color: white; |
108 |
} |
109 |
|
110 |
/* Customize check boxes. */ |
111 |
QCheckBox { |
112 |
spacing: 5px; |
113 |
} |
114 |
|
115 |
QCheckBox::indicator { |
116 |
width: 13px; |
117 |
height: 13px; |
118 |
} |
119 |
|
120 |
/* Customize the size grip. */ |
121 |
QSizeGrip { |
122 |
width: 16px; |
123 |
height: 16px; |
124 |
} |
125 |
|
126 |
/* Customize the menu bar. */ |
127 |
QMenuBar { |
128 |
border-image: none; |
129 |
border-style: none; |
130 |
border-width: 1px; |
131 |
border-bottom-style: solid; |
132 |
border-bottom-color: darkslategray; |
133 |
padding: 2px; |
134 |
} |
135 |
|
136 |
QToolButton:hover |
137 |
{ |
138 |
background-color: rgb(175,175,175); |
139 |
} |
140 |
|
141 |
QProgressBar{ |
142 |
border: 2px solid grey; |
143 |
border-radius: 5px; |
144 |
text-align: center; |
145 |
} |
146 |
|
147 |
QProgressBar:chunk{ |
148 |
background-color: grey; |
149 |
} |
150 |
|
151 |
QGraphicsView |
152 |
{ |
153 |
border: transparent; |
154 |
background: transparent; |
155 |
} |