프로젝트

일반

사용자정보

개정판 8aee9f19

ID8aee9f195f2882c4ef8fe7da3a3d11182dea811f
상위 491572ed
하위 e17d4c6f

함의성이(가) 8달 전에 추가함

add ui

Change-Id: Ib36de3926864f899a4b4cbf35bcd5d88d606423e

차이점 보기:

DTI_PID/DTI_PID/SymbolScale_UI.py
1
# -*- coding: utf-8 -*-
2

  
3
# Form implementation generated from reading ui file './UI/SymbolScale.ui'
4
#
5
# Created by: PyQt5 UI code generator 5.15.4
6
#
7
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
8
# run again.  Do not edit this file unless you know what you are doing.
9

  
10

  
11
from PyQt5 import QtCore, QtGui, QtWidgets
12

  
13

  
14
class Ui_SymbolScaleDialog(object):
15
    def setupUi(self, SymbolScaleDialog):
16
        SymbolScaleDialog.setObjectName("SymbolScaleDialog")
17
        SymbolScaleDialog.resize(300, 91)
18
        SymbolScaleDialog.setMinimumSize(QtCore.QSize(300, 79))
19
        SymbolScaleDialog.setMaximumSize(QtCore.QSize(650, 150))
20
        font = QtGui.QFont()
21
        font.setFamily("맑은 고딕")
22
        font.setBold(True)
23
        font.setWeight(75)
24
        SymbolScaleDialog.setFont(font)
25
        self.verticalLayout = QtWidgets.QVBoxLayout(SymbolScaleDialog)
26
        self.verticalLayout.setObjectName("verticalLayout")
27
        self.gridLayout = QtWidgets.QGridLayout()
28
        self.gridLayout.setObjectName("gridLayout")
29
        self.doubleSpinBoxY = QtWidgets.QDoubleSpinBox(SymbolScaleDialog)
30
        self.doubleSpinBoxY.setMinimum(0.3)
31
        self.doubleSpinBoxY.setMaximum(20.0)
32
        self.doubleSpinBoxY.setSingleStep(0.01)
33
        self.doubleSpinBoxY.setObjectName("doubleSpinBoxY")
34
        self.gridLayout.addWidget(self.doubleSpinBoxY, 0, 3, 1, 1)
35
        self.label = QtWidgets.QLabel(SymbolScaleDialog)
36
        font = QtGui.QFont()
37
        font.setFamily("맑은 고딕")
38
        font.setPointSize(10)
39
        font.setBold(True)
40
        font.setWeight(75)
41
        self.label.setFont(font)
42
        self.label.setObjectName("label")
43
        self.gridLayout.addWidget(self.label, 0, 2, 1, 1)
44
        self.doubleSpinBoxX = QtWidgets.QDoubleSpinBox(SymbolScaleDialog)
45
        self.doubleSpinBoxX.setMinimum(0.3)
46
        self.doubleSpinBoxX.setMaximum(20.0)
47
        self.doubleSpinBoxX.setSingleStep(0.01)
48
        self.doubleSpinBoxX.setObjectName("doubleSpinBoxX")
49
        self.gridLayout.addWidget(self.doubleSpinBoxX, 0, 1, 1, 1)
50
        self.label_2 = QtWidgets.QLabel(SymbolScaleDialog)
51
        self.label_2.setObjectName("label_2")
52
        self.gridLayout.addWidget(self.label_2, 0, 0, 1, 1)
53
        self.verticalLayout.addLayout(self.gridLayout)
54
        self.errorLabel = QtWidgets.QLabel(SymbolScaleDialog)
55
        self.errorLabel.setMaximumSize(QtCore.QSize(16777215, 0))
56
        self.errorLabel.setStyleSheet("")
57
        self.errorLabel.setText("")
58
        self.errorLabel.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
59
        self.errorLabel.setObjectName("errorLabel")
60
        self.verticalLayout.addWidget(self.errorLabel)
61
        self.buttonBox = QtWidgets.QDialogButtonBox(SymbolScaleDialog)
62
        font = QtGui.QFont()
63
        font.setFamily("맑은 고딕")
64
        font.setBold(True)
65
        font.setWeight(75)
66
        self.buttonBox.setFont(font)
67
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
68
        self.buttonBox.setObjectName("buttonBox")
69
        self.verticalLayout.addWidget(self.buttonBox)
70

  
71
        self.retranslateUi(SymbolScaleDialog)
72
        self.buttonBox.rejected.connect(SymbolScaleDialog.reject)
73
        self.buttonBox.accepted.connect(SymbolScaleDialog.accept)
74
        QtCore.QMetaObject.connectSlotsByName(SymbolScaleDialog)
75

  
76
    def retranslateUi(self, SymbolScaleDialog):
77
        _translate = QtCore.QCoreApplication.translate
78
        SymbolScaleDialog.setWindowTitle(_translate("SymbolScaleDialog", "Symbol Scale"))
79
        self.label.setText(_translate("SymbolScaleDialog", "Y : "))
80
        self.label_2.setText(_translate("SymbolScaleDialog", "X : "))
81

  
82

  
83
if __name__ == "__main__":
84
    import sys
85
    app = QtWidgets.QApplication(sys.argv)
86
    SymbolScaleDialog = QtWidgets.QDialog()
87
    ui = Ui_SymbolScaleDialog()
88
    ui.setupUi(SymbolScaleDialog)
89
    SymbolScaleDialog.show()
90
    sys.exit(app.exec_())

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)