-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexplain.ui
More file actions
77 lines (70 loc) · 1.54 KB
/
explain.ui
File metadata and controls
77 lines (70 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>explain</class>
<widget class="QWidget" name="explain">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>300</height>
</rect>
</property>
<property name="windowTitle">
<string>说明</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QPlainTextEdit" name="plainTextEdit">
<property name="styleSheet">
<string notr="true">QPlainTextEdit {
background-color: #f5f7fa;
border: 1px solid #d1d5da;
border-radius: 4px;
padding: 8px;
color: #333333;
font-family: 'Segoe UI', 'Roboto', sans-serif;
font-size: 14px;
line-height: 1.5;
}
QPlainTextEdit:focus {
border-color: #4CAF50;
outline: none;
/* 移除不支持的 box-shadow */
}
QScrollBar:vertical {
background: #f1f1f1;
width: 12px;
margin: 0;
}
QScrollBar::handle:vertical {
background: #c1c1c1;
min-height: 20px;
border-radius: 6px;
}
QScrollBar::handle:vertical:hover {
background: #a1a1a1;
}
QScrollBar::add-line:vertical,
QScrollBar::sub-line:vertical {
height: 0;
}
QScrollBar::add-page:vertical,
QScrollBar::sub-page:vertical {
background: none;
}
QPlainTextEdit[readOnly="true"] {
background-color: #f9f9f9;
color: #666666;
}</string>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>
<connections/>
</ui>