hytos / HYTOS / HYTOS / SymbolEditor_UI.py @ aff7c828
이력 | 보기 | 이력해설 | 다운로드 (12.3 KB)
1 |
# -*- coding: utf-8 -*-
|
---|---|
2 |
|
3 |
# Form implementation generated from reading ui file '.\UI\SymbolEditor.ui'
|
4 |
#
|
5 |
# Created by: PyQt5 UI code generator 5.13.0
|
6 |
#
|
7 |
# WARNING! All changes made in this file will be lost!
|
8 |
|
9 |
|
10 |
from PyQt5 import QtCore, QtGui, QtWidgets |
11 |
|
12 |
|
13 |
class Ui_Dialog(object): |
14 |
def setupUi(self, Dialog): |
15 |
Dialog.setObjectName("Dialog")
|
16 |
Dialog.resize(977, 563) |
17 |
Dialog.setMinimumSize(QtCore.QSize(0, 0)) |
18 |
Dialog.setMaximumSize(QtCore.QSize(16777215, 16777215)) |
19 |
font = QtGui.QFont() |
20 |
font.setFamily("맑은 고딕")
|
21 |
Dialog.setFont(font) |
22 |
icon = QtGui.QIcon() |
23 |
icon.addPixmap(QtGui.QPixmap(":/images/HYTOS.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
24 |
Dialog.setWindowIcon(icon) |
25 |
self.gridLayout_3 = QtWidgets.QGridLayout(Dialog)
|
26 |
self.gridLayout_3.setObjectName("gridLayout_3") |
27 |
self.buttonBox = QtWidgets.QDialogButtonBox(Dialog)
|
28 |
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Close|QtWidgets.QDialogButtonBox.Save)
|
29 |
self.buttonBox.setObjectName("buttonBox") |
30 |
self.gridLayout_3.addWidget(self.buttonBox, 2, 0, 1, 1) |
31 |
self.splitter = QtWidgets.QSplitter(Dialog)
|
32 |
self.splitter.setMinimumSize(QtCore.QSize(0, 0)) |
33 |
self.splitter.setOrientation(QtCore.Qt.Horizontal)
|
34 |
self.splitter.setObjectName("splitter") |
35 |
self.widget_3 = QtWidgets.QWidget(self.splitter) |
36 |
self.widget_3.setObjectName("widget_3") |
37 |
self.gridLayout = QtWidgets.QGridLayout(self.widget_3) |
38 |
self.gridLayout.setContentsMargins(0, 0, 0, 0) |
39 |
self.gridLayout.setObjectName("gridLayout") |
40 |
self.verticalLayout_2 = QtWidgets.QVBoxLayout()
|
41 |
self.verticalLayout_2.setObjectName("verticalLayout_2") |
42 |
self.imageViewContainer = QtWidgets.QWidget(self.widget_3) |
43 |
self.imageViewContainer.setObjectName("imageViewContainer") |
44 |
self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.imageViewContainer) |
45 |
self.verticalLayout_3.setObjectName("verticalLayout_3") |
46 |
self.horizontalLayout = QtWidgets.QHBoxLayout()
|
47 |
self.horizontalLayout.setObjectName("horizontalLayout") |
48 |
self.label_3 = QtWidgets.QLabel(self.imageViewContainer) |
49 |
self.label_3.setObjectName("label_3") |
50 |
self.horizontalLayout.addWidget(self.label_3) |
51 |
self.lineEditSvgFilePath = QtWidgets.QLineEdit(self.imageViewContainer) |
52 |
self.lineEditSvgFilePath.setDragEnabled(True) |
53 |
self.lineEditSvgFilePath.setReadOnly(True) |
54 |
self.lineEditSvgFilePath.setObjectName("lineEditSvgFilePath") |
55 |
self.horizontalLayout.addWidget(self.lineEditSvgFilePath) |
56 |
self.pushButtonSvgFilePath = QtWidgets.QPushButton(self.imageViewContainer) |
57 |
self.pushButtonSvgFilePath.setMinimumSize(QtCore.QSize(24, 0)) |
58 |
self.pushButtonSvgFilePath.setMaximumSize(QtCore.QSize(24, 16777215)) |
59 |
self.pushButtonSvgFilePath.setObjectName("pushButtonSvgFilePath") |
60 |
self.horizontalLayout.addWidget(self.pushButtonSvgFilePath) |
61 |
self.verticalLayout_3.addLayout(self.horizontalLayout) |
62 |
self.imageViewerContainerLayout = QtWidgets.QVBoxLayout()
|
63 |
self.imageViewerContainerLayout.setObjectName("imageViewerContainerLayout") |
64 |
self.verticalLayout_3.addLayout(self.imageViewerContainerLayout) |
65 |
self.verticalLayout_2.addWidget(self.imageViewContainer) |
66 |
self.gridLayout.addLayout(self.verticalLayout_2, 0, 1, 1, 1) |
67 |
self.widget = QtWidgets.QWidget(self.splitter) |
68 |
self.widget.setMinimumSize(QtCore.QSize(500, 0)) |
69 |
self.widget.setMaximumSize(QtCore.QSize(500, 16777215)) |
70 |
self.widget.setObjectName("widget") |
71 |
self.gridLayout_2 = QtWidgets.QGridLayout(self.widget) |
72 |
self.gridLayout_2.setContentsMargins(0, 0, 0, 0) |
73 |
self.gridLayout_2.setObjectName("gridLayout_2") |
74 |
self.verticalLayout = QtWidgets.QVBoxLayout()
|
75 |
self.verticalLayout.setObjectName("verticalLayout") |
76 |
self.scrollArea = QtWidgets.QScrollArea(self.widget) |
77 |
self.scrollArea.setMinimumSize(QtCore.QSize(0, 0)) |
78 |
self.scrollArea.setMaximumSize(QtCore.QSize(16777215, 16777215)) |
79 |
self.scrollArea.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
|
80 |
self.scrollArea.setWidgetResizable(True) |
81 |
self.scrollArea.setObjectName("scrollArea") |
82 |
self.scrollAreaWidgetContents = QtWidgets.QWidget()
|
83 |
self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 478, 494)) |
84 |
self.scrollAreaWidgetContents.setMinimumSize(QtCore.QSize(378, 0)) |
85 |
self.scrollAreaWidgetContents.setMaximumSize(QtCore.QSize(16777215, 16777215)) |
86 |
self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents") |
87 |
self.gridLayout_4 = QtWidgets.QGridLayout(self.scrollAreaWidgetContents) |
88 |
self.gridLayout_4.setObjectName("gridLayout_4") |
89 |
self.gridLayout_7 = QtWidgets.QGridLayout()
|
90 |
self.gridLayout_7.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
|
91 |
self.gridLayout_7.setContentsMargins(6, 6, 6, 6) |
92 |
self.gridLayout_7.setObjectName("gridLayout_7") |
93 |
self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
|
94 |
self.horizontalLayout_6.setObjectName("horizontalLayout_6") |
95 |
self.connectionPointLineEdit = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) |
96 |
self.connectionPointLineEdit.setReadOnly(True) |
97 |
self.connectionPointLineEdit.setObjectName("connectionPointLineEdit") |
98 |
self.horizontalLayout_6.addWidget(self.connectionPointLineEdit) |
99 |
self.addConnectionPointButton = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
100 |
self.addConnectionPointButton.setMinimumSize(QtCore.QSize(40, 0)) |
101 |
self.addConnectionPointButton.setMaximumSize(QtCore.QSize(40, 16777215)) |
102 |
self.addConnectionPointButton.setObjectName("addConnectionPointButton") |
103 |
self.horizontalLayout_6.addWidget(self.addConnectionPointButton) |
104 |
self.pushButtonDelConnPt = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
105 |
self.pushButtonDelConnPt.setMinimumSize(QtCore.QSize(40, 0)) |
106 |
self.pushButtonDelConnPt.setMaximumSize(QtCore.QSize(40, 16777215)) |
107 |
self.pushButtonDelConnPt.setObjectName("pushButtonDelConnPt") |
108 |
self.horizontalLayout_6.addWidget(self.pushButtonDelConnPt) |
109 |
self.gridLayout_7.addLayout(self.horizontalLayout_6, 5, 2, 1, 1) |
110 |
self.nameLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
111 |
font = QtGui.QFont() |
112 |
font.setBold(False)
|
113 |
font.setWeight(50)
|
114 |
self.nameLabel.setFont(font)
|
115 |
self.nameLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
116 |
self.nameLabel.setObjectName("nameLabel") |
117 |
self.gridLayout_7.addWidget(self.nameLabel, 3, 0, 1, 1) |
118 |
self.label = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
119 |
self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
120 |
self.label.setObjectName("label") |
121 |
self.gridLayout_7.addWidget(self.label, 1, 0, 1, 1) |
122 |
self.connectionPointLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
123 |
font = QtGui.QFont() |
124 |
font.setBold(False)
|
125 |
font.setWeight(50)
|
126 |
self.connectionPointLabel.setFont(font)
|
127 |
self.connectionPointLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
128 |
self.connectionPointLabel.setObjectName("connectionPointLabel") |
129 |
self.gridLayout_7.addWidget(self.connectionPointLabel, 5, 0, 1, 1) |
130 |
self.nameComboBox = QtWidgets.QComboBox(self.scrollAreaWidgetContents) |
131 |
self.nameComboBox.setObjectName("nameComboBox") |
132 |
self.gridLayout_7.addWidget(self.nameComboBox, 3, 2, 1, 1) |
133 |
self.originalPointLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
134 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) |
135 |
sizePolicy.setHorizontalStretch(0)
|
136 |
sizePolicy.setVerticalStretch(0)
|
137 |
sizePolicy.setHeightForWidth(self.originalPointLabel.sizePolicy().hasHeightForWidth())
|
138 |
self.originalPointLabel.setSizePolicy(sizePolicy)
|
139 |
font = QtGui.QFont() |
140 |
font.setBold(False)
|
141 |
font.setWeight(50)
|
142 |
self.originalPointLabel.setFont(font)
|
143 |
self.originalPointLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
144 |
self.originalPointLabel.setObjectName("originalPointLabel") |
145 |
self.gridLayout_7.addWidget(self.originalPointLabel, 4, 0, 1, 1) |
146 |
self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
|
147 |
self.horizontalLayout_4.setObjectName("horizontalLayout_4") |
148 |
self.originalPointLineEdit = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) |
149 |
self.originalPointLineEdit.setReadOnly(True) |
150 |
self.originalPointLineEdit.setObjectName("originalPointLineEdit") |
151 |
self.horizontalLayout_4.addWidget(self.originalPointLineEdit) |
152 |
self.addOriginalPointButton = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
153 |
self.addOriginalPointButton.setMaximumSize(QtCore.QSize(40, 16777215)) |
154 |
self.addOriginalPointButton.setObjectName("addOriginalPointButton") |
155 |
self.horizontalLayout_4.addWidget(self.addOriginalPointButton) |
156 |
self.gridLayout_7.addLayout(self.horizontalLayout_4, 4, 2, 1, 1) |
157 |
self.typeComboBox = QtWidgets.QComboBox(self.scrollAreaWidgetContents) |
158 |
self.typeComboBox.setObjectName("typeComboBox") |
159 |
self.gridLayout_7.addWidget(self.typeComboBox, 2, 2, 1, 1) |
160 |
self.tableWidgetConnList = QtWidgets.QTableWidget(self.scrollAreaWidgetContents) |
161 |
self.tableWidgetConnList.setObjectName("tableWidgetConnList") |
162 |
self.tableWidgetConnList.setColumnCount(0) |
163 |
self.tableWidgetConnList.setRowCount(0) |
164 |
self.tableWidgetConnList.verticalHeader().setVisible(False) |
165 |
self.gridLayout_7.addWidget(self.tableWidgetConnList, 6, 2, 1, 1) |
166 |
self.imgFileNameLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
167 |
font = QtGui.QFont() |
168 |
font.setBold(False)
|
169 |
font.setWeight(50)
|
170 |
self.imgFileNameLabel.setFont(font)
|
171 |
self.imgFileNameLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
172 |
self.imgFileNameLabel.setObjectName("imgFileNameLabel") |
173 |
self.gridLayout_7.addWidget(self.imgFileNameLabel, 2, 0, 1, 1) |
174 |
self.categoryComboBox = QtWidgets.QComboBox(self.scrollAreaWidgetContents) |
175 |
self.categoryComboBox.setObjectName("categoryComboBox") |
176 |
self.gridLayout_7.addWidget(self.categoryComboBox, 1, 2, 1, 1) |
177 |
self.label_2 = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
178 |
self.label_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
|
179 |
self.label_2.setObjectName("label_2") |
180 |
self.gridLayout_7.addWidget(self.label_2, 0, 0, 1, 1) |
181 |
self.lineEdit_DBPath = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) |
182 |
self.lineEdit_DBPath.setReadOnly(True) |
183 |
self.lineEdit_DBPath.setObjectName("lineEdit_DBPath") |
184 |
self.gridLayout_7.addWidget(self.lineEdit_DBPath, 0, 2, 1, 1) |
185 |
self.gridLayout_4.addLayout(self.gridLayout_7, 0, 0, 1, 1) |
186 |
self.scrollArea.setWidget(self.scrollAreaWidgetContents) |
187 |
self.verticalLayout.addWidget(self.scrollArea) |
188 |
self.gridLayout_2.addLayout(self.verticalLayout, 0, 0, 1, 1) |
189 |
self.gridLayout_3.addWidget(self.splitter, 1, 0, 1, 1) |
190 |
|
191 |
self.retranslateUi(Dialog)
|
192 |
self.buttonBox.accepted.connect(Dialog.accept)
|
193 |
self.buttonBox.rejected.connect(Dialog.reject)
|
194 |
QtCore.QMetaObject.connectSlotsByName(Dialog) |
195 |
|
196 |
def retranslateUi(self, Dialog): |
197 |
_translate = QtCore.QCoreApplication.translate |
198 |
Dialog.setWindowTitle(_translate("Dialog", "Symbol Editor")) |
199 |
self.label_3.setText(_translate("Dialog", "Svg File Path : ")) |
200 |
self.pushButtonSvgFilePath.setText(_translate("Dialog", "...")) |
201 |
self.addConnectionPointButton.setText(_translate("Dialog", "Add")) |
202 |
self.pushButtonDelConnPt.setText(_translate("Dialog", "Del")) |
203 |
self.nameLabel.setText(_translate("Dialog", "Name :")) |
204 |
self.label.setText(_translate("Dialog", "Category :")) |
205 |
self.connectionPointLabel.setText(_translate("Dialog", "Connection Point :")) |
206 |
self.originalPointLabel.setText(_translate("Dialog", "Original Point :")) |
207 |
self.addOriginalPointButton.setText(_translate("Dialog", "Add")) |
208 |
self.imgFileNameLabel.setText(_translate("Dialog", "Type :")) |
209 |
self.label_2.setText(_translate("Dialog", "DB Path :")) |
210 |
import Resource_rc |