consolidator
/
NewModuleDialog_ui.py
62 строки · 2.9 Кб
1# -*- coding: utf-8 -*-
2
3################################################################################
4## Form generated from reading UI file 'NewModuleDialog.ui'
5##
6## Created by: Qt User Interface Compiler version 6.5.2
7##
8## WARNING! All changes made in this file will be lost when recompiling UI file!
9################################################################################
10
11from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
12QMetaObject, QObject, QPoint, QRect,
13QSize, QTime, QUrl, Qt)
14from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
15QFont, QFontDatabase, QGradient, QIcon,
16QImage, QKeySequence, QLinearGradient, QPainter,
17QPalette, QPixmap, QRadialGradient, QTransform)
18from PySide6.QtWidgets import (QAbstractButton, QApplication, QDialog, QDialogButtonBox,
19QLabel, QLineEdit, QSizePolicy, QWidget)
20
21class Ui_Dialog(object):
22def setupUi(self, Dialog):
23if not Dialog.objectName():
24Dialog.setObjectName(u"Dialog")
25Dialog.resize(669, 150)
26sizePolicy = QSizePolicy(QSizePolicy.Fixed, QSizePolicy.Fixed)
27sizePolicy.setHorizontalStretch(0)
28sizePolicy.setVerticalStretch(0)
29sizePolicy.setHeightForWidth(Dialog.sizePolicy().hasHeightForWidth())
30Dialog.setSizePolicy(sizePolicy)
31self.buttonBox = QDialogButtonBox(Dialog)
32self.buttonBox.setObjectName(u"buttonBox")
33self.buttonBox.setGeometry(QRect(40, 110, 621, 32))
34sizePolicy.setHeightForWidth(self.buttonBox.sizePolicy().hasHeightForWidth())
35self.buttonBox.setSizePolicy(sizePolicy)
36self.buttonBox.setOrientation(Qt.Horizontal)
37self.buttonBox.setStandardButtons(QDialogButtonBox.Cancel|QDialogButtonBox.Ok)
38self.label = QLabel(Dialog)
39self.label.setObjectName(u"label")
40self.label.setGeometry(QRect(10, 10, 51, 16))
41self.lineEdit = QLineEdit(Dialog)
42self.lineEdit.setObjectName(u"lineEdit")
43self.lineEdit.setGeometry(QRect(10, 30, 651, 22))
44self.label_2 = QLabel(Dialog)
45self.label_2.setObjectName(u"label_2")
46self.label_2.setGeometry(QRect(10, 60, 81, 16))
47self.lineEdit_2 = QLineEdit(Dialog)
48self.lineEdit_2.setObjectName(u"lineEdit_2")
49self.lineEdit_2.setGeometry(QRect(10, 80, 651, 22))
50
51self.retranslateUi(Dialog)
52self.buttonBox.accepted.connect(Dialog.accept)
53self.buttonBox.rejected.connect(Dialog.reject)
54
55QMetaObject.connectSlotsByName(Dialog)
56# setupUi
57
58def retranslateUi(self, Dialog):
59Dialog.setWindowTitle(QCoreApplication.translate("Dialog", u"Dialog", None))
60self.label.setText(QCoreApplication.translate("Dialog", u"\u041c\u043e\u0434\u0443\u043b\u044c", None))
61self.label_2.setText(QCoreApplication.translate("Dialog", u"\u041e\u0431\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a", None))
62# retranslateUi
63
64