1 # -*- coding: utf-8 -*-
3 # Form implementation generated from reading ui file 't_shape_dialog.ui'
5 # Created: Thu Jun 19 11:13:43 2014
6 # by: PyQt4 UI code generator 4.9.6
8 # WARNING! All changes made in this file will be lost!
10 from PyQt4 import QtCore, QtGui
13 _fromUtf8 = QtCore.QString.fromUtf8
14 except AttributeError:
19 _encoding = QtGui.QApplication.UnicodeUTF8
20 def _translate(context, text, disambig):
21 return QtGui.QApplication.translate(context, text, disambig, _encoding)
22 except AttributeError:
23 def _translate(context, text, disambig):
24 return QtGui.QApplication.translate(context, text, disambig)
26 class Ui_Dialog(object):
27 def setupUi(self, Dialog):
28 Dialog.setObjectName(_fromUtf8("Dialog"))
29 Dialog.resize(331, 242)
30 self.verticalLayout = QtGui.QVBoxLayout(Dialog)
31 self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
32 self.gridLayout = QtGui.QGridLayout()
33 self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
34 self.doubleSpinBox_2 = QtGui.QDoubleSpinBox(Dialog)
35 self.doubleSpinBox_2.setObjectName(_fromUtf8("doubleSpinBox_2"))
36 self.gridLayout.addWidget(self.doubleSpinBox_2, 2, 1, 1, 1)
37 self.label = QtGui.QLabel(Dialog)
38 self.label.setObjectName(_fromUtf8("label"))
39 self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
40 self.doubleSpinBox_3 = QtGui.QDoubleSpinBox(Dialog)
41 self.doubleSpinBox_3.setObjectName(_fromUtf8("doubleSpinBox_3"))
42 self.gridLayout.addWidget(self.doubleSpinBox_3, 3, 1, 1, 1)
43 self.doubleSpinBox_4 = QtGui.QDoubleSpinBox(Dialog)
44 self.doubleSpinBox_4.setObjectName(_fromUtf8("doubleSpinBox_4"))
45 self.gridLayout.addWidget(self.doubleSpinBox_4, 4, 1, 1, 1)
46 self.doubleSpinBox = QtGui.QDoubleSpinBox(Dialog)
47 self.doubleSpinBox.setObjectName(_fromUtf8("doubleSpinBox"))
48 self.gridLayout.addWidget(self.doubleSpinBox, 0, 1, 1, 1)
49 self.label_3 = QtGui.QLabel(Dialog)
50 self.label_3.setObjectName(_fromUtf8("label_3"))
51 self.gridLayout.addWidget(self.label_3, 3, 0, 1, 1)
52 self.label_2 = QtGui.QLabel(Dialog)
53 self.label_2.setObjectName(_fromUtf8("label_2"))
54 self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1)
55 self.label_4 = QtGui.QLabel(Dialog)
56 self.label_4.setObjectName(_fromUtf8("label_4"))
57 self.gridLayout.addWidget(self.label_4, 4, 0, 1, 1)
58 self.verticalLayout.addLayout(self.gridLayout)
59 self.checkBox = QtGui.QCheckBox(Dialog)
60 self.checkBox.setObjectName(_fromUtf8("checkBox"))
61 self.verticalLayout.addWidget(self.checkBox)
62 self.buttonBox = QtGui.QDialogButtonBox(Dialog)
63 self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
64 self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
65 self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
66 self.verticalLayout.addWidget(self.buttonBox)
68 self.retranslateUi(Dialog)
69 QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("accepted()")), Dialog.accept)
70 QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), Dialog.reject)
71 QtCore.QMetaObject.connectSlotsByName(Dialog)
73 def retranslateUi(self, Dialog):
74 Dialog.setWindowTitle(_translate("Dialog", "Dialog", None))
75 self.label.setText(_translate("Dialog", "Big pipe radius", None))
76 self.label_3.setText(_translate("Dialog", "Big pipe height", None))
77 self.label_2.setText(_translate("Dialog", "Small pipe radius", None))
78 self.label_4.setText(_translate("Dialog", "Small pipe height", None))
79 self.checkBox.setText(_translate("Dialog", "Build solid part", None))
82 if __name__ == "__main__":
84 app = QtGui.QApplication(sys.argv)
85 Dialog = QtGui.QDialog()