hytos / HYTOS / HYTOS / SymbolAttrTarget_UI.py @ 29485992
이력 | 보기 | 이력해설 | 다운로드 (3.46 KB)
1 |
# -*- coding: utf-8 -*-
|
---|---|
2 |
|
3 |
# Form implementation generated from reading ui file './UI/SymbolAttrTarget.ui'
|
4 |
#
|
5 |
# Created by: PyQt5 UI code generator 5.11.3
|
6 |
#
|
7 |
# WARNING! All changes made in this file will be lost!
|
8 |
|
9 |
from PyQt5 import QtCore, QtGui, QtWidgets |
10 |
|
11 |
class Ui_AttributeTarget(object): |
12 |
def setupUi(self, AttributeTarget): |
13 |
AttributeTarget.setObjectName("AttributeTarget")
|
14 |
AttributeTarget.resize(496, 341) |
15 |
font = QtGui.QFont() |
16 |
font.setFamily("맑은 고딕")
|
17 |
AttributeTarget.setFont(font) |
18 |
icon = QtGui.QIcon() |
19 |
icon.addPixmap(QtGui.QPixmap(":/newPrefix/setting.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
20 |
AttributeTarget.setWindowIcon(icon) |
21 |
self.gridLayout = QtWidgets.QGridLayout(AttributeTarget)
|
22 |
self.gridLayout.setObjectName("gridLayout") |
23 |
self.buttonBox = QtWidgets.QDialogButtonBox(AttributeTarget)
|
24 |
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
|
25 |
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
|
26 |
self.buttonBox.setObjectName("buttonBox") |
27 |
self.gridLayout.addWidget(self.buttonBox, 2, 0, 1, 1) |
28 |
self.groupBoxTitleBlock = QtWidgets.QGroupBox(AttributeTarget)
|
29 |
self.groupBoxTitleBlock.setObjectName("groupBoxTitleBlock") |
30 |
self.gridLayout_4 = QtWidgets.QGridLayout(self.groupBoxTitleBlock) |
31 |
self.gridLayout_4.setObjectName("gridLayout_4") |
32 |
self.verticalLayout_3 = QtWidgets.QVBoxLayout()
|
33 |
self.verticalLayout_3.setObjectName("verticalLayout_3") |
34 |
self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
|
35 |
self.horizontalLayout_4.setObjectName("horizontalLayout_4") |
36 |
self.tableWidget = QtWidgets.QTableWidget(self.groupBoxTitleBlock) |
37 |
self.tableWidget.setColumnCount(2) |
38 |
self.tableWidget.setObjectName("tableWidget") |
39 |
self.tableWidget.setRowCount(0) |
40 |
self.horizontalLayout_4.addWidget(self.tableWidget) |
41 |
self.verticalLayout_3.addLayout(self.horizontalLayout_4) |
42 |
self.gridLayout_4.addLayout(self.verticalLayout_3, 1, 0, 1, 1) |
43 |
self.horizontalLayout = QtWidgets.QHBoxLayout()
|
44 |
self.horizontalLayout.setObjectName("horizontalLayout") |
45 |
self.checkBox = QtWidgets.QCheckBox(self.groupBoxTitleBlock) |
46 |
self.checkBox.setObjectName("checkBox") |
47 |
self.horizontalLayout.addWidget(self.checkBox) |
48 |
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) |
49 |
self.horizontalLayout.addItem(spacerItem)
|
50 |
self.gridLayout_4.addLayout(self.horizontalLayout, 0, 0, 1, 1) |
51 |
self.gridLayout.addWidget(self.groupBoxTitleBlock, 1, 0, 1, 1) |
52 |
|
53 |
self.retranslateUi(AttributeTarget)
|
54 |
self.buttonBox.accepted.connect(AttributeTarget.accept)
|
55 |
self.buttonBox.rejected.connect(AttributeTarget.reject)
|
56 |
QtCore.QMetaObject.connectSlotsByName(AttributeTarget) |
57 |
|
58 |
def retranslateUi(self, AttributeTarget): |
59 |
_translate = QtCore.QCoreApplication.translate |
60 |
AttributeTarget.setWindowTitle(_translate("AttributeTarget", "Attribute Target")) |
61 |
self.groupBoxTitleBlock.setTitle(_translate("AttributeTarget", "Symbols")) |
62 |
self.checkBox.setText(_translate("AttributeTarget", "Select All")) |
63 |
|
64 |
import MainWindow_rc |
65 |
|
66 |
if __name__ == "__main__": |
67 |
import sys |
68 |
app = QtWidgets.QApplication(sys.argv) |
69 |
AttributeTarget = QtWidgets.QDialog() |
70 |
ui = Ui_AttributeTarget() |
71 |
ui.setupUi(AttributeTarget) |
72 |
AttributeTarget.show() |
73 |
sys.exit(app.exec_()) |
74 |
|