Skip to content

Commit 1953d28

Browse files
committed
code
full
1 parent a81baa3 commit 1953d28

File tree

6 files changed

+786
-0
lines changed

6 files changed

+786
-0
lines changed

script/Qss/__init__.py

Whitespace-only changes.

script/Qss/__init__.pyc

111 Bytes
Binary file not shown.

script/Qss/qss.py

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
styleData = """
2+
QWidget
3+
{
4+
color: #b1b1b1;
5+
background-color: #323232;
6+
}
7+
QProgressBar
8+
{
9+
border: 2px solid grey;
10+
border-radius: 5px;
11+
text-align: center;
12+
}
13+
QProgressBar::chunk
14+
{
15+
background-color: #d7801a;
16+
width: 2.15px;
17+
margin: 0.5px;
18+
}
19+
QPushButton:pressed
20+
{
21+
background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #2d2d2d, stop: 0.1 #2b2b2b, stop: 0.5 #292929, stop: 0.9 #282828, stop: 1 #252525);
22+
}
23+
QPushButton:hover
24+
{
25+
border: 2px solid QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffa02f, stop: 1 #d7801a);
26+
27+
}
28+
QPushButton
29+
{
30+
color: #b1b1b1;
31+
background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #565656, stop: 0.1 #525252, stop: 0.5 #4e4e4e, stop: 0.9 #4a4a4a, stop: 1 #464646);
32+
border-width: 1px;
33+
border-color: #1e1e1e;
34+
border-style: solid;
35+
border-radius: 6;
36+
padding: 3px;
37+
font-size: 12px;
38+
padding-left: 5px;
39+
padding-right: 5px;
40+
}
41+
QLineEdit:enabled
42+
{
43+
color: rgb(175, 175, 175);
44+
}
45+
46+
QLineEdit:focus
47+
{
48+
49+
border: 2px solid QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #ffa02f, stop: 1 #d7801a);
50+
}
51+
52+
QLineEdit
53+
{
54+
color: #b1b1b1;
55+
background-color: QLinearGradient( x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #565656, stop: 0.1 #525252, stop: 0.5 #4e4e4e, stop: 0.9 #4a4a4a, stop: 1 #464646);
56+
border-width: 0.5px;
57+
selection-background-color: green;
58+
border-color: #1e1e1e;
59+
border-style: solid;
60+
border-radius: 0;
61+
padding: 2px;
62+
font-size: 12px;
63+
padding-left: 5px;
64+
padding-right: 5px;
65+
}
66+
QRadioButton::indicator::checked{
67+
background-color:red;
68+
border-radius: 1px;
69+
border-style: solid;
70+
71+
}
72+
QRadioButton
73+
{
74+
/*color: green;*/
75+
selection-background-color: green;
76+
}
77+
78+
"""

script/Qss/qss.pyc

1.82 KB
Binary file not shown.

script/create_cgtw.bat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
C:\cgteamwork5\python\python.exe O:\Users\PipelineTD\Tools\xmlTool\testReadXML.py
2+
pause

0 commit comments

Comments
 (0)