ConfigDialog.py 5.36 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'resources/UI/ConfigDialog.ui'
#
# Created by: PyQt5 UI code generator 5.14.1
#
# WARNING! All changes made in this file will be lost!


from PyQt5 import QtCore, QtGui, QtWidgets


class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.setWindowModality(QtCore.Qt.ApplicationModal)
        Dialog.resize(460, 422)
        Dialog.setModal(True)
        self.buttonBox = QtWidgets.QDialogButtonBox(Dialog)
        self.buttonBox.setGeometry(QtCore.QRect(30, 370, 401, 32))
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
        self.buttonBox.setCenterButtons(False)
        self.buttonBox.setObjectName("buttonBox")
        self.formLayoutWidget = QtWidgets.QWidget(Dialog)
        self.formLayoutWidget.setGeometry(QtCore.QRect(19, 9, 421, 351))
        self.formLayoutWidget.setObjectName("formLayoutWidget")
        self.formLayout = QtWidgets.QFormLayout(self.formLayoutWidget)
        self.formLayout.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
        self.formLayout.setContentsMargins(0, 0, 0, 0)
        self.formLayout.setObjectName("formLayout")
        self.amostraLabel = QtWidgets.QLabel(self.formLayoutWidget)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.amostraLabel.setFont(font)
        self.amostraLabel.setObjectName("amostraLabel")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.amostraLabel)
        self.amostraEdit = QtWidgets.QLineEdit(self.formLayoutWidget)
        self.amostraEdit.setObjectName("amostraEdit")
        self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.amostraEdit)
        self.pressaoLabel = QtWidgets.QLabel(self.formLayoutWidget)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.pressaoLabel.setFont(font)
        self.pressaoLabel.setObjectName("pressaoLabel")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.pressaoLabel)
        self.temperaturaLabel = QtWidgets.QLabel(self.formLayoutWidget)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.temperaturaLabel.setFont(font)
        self.temperaturaLabel.setObjectName("temperaturaLabel")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.temperaturaLabel)
        self.pressaoEdit = QtWidgets.QLineEdit(self.formLayoutWidget)
        self.pressaoEdit.setObjectName("pressaoEdit")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.pressaoEdit)
        self.temperaturaEdit = QtWidgets.QLineEdit(self.formLayoutWidget)
        self.temperaturaEdit.setObjectName("temperaturaEdit")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.temperaturaEdit)
        self.gaxetaLabel = QtWidgets.QLabel(self.formLayoutWidget)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.gaxetaLabel.setFont(font)
        self.gaxetaLabel.setObjectName("gaxetaLabel")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.gaxetaLabel)
        self.gaxetaEdit = QtWidgets.QLineEdit(self.formLayoutWidget)
        self.gaxetaEdit.setObjectName("gaxetaEdit")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.gaxetaEdit)
        self.operadorLabel = QtWidgets.QLabel(self.formLayoutWidget)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.operadorLabel.setFont(font)
        self.operadorLabel.setObjectName("operadorLabel")
        self.formLayout.setWidget(4, QtWidgets.QFormLayout.LabelRole, self.operadorLabel)
        self.operadorEdit = QtWidgets.QLineEdit(self.formLayoutWidget)
        self.operadorEdit.setObjectName("operadorEdit")
        self.formLayout.setWidget(4, QtWidgets.QFormLayout.FieldRole, self.operadorEdit)
        self.observacoesLabel = QtWidgets.QLabel(self.formLayoutWidget)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.observacoesLabel.setFont(font)
        self.observacoesLabel.setObjectName("observacoesLabel")
        self.formLayout.setWidget(5, QtWidgets.QFormLayout.LabelRole, self.observacoesLabel)
        self.observacoesEdit = QtWidgets.QTextEdit(self.formLayoutWidget)
        self.observacoesEdit.setObjectName("observacoesEdit")
        self.formLayout.setWidget(5, QtWidgets.QFormLayout.FieldRole, self.observacoesEdit)

        self.retranslateUi(Dialog)
        self.buttonBox.accepted.connect(Dialog.accept)
        self.buttonBox.rejected.connect(Dialog.reject)
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        _translate = QtCore.QCoreApplication.translate
        Dialog.setWindowTitle(_translate("Dialog", "Configuração da aquisição"))
        self.amostraLabel.setText(_translate("Dialog", "Amostra:"))
        self.pressaoLabel.setText(_translate("Dialog", "Pressão"))
        self.temperaturaLabel.setText(_translate("Dialog", "Temperatura"))
        self.gaxetaLabel.setText(_translate("Dialog", "Gaxeta"))
        self.operadorLabel.setText(_translate("Dialog", "Operador"))
        self.observacoesLabel.setText(_translate("Dialog", "Observações"))