├── qss
├── __init__.py
├── image
│ ├── down.png
│ ├── left.png
│ └── right.png
├── __pycache__
│ ├── __init__.cpython-35.pyc
│ └── qsswindow_Fm.cpython-35.pyc
├── QSSWindow.py
├── window.qss
├── qsswindow.ui
└── qsswindow_Fm.py
└── README.md
/qss/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # QSS
2 | pyqt5.8+qt+qss
3 |
--------------------------------------------------------------------------------
/qss/image/down.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/maaooo/QSS/HEAD/qss/image/down.png
--------------------------------------------------------------------------------
/qss/image/left.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/maaooo/QSS/HEAD/qss/image/left.png
--------------------------------------------------------------------------------
/qss/image/right.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/maaooo/QSS/HEAD/qss/image/right.png
--------------------------------------------------------------------------------
/qss/__pycache__/__init__.cpython-35.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/maaooo/QSS/HEAD/qss/__pycache__/__init__.cpython-35.pyc
--------------------------------------------------------------------------------
/qss/__pycache__/qsswindow_Fm.cpython-35.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/maaooo/QSS/HEAD/qss/__pycache__/qsswindow_Fm.cpython-35.pyc
--------------------------------------------------------------------------------
/qss/QSSWindow.py:
--------------------------------------------------------------------------------
1 | # coding=utf-8
2 | """ 测试qss文件 """
3 | import sys
4 |
5 |
6 | from qss.qsswindow_Fm import *
7 | from PyQt5.QtWidgets import QApplication
8 |
9 | class Example(QtWidgets.QMainWindow, Ui_QSSWindow):
10 | """ 测试用例 """
11 | def __init__(self):
12 | super().__init__()
13 | self.loadQSS()
14 | self.setupUi(self)
15 | self.connectSign()
16 | self.initData()
17 | self.show()
18 |
19 | def loadQSS(self):
20 | """ 加载QSS """
21 | file = 'window.qss'
22 | with open(file, 'rt', encoding='utf8') as f:
23 | styleSheet = f.read()
24 | self.setStyleSheet(styleSheet)
25 | f.close()
26 |
27 | def initData(self):
28 | # 初始化常用组件
29 | self.lineEdit.setText("一别两宽,各生欢喜~")
30 | self.comboBox.addItems(['Item1', 'Item2', 'Item3', 'Item4', 'Item5', 'Item6', 'Item7', 'Item2', 'Item3', 'Item4', 'Item5', 'Item6', 'Item7'])
31 | self.horizontalSlider.setValue(50)
32 | self.updateProgressBar()
33 | self.textEdit.setText("忠于理想,面对现实。 \n -- 这杯可乐有点甜")
34 | pass
35 |
36 | def connectSign(self):
37 | """ 连接信号 """
38 | self.horizontalSlider.valueChanged.connect(self.updateProgressBar)
39 | pass
40 |
41 | def updateProgressBar(self):
42 | self.progressBar.setValue(self.horizontalSlider.value())
43 |
44 |
45 |
46 |
47 | if __name__ == '__main__':
48 | app = QApplication(sys.argv)
49 | ex = Example()
50 | sys.exit(app.exec_())
--------------------------------------------------------------------------------
/qss/window.qss:
--------------------------------------------------------------------------------
1 | /*
2 | Notice:
3 | 01 注释只能用多行注释,单行注释会出错
4 | */
5 | /*******定义字体,背景颜色*********/
6 | *{
7 | font: "微软雅黑";
8 | color: rgb(220, 220, 220);
9 | background-color: rgb(68, 68, 68);
10 | border-radius: 2px;
11 | padding: 3px;
12 | margin: 2px;
13 | }
14 | /****************定义边框*****************/
15 | QLineEdit, QPushButton, QTimeEdit,
16 | QSpinBox, QDoubleSpinBox, QComboBox,
17 | QDateEdit, QDateTimeEdit, QGroupBox,
18 | QTextEdit, QTabWidget {
19 | border:1px solid rgb(36, 36, 36);
20 | }
21 | /*************菜单下拉按钮*****************/
22 | QMenu::item {
23 | background-color: transparent;
24 | }
25 | /********菜单下拉按钮(被选择时)***********/
26 | QMenu::item:selected {
27 | background-color: rgb(100, 100, 100);
28 | }
29 | /****************定义菜单栏***************/
30 | QMenuBar {
31 | border-radius: 0;
32 | background-color: rgb(72, 72, 72);
33 | border-bottom: 1px solid rgb(36, 36, 36);
34 | }
35 | /************菜单栏按钮(被选择时)********/
36 | QMenuBar::item:selected {
37 | background-color: rgb(100, 100, 100);
38 | }
39 | /************菜单栏按钮(鼠标悬停)********/
40 | QMenu:hover {
41 | background-color: rgb(100, 100, 100);
42 | }
43 | /*********按钮(渐变:突出显示)***********/
44 | QPushButton {
45 | border-style: inset;
46 | background-color: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(72, 72, 72, 255), stop:1 rgba(56, 56, 56, 255));
47 | border:1px solid rgb(36, 36, 36);
48 | border-radius: 6px;
49 | min-width: 5em;
50 | min-height: 1em;
51 | padding: 6px 6px;
52 | margin: 5px
53 | }
54 | /**************按钮(鼠标悬停)**********/
55 | QPushButton:hover {
56 | background-color: rgb(91, 91, 91);
57 | }
58 | /**************按钮(按下)*************/
59 | QPushButton:pressed {
60 | background-color: rgb(68, 68, 68);
61 | }
62 | QSpinBox::up-button, QTimeEdit::up-button,
63 | QDateEdit::up-button, QDateTimeEdit::up-button,
64 | QDoubleSpinBox::up-button {
65 | subcontrol-position: right;
66 | border: 0px;
67 | }
68 | QSpinBox::down-button, QTimeEdit::down-button,
69 | QDateEdit::down-button, QDateTimeEdit::down-button,
70 | QDoubleSpinBox::down-button {
71 | subcontrol-position: left;
72 | border: 0px;
73 | }
74 | QSpinBox::up-arrow, QTimeEdit::up-arrow,
75 | QDateEdit::up-arrow, QDateTimeEdit::up-arrow,
76 | QDoubleSpinBox::up-arrow {
77 | image: url(image/right.png);
78 | }
79 | QSpinBox::down-arrow, QTimeEdit::down-arrow,
80 | QDateEdit::down-arrow, QDateTimeEdit::down-arrow,
81 | QDoubleSpinBox::down-arrow {
82 | image: url(image/left.png);
83 | }
84 | /*********定义Slider槽的形态**************/
85 | QSlider::groove:horizontal {
86 | height: 6px;
87 | border-radius: 3px;
88 | }
89 | /*********定义Slider柄的形态**************/
90 | QSlider::handle:horizontal {
91 | background-color: rgb(68, 68, 68);
92 | border-radius: 5px;
93 | border: 2px solid rgb(36, 36, 36);
94 | height: 8px;
95 | width: 8px;
96 | margin: -3px -3px;
97 | }
98 | /*********定义handle右边的背景**************/
99 | QSlider::add-page:horizontal{
100 | background: rgb(72, 72, 72);
101 | }
102 | /*********定义handle左边的背景**************/
103 | QSlider::sub-page:horizontal{
104 | background: rgb(36, 36, 36);
105 | }
106 | /****************定义进度条****************/
107 | QProgressBar {
108 | border: 2px solid grey;
109 | border-radius: 5px;
110 | text-align: center;
111 | height: 12px;
112 | }
113 | /*************定义进度条背景**************/
114 | QProgressBar::chunk {
115 | background-color: rgb(128, 128, 128);
116 | width: 8px;
117 | margin: 0.5px;
118 | }
119 |
120 | QTabWidget::pane { /* The tab widget frame */
121 | border: 1px solid rgb(36, 36, 36);
122 | }
123 | QTabWidget::tab-bar {
124 | border: 1px solid rgb(36, 36, 36);
125 | }
126 | QTabBar::tab {
127 | background: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(100, 100, 100, 255), stop:1 rgba(82, 82, 82, 255));
128 | border: 1px solid rgb(36, 36, 36);
129 | border-bottom-color: #C2C7CB; /* same as the pane color */
130 | min-width: 12ex;
131 | min-height: 6ex;
132 | padding: 2px 4px;
133 | }
134 | QTabBar::tab:selected, QTabBar::tab:hover {
135 | border-top: 2px solid red;
136 | padding-top: 3px;
137 | background: qlineargradient(spread:pad, x1:0.5, y1:0, x2:0.5, y2:1, stop:0 rgba(72, 72, 72, 255), stop:1 rgba(56, 56, 56, 255));
138 | }
139 | /*************QComboBox******************/
140 | QComboBox::drop-down {
141 | subcontrol-origin: padding;
142 | subcontrol-position: top right;
143 | width: 20px;
144 | border: 0px;
145 | }
146 | QComboBox::down-arrow {
147 | image: url(image/down.png);
148 | }
149 | QComboBox::down-arrow:on { /* shift the arrow when popup is open */
150 | top: 1px;
151 | left: 1px;
152 | }
153 | /*********下拉列表的item背景***************/
154 | QComboBox QAbstractItemView {
155 | border: 0px;
156 | selection-background-color: rgb(100, 100, 100);
157 | }
--------------------------------------------------------------------------------
/qss/qsswindow.ui:
--------------------------------------------------------------------------------
1 |
2 |
3 | QSSWindow
4 |
5 |
6 |
7 | 0
8 | 0
9 | 625
10 | 407
11 |
12 |
13 |
14 | MainWindow
15 |
16 |
17 |
18 | -
19 |
20 |
21 | <html><head/><body><p><br/></p></body></html>
22 |
23 |
24 | <html><head/><body><p><br/></p></body></html>
25 |
26 |
27 | 0
28 |
29 |
30 |
31 | 常用组件
32 |
33 |
34 |
-
35 |
36 |
37 | GroupBox
38 |
39 |
40 |
-
41 |
42 |
-
43 |
44 |
45 | TextLabel
46 |
47 |
48 |
49 | -
50 |
51 |
52 |
53 |
54 | -
55 |
56 |
-
57 |
58 |
59 | RadioButton
60 |
61 |
62 |
63 | -
64 |
65 |
66 | RadioButton
67 |
68 |
69 |
70 | -
71 |
72 |
73 | CheckBox
74 |
75 |
76 |
77 | -
78 |
79 |
80 | CheckBox
81 |
82 |
83 |
84 | -
85 |
86 |
87 | -
88 |
89 |
90 |
91 |
92 | -
93 |
94 |
-
95 |
96 |
97 |
98 |
99 |
100 | 信息框
101 |
102 |
103 |
104 | -
105 |
106 |
107 |
108 |
109 |
110 | 提示框
111 |
112 |
113 |
114 | -
115 |
116 |
117 |
118 |
119 |
120 | 错误框
121 |
122 |
123 |
124 | -
125 |
126 |
127 |
128 |
129 |
130 | 标准输入框
131 |
132 |
133 |
134 | -
135 |
136 |
137 |
138 |
139 |
140 | 密码输入框
141 |
142 |
143 |
144 | -
145 |
146 |
147 |
148 |
149 |
150 | 下拉输入框
151 |
152 |
153 |
154 | -
155 |
156 |
157 |
158 |
159 |
160 | 新窗体
161 |
162 |
163 |
164 |
165 |
166 | -
167 |
168 |
-
169 |
170 |
171 | false
172 |
173 |
174 |
175 |
176 |
177 | false
178 |
179 |
180 | false
181 |
182 |
183 |
184 | -
185 |
186 |
187 | -
188 |
189 |
190 | -
191 |
192 |
193 | -
194 |
195 |
196 |
197 |
198 | -
199 |
200 |
-
201 |
202 |
203 | 100
204 |
205 |
206 | 50
207 |
208 |
209 | Qt::Horizontal
210 |
211 |
212 | 0
213 |
214 |
215 |
216 | -
217 |
218 |
219 | 24
220 |
221 |
222 |
223 |
224 |
225 | -
226 |
227 |
228 |
229 |
230 |
231 |
232 | groupBox
233 | groupBox
234 |
235 |
236 |
237 | <html><head/><body><p>12</p></body></html>
238 |
239 |
240 | 表格数据
241 |
242 |
243 |
244 |
245 | 导航界面
246 |
247 |
248 |
249 |
250 | 树状列表
251 |
252 |
253 |
254 |
255 | 日历效果
256 |
257 |
258 |
259 |
260 | tab选项卡
261 |
262 |
263 |
264 |
265 | 设备面板
266 |
267 |
268 |
269 |
270 |
271 |
272 |
273 |
298 |
299 |
300 | 新建文件
301 |
302 |
303 |
304 |
305 | 打开文件
306 |
307 |
308 |
309 |
310 |
311 |
312 |
--------------------------------------------------------------------------------
/qss/qsswindow_Fm.py:
--------------------------------------------------------------------------------
1 | # -*- coding: utf-8 -*-
2 |
3 | # Form implementation generated from reading ui file 'D:\02_workspace\python\self\untitled\qss\qsswindow.ui'
4 | #
5 | # Created by: PyQt5 UI code generator 5.8.2
6 | #
7 | # WARNING! All changes made in this file will be lost!
8 |
9 | from PyQt5 import QtCore, QtGui, QtWidgets
10 |
11 | class Ui_QSSWindow(object):
12 | def setupUi(self, QSSWindow):
13 | QSSWindow.setObjectName("QSSWindow")
14 | QSSWindow.resize(625, 407)
15 | self.centralwidget = QtWidgets.QWidget(QSSWindow)
16 | self.centralwidget.setObjectName("centralwidget")
17 | self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.centralwidget)
18 | self.verticalLayout_3.setObjectName("verticalLayout_3")
19 | self.tabWidget = QtWidgets.QTabWidget(self.centralwidget)
20 | self.tabWidget.setObjectName("tabWidget")
21 | self.tab = QtWidgets.QWidget()
22 | self.tab.setObjectName("tab")
23 | self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.tab)
24 | self.verticalLayout_2.setObjectName("verticalLayout_2")
25 | self.groupBox = QtWidgets.QGroupBox(self.tab)
26 | self.groupBox.setObjectName("groupBox")
27 | self.verticalLayout = QtWidgets.QVBoxLayout(self.groupBox)
28 | self.verticalLayout.setObjectName("verticalLayout")
29 | self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
30 | self.horizontalLayout_2.setObjectName("horizontalLayout_2")
31 | self.label = QtWidgets.QLabel(self.groupBox)
32 | self.label.setObjectName("label")
33 | self.horizontalLayout_2.addWidget(self.label)
34 | self.lineEdit = QtWidgets.QLineEdit(self.groupBox)
35 | self.lineEdit.setObjectName("lineEdit")
36 | self.horizontalLayout_2.addWidget(self.lineEdit)
37 | self.verticalLayout.addLayout(self.horizontalLayout_2)
38 | self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
39 | self.horizontalLayout_3.setObjectName("horizontalLayout_3")
40 | self.radioButton = QtWidgets.QRadioButton(self.groupBox)
41 | self.radioButton.setObjectName("radioButton")
42 | self.horizontalLayout_3.addWidget(self.radioButton)
43 | self.radioButton_2 = QtWidgets.QRadioButton(self.groupBox)
44 | self.radioButton_2.setObjectName("radioButton_2")
45 | self.horizontalLayout_3.addWidget(self.radioButton_2)
46 | self.checkBox = QtWidgets.QCheckBox(self.groupBox)
47 | self.checkBox.setObjectName("checkBox")
48 | self.horizontalLayout_3.addWidget(self.checkBox)
49 | self.checkBox_2 = QtWidgets.QCheckBox(self.groupBox)
50 | self.checkBox_2.setObjectName("checkBox_2")
51 | self.horizontalLayout_3.addWidget(self.checkBox_2)
52 | self.comboBox = QtWidgets.QComboBox(self.groupBox)
53 | self.comboBox.setObjectName("comboBox")
54 | self.horizontalLayout_3.addWidget(self.comboBox)
55 | self.comboBox_2 = QtWidgets.QComboBox(self.groupBox)
56 | self.comboBox_2.setObjectName("comboBox_2")
57 | self.horizontalLayout_3.addWidget(self.comboBox_2)
58 | self.verticalLayout.addLayout(self.horizontalLayout_3)
59 | self.horizontalLayout = QtWidgets.QHBoxLayout()
60 | self.horizontalLayout.setObjectName("horizontalLayout")
61 | self.messageBtn = QtWidgets.QPushButton(self.groupBox)
62 | self.messageBtn.setStyleSheet("")
63 | self.messageBtn.setObjectName("messageBtn")
64 | self.horizontalLayout.addWidget(self.messageBtn)
65 | self.tipBtn = QtWidgets.QPushButton(self.groupBox)
66 | self.tipBtn.setStyleSheet("")
67 | self.tipBtn.setObjectName("tipBtn")
68 | self.horizontalLayout.addWidget(self.tipBtn)
69 | self.errorBtn = QtWidgets.QPushButton(self.groupBox)
70 | self.errorBtn.setStyleSheet("")
71 | self.errorBtn.setObjectName("errorBtn")
72 | self.horizontalLayout.addWidget(self.errorBtn)
73 | self.standInBtn = QtWidgets.QPushButton(self.groupBox)
74 | self.standInBtn.setStyleSheet("")
75 | self.standInBtn.setObjectName("standInBtn")
76 | self.horizontalLayout.addWidget(self.standInBtn)
77 | self.passBtn = QtWidgets.QPushButton(self.groupBox)
78 | self.passBtn.setStyleSheet("")
79 | self.passBtn.setObjectName("passBtn")
80 | self.horizontalLayout.addWidget(self.passBtn)
81 | self.inputBtn = QtWidgets.QPushButton(self.groupBox)
82 | self.inputBtn.setStyleSheet("")
83 | self.inputBtn.setObjectName("inputBtn")
84 | self.horizontalLayout.addWidget(self.inputBtn)
85 | self.newWindowBtn = QtWidgets.QPushButton(self.groupBox)
86 | self.newWindowBtn.setStyleSheet("")
87 | self.newWindowBtn.setObjectName("newWindowBtn")
88 | self.horizontalLayout.addWidget(self.newWindowBtn)
89 | self.verticalLayout.addLayout(self.horizontalLayout)
90 | self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
91 | self.horizontalLayout_4.setObjectName("horizontalLayout_4")
92 | self.spinBox = QtWidgets.QSpinBox(self.groupBox)
93 | self.spinBox.setMouseTracking(False)
94 | self.spinBox.setStyleSheet("")
95 | self.spinBox.setAccelerated(False)
96 | self.spinBox.setProperty("showGroupSeparator", False)
97 | self.spinBox.setObjectName("spinBox")
98 | self.horizontalLayout_4.addWidget(self.spinBox)
99 | self.doubleSpinBox = QtWidgets.QDoubleSpinBox(self.groupBox)
100 | self.doubleSpinBox.setObjectName("doubleSpinBox")
101 | self.horizontalLayout_4.addWidget(self.doubleSpinBox)
102 | self.timeEdit = QtWidgets.QTimeEdit(self.groupBox)
103 | self.timeEdit.setObjectName("timeEdit")
104 | self.horizontalLayout_4.addWidget(self.timeEdit)
105 | self.dateEdit = QtWidgets.QDateEdit(self.groupBox)
106 | self.dateEdit.setObjectName("dateEdit")
107 | self.horizontalLayout_4.addWidget(self.dateEdit)
108 | self.dateTimeEdit = QtWidgets.QDateTimeEdit(self.groupBox)
109 | self.dateTimeEdit.setObjectName("dateTimeEdit")
110 | self.horizontalLayout_4.addWidget(self.dateTimeEdit)
111 | self.verticalLayout.addLayout(self.horizontalLayout_4)
112 | self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
113 | self.horizontalLayout_5.setObjectName("horizontalLayout_5")
114 | self.horizontalSlider = QtWidgets.QSlider(self.groupBox)
115 | self.horizontalSlider.setMaximum(100)
116 | self.horizontalSlider.setProperty("value", 50)
117 | self.horizontalSlider.setOrientation(QtCore.Qt.Horizontal)
118 | self.horizontalSlider.setTickInterval(0)
119 | self.horizontalSlider.setObjectName("horizontalSlider")
120 | self.horizontalLayout_5.addWidget(self.horizontalSlider)
121 | self.progressBar = QtWidgets.QProgressBar(self.groupBox)
122 | self.progressBar.setProperty("value", 24)
123 | self.progressBar.setObjectName("progressBar")
124 | self.horizontalLayout_5.addWidget(self.progressBar)
125 | self.verticalLayout.addLayout(self.horizontalLayout_5)
126 | self.textEdit = QtWidgets.QTextEdit(self.groupBox)
127 | self.textEdit.setObjectName("textEdit")
128 | self.verticalLayout.addWidget(self.textEdit)
129 | self.verticalLayout_2.addWidget(self.groupBox)
130 | self.groupBox.raise_()
131 | self.groupBox.raise_()
132 | self.tabWidget.addTab(self.tab, "")
133 | self.tab_7 = QtWidgets.QWidget()
134 | self.tab_7.setObjectName("tab_7")
135 | self.tabWidget.addTab(self.tab_7, "")
136 | self.tab_2 = QtWidgets.QWidget()
137 | self.tab_2.setObjectName("tab_2")
138 | self.tabWidget.addTab(self.tab_2, "")
139 | self.tab_3 = QtWidgets.QWidget()
140 | self.tab_3.setObjectName("tab_3")
141 | self.tabWidget.addTab(self.tab_3, "")
142 | self.tab_4 = QtWidgets.QWidget()
143 | self.tab_4.setObjectName("tab_4")
144 | self.tabWidget.addTab(self.tab_4, "")
145 | self.tab_5 = QtWidgets.QWidget()
146 | self.tab_5.setObjectName("tab_5")
147 | self.tabWidget.addTab(self.tab_5, "")
148 | self.tab_6 = QtWidgets.QWidget()
149 | self.tab_6.setObjectName("tab_6")
150 | self.tabWidget.addTab(self.tab_6, "")
151 | self.verticalLayout_3.addWidget(self.tabWidget)
152 | QSSWindow.setCentralWidget(self.centralwidget)
153 | self.statusbar = QtWidgets.QStatusBar(QSSWindow)
154 | self.statusbar.setObjectName("statusbar")
155 | QSSWindow.setStatusBar(self.statusbar)
156 | self.menubar = QtWidgets.QMenuBar(QSSWindow)
157 | self.menubar.setGeometry(QtCore.QRect(0, 0, 625, 23))
158 | self.menubar.setObjectName("menubar")
159 | self.menu = QtWidgets.QMenu(self.menubar)
160 | self.menu.setObjectName("menu")
161 | self.menu_2 = QtWidgets.QMenu(self.menubar)
162 | self.menu_2.setObjectName("menu_2")
163 | QSSWindow.setMenuBar(self.menubar)
164 | self.actionFile = QtWidgets.QAction(QSSWindow)
165 | self.actionFile.setObjectName("actionFile")
166 | self.actionNew = QtWidgets.QAction(QSSWindow)
167 | self.actionNew.setObjectName("actionNew")
168 | self.menu.addAction(self.actionFile)
169 | self.menu.addSeparator()
170 | self.menu.addAction(self.actionNew)
171 | self.menubar.addAction(self.menu.menuAction())
172 | self.menubar.addAction(self.menu_2.menuAction())
173 |
174 | self.retranslateUi(QSSWindow)
175 | self.tabWidget.setCurrentIndex(0)
176 | QtCore.QMetaObject.connectSlotsByName(QSSWindow)
177 |
178 | def retranslateUi(self, QSSWindow):
179 | _translate = QtCore.QCoreApplication.translate
180 | QSSWindow.setWindowTitle(_translate("QSSWindow", "MainWindow"))
181 | self.tabWidget.setToolTip(_translate("QSSWindow", "
"))
182 | self.tabWidget.setWhatsThis(_translate("QSSWindow", "
"))
183 | self.groupBox.setTitle(_translate("QSSWindow", "GroupBox"))
184 | self.label.setText(_translate("QSSWindow", "TextLabel"))
185 | self.radioButton.setText(_translate("QSSWindow", "RadioButton"))
186 | self.radioButton_2.setText(_translate("QSSWindow", "RadioButton"))
187 | self.checkBox.setText(_translate("QSSWindow", "CheckBox"))
188 | self.checkBox_2.setText(_translate("QSSWindow", "CheckBox"))
189 | self.messageBtn.setText(_translate("QSSWindow", "信息框"))
190 | self.tipBtn.setText(_translate("QSSWindow", "提示框"))
191 | self.errorBtn.setText(_translate("QSSWindow", "错误框"))
192 | self.standInBtn.setText(_translate("QSSWindow", "标准输入框"))
193 | self.passBtn.setText(_translate("QSSWindow", "密码输入框"))
194 | self.inputBtn.setText(_translate("QSSWindow", "下拉输入框"))
195 | self.newWindowBtn.setText(_translate("QSSWindow", "新窗体"))
196 | self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("QSSWindow", "常用组件"))
197 | self.tab_7.setWhatsThis(_translate("QSSWindow", "12
"))
198 | self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_7), _translate("QSSWindow", "表格数据"))
199 | self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("QSSWindow", "导航界面"))
200 | self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("QSSWindow", "树状列表"))
201 | self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_4), _translate("QSSWindow", "日历效果"))
202 | self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_5), _translate("QSSWindow", "tab选项卡"))
203 | self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_6), _translate("QSSWindow", "设备面板"))
204 | self.menu.setTitle(_translate("QSSWindow", "文件"))
205 | self.menu_2.setTitle(_translate("QSSWindow", "编辑"))
206 | self.actionFile.setText(_translate("QSSWindow", "新建文件"))
207 | self.actionNew.setText(_translate("QSSWindow", "打开文件"))
208 |
209 |
--------------------------------------------------------------------------------