프로젝트

일반

사용자정보

개정판 a3811ad8

IDa3811ad834f4d189b992242f71cc3e620920b747
상위 4a293b4c
하위 4b848033

김연진이(가) 약 5년 전에 추가함

issue #1055 : 스트림별 거칠기 항목 정의

Change-Id: I379316b17f9ac0e0a09c1a45dd9e5d7f322d21e9

차이점 보기:

HYTOS/HYTOS/Roughness_UI.py
13 13
class Ui_RoughnessDialog(object):
14 14
    def setupUi(self, RoughnessDialog):
15 15
        RoughnessDialog.setObjectName("RoughnessDialog")
16
        RoughnessDialog.resize(613, 284)
16
        RoughnessDialog.resize(579, 305)
17 17
        font = QtGui.QFont()
18 18
        font.setFamily("맑은 고딕")
19 19
        RoughnessDialog.setFont(font)
......
30 30
        self.tableWidget_Roughness.setObjectName("tableWidget_Roughness")
31 31
        self.tableWidget_Roughness.setColumnCount(0)
32 32
        self.tableWidget_Roughness.setRowCount(0)
33
        self.gridLayout.addWidget(self.tableWidget_Roughness, 2, 0, 1, 1)
33
        self.gridLayout.addWidget(self.tableWidget_Roughness, 1, 0, 1, 1)
34
        self.gridLayout_2.addLayout(self.gridLayout, 1, 0, 1, 1)
34 35
        self.horizontalLayout = QtWidgets.QHBoxLayout()
35 36
        self.horizontalLayout.setObjectName("horizontalLayout")
36
        self.label = QtWidgets.QLabel(RoughnessDialog)
37
        self.label.setMinimumSize(QtCore.QSize(0, 0))
38
        self.label.setMaximumSize(QtCore.QSize(16777215, 16777215))
39
        self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
40
        self.label.setObjectName("label")
41
        self.horizontalLayout.addWidget(self.label)
42
        self.lineEdit_SelectedMaterial = QtWidgets.QLineEdit(RoughnessDialog)
43
        self.lineEdit_SelectedMaterial.setEnabled(False)
44
        self.lineEdit_SelectedMaterial.setMinimumSize(QtCore.QSize(160, 0))
45
        self.lineEdit_SelectedMaterial.setMaximumSize(QtCore.QSize(160, 16777215))
46
        self.lineEdit_SelectedMaterial.setAlignment(QtCore.Qt.AlignCenter)
47
        self.lineEdit_SelectedMaterial.setObjectName("lineEdit_SelectedMaterial")
48
        self.horizontalLayout.addWidget(self.lineEdit_SelectedMaterial)
49
        self.label_2 = QtWidgets.QLabel(RoughnessDialog)
50
        self.label_2.setObjectName("label_2")
51
        self.horizontalLayout.addWidget(self.label_2)
52
        self.lineEdit_SelectedValue = QtWidgets.QLineEdit(RoughnessDialog)
53
        self.lineEdit_SelectedValue.setEnabled(False)
54
        self.lineEdit_SelectedValue.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
55
        self.lineEdit_SelectedValue.setObjectName("lineEdit_SelectedValue")
56
        self.horizontalLayout.addWidget(self.lineEdit_SelectedValue)
57
        self.label_Unit = QtWidgets.QLabel(RoughnessDialog)
58
        self.label_Unit.setMinimumSize(QtCore.QSize(30, 0))
59
        self.label_Unit.setMaximumSize(QtCore.QSize(30, 16777215))
60
        self.label_Unit.setObjectName("label_Unit")
61
        self.horizontalLayout.addWidget(self.label_Unit)
62
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
63
        self.horizontalLayout.addItem(spacerItem)
64
        self.gridLayout.addLayout(self.horizontalLayout, 1, 0, 1, 1)
65
        self.gridLayout_2.addLayout(self.gridLayout, 0, 0, 1, 1)
37
        self.label_current_unit = QtWidgets.QLabel(RoughnessDialog)
38
        self.label_current_unit.setText("")
39
        self.label_current_unit.setObjectName("label_current_unit")
40
        self.horizontalLayout.addWidget(self.label_current_unit)
66 41
        self.buttonBox = QtWidgets.QDialogButtonBox(RoughnessDialog)
67 42
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
68 43
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
69 44
        self.buttonBox.setObjectName("buttonBox")
70
        self.gridLayout_2.addWidget(self.buttonBox, 1, 0, 1, 1)
45
        self.horizontalLayout.addWidget(self.buttonBox)
46
        self.gridLayout_2.addLayout(self.horizontalLayout, 3, 0, 1, 1)
71 47

  
72 48
        self.retranslateUi(RoughnessDialog)
73 49
        self.buttonBox.accepted.connect(RoughnessDialog.accept)
74 50
        self.buttonBox.rejected.connect(RoughnessDialog.reject)
75 51
        QtCore.QMetaObject.connectSlotsByName(RoughnessDialog)
76
        RoughnessDialog.setTabOrder(self.lineEdit_SelectedMaterial, self.lineEdit_SelectedValue)
77
        RoughnessDialog.setTabOrder(self.lineEdit_SelectedValue, self.tableWidget_Roughness)
78 52

  
79 53
    def retranslateUi(self, RoughnessDialog):
80 54
        _translate = QtCore.QCoreApplication.translate
81 55
        RoughnessDialog.setWindowTitle(_translate("RoughnessDialog", "Select Material (General Eq.)"))
82
        self.label.setText(_translate("RoughnessDialog", "Selected Material :"))
83
        self.label_2.setText(_translate("RoughnessDialog", "Selected Value :"))
84
        self.label_Unit.setText(_translate("RoughnessDialog", "in"))
85 56
import Resource_rc

내보내기 Unified diff

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