MCPcopy Create free account
hub / github.com/echQoQ/RustSL / get_main_stylesheet

Function get_main_stylesheet

gui/styles.py:1–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1def get_main_stylesheet():
2 return """
3 QWidget {
4 background: #f7f7f7;
5 color: #222;
6 font-family: 'Comic Sans MS', 'FZShuTi', 'Segoe Script', 'Segoe UI', 'Microsoft YaHei', Arial;
7 font-size: 16px;
8 }
9 QGroupBox {
10 border: 1px solid #bfc4cc;
11 border-radius: 8px;
12 margin-top: 10px;
13 background: #ffffff;
14 font-weight: bold;
15 padding-top: 5px;
16 font-family: 'Comic Sans MS', 'FZShuTi', 'Segoe Script', 'Segoe UI', 'Microsoft YaHei', Arial;
17 font-size: 18px;
18 }
19 QGroupBox:title {
20 subcontrol-origin: margin;
21 left: 10px;
22 padding: 0;
23 }
24 QLabel {
25 color: #333;
26 font-family: 'Comic Sans MS', 'FZShuTi', 'Segoe Script', 'Segoe UI', 'Microsoft YaHei', Arial;
27 }
28 QLineEdit, QComboBox, QTextEdit {
29 background: #fff;
30 border: 1px solid #bfc4cc;
31 border-radius: 5px;
32 color: #222;
33 padding: 4px;
34 font-family: 'Comic Sans MS', 'FZShuTi', 'Segoe Script', 'Segoe UI', 'Microsoft YaHei', Arial;
35 }
36 QPushButton {
37 background: qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 #e3eaff, stop:1 #b3cfff);
38 color: #222;
39 border-radius: 6px;
40 padding: 6px 18px;
41 font-weight: bold;
42 font-family: 'Comic Sans MS', 'FZShuTi', 'Segoe Script', 'Segoe UI', 'Microsoft YaHei', Arial;
43 }
44 QPushButton:hover {
45 background: #d0e3ff;
46 }
47 QProgressBar {
48 border: 1px solid #bfc4cc;
49 border-radius: 6px;
50 text-align: center;
51 background: #fff;
52 height: 18px;
53 }
54 QProgressBar::chunk {
55 background: qlineargradient(x1:0, y1:0, x2:1, y2:0, stop:0 #b3cfff, stop:1 #a7e2d8);
56 border-radius: 6px;
57 }
58 QTextEdit {
59 font-family: 'Comic Sans MS', 'FZShuTi', 'Segoe Script', 'Consolas', 'Fira Mono', 'Microsoft YaHei';
60 font-size: 15px;

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected