1 # -*- coding: utf-8 -*-
3 # Form implementation generated from reading ui file 'minmax.ui'
5 # Created: Thu Mar 1 15:23:57 2012
6 # by: PyQt4 UI code generator 4.8.1
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:
15 _fromUtf8 = lambda s: s
17 class Ui_Dialog(object):
18 def setupUi(self, Dialog):
19 Dialog.setObjectName(_fromUtf8("Dialog"))
20 Dialog.resize(178, 156)
21 Dialog.setSizeGripEnabled(True)
22 self.gridLayout = QtGui.QGridLayout(Dialog)
23 self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
24 self.label_2 = QtGui.QLabel(Dialog)
25 self.label_2.setObjectName(_fromUtf8("label_2"))
26 self.gridLayout.addWidget(self.label_2, 0, 0, 1, 1)
27 self.mesh = QtGui.QLineEdit(Dialog)
28 self.mesh.setReadOnly(True)
29 self.mesh.setObjectName(_fromUtf8("mesh"))
30 self.gridLayout.addWidget(self.mesh, 0, 1, 1, 2)
31 self.label_3 = QtGui.QLabel(Dialog)
32 self.label_3.setObjectName(_fromUtf8("label_3"))
33 self.gridLayout.addWidget(self.label_3, 1, 0, 1, 1)
34 self.control = QtGui.QComboBox(Dialog)
35 self.control.setObjectName(_fromUtf8("control"))
36 self.gridLayout.addWidget(self.control, 1, 1, 1, 2)
37 self.label = QtGui.QLabel(Dialog)
38 self.label.setObjectName(_fromUtf8("label"))
39 self.gridLayout.addWidget(self.label, 2, 0, 1, 1)
40 self.minvalue = QtGui.QLineEdit(Dialog)
41 self.minvalue.setReadOnly(True)
42 self.minvalue.setObjectName(_fromUtf8("minvalue"))
43 self.gridLayout.addWidget(self.minvalue, 2, 1, 1, 2)
44 self.label_4 = QtGui.QLabel(Dialog)
45 self.label_4.setObjectName(_fromUtf8("label_4"))
46 self.gridLayout.addWidget(self.label_4, 3, 0, 1, 1)
47 self.maxvalue = QtGui.QLineEdit(Dialog)
48 self.maxvalue.setReadOnly(True)
49 self.maxvalue.setObjectName(_fromUtf8("maxvalue"))
50 self.gridLayout.addWidget(self.maxvalue, 3, 1, 1, 2)
51 self.buttonBox = QtGui.QDialogButtonBox(Dialog)
52 self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
53 self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close|QtGui.QDialogButtonBox.Help)
54 self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
55 self.gridLayout.addWidget(self.buttonBox, 4, 0, 1, 3)
57 self.retranslateUi(Dialog)
58 QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), Dialog.OnCancel)
59 QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("helpRequested()")), Dialog.helpMessage)
60 QtCore.QObject.connect(self.control, QtCore.SIGNAL(_fromUtf8("activated(QString)")), Dialog.compute_minmax)
61 QtCore.QMetaObject.connectSlotsByName(Dialog)
62 Dialog.setTabOrder(self.mesh, self.control)
63 Dialog.setTabOrder(self.control, self.minvalue)
64 Dialog.setTabOrder(self.minvalue, self.maxvalue)
65 Dialog.setTabOrder(self.maxvalue, self.buttonBox)
67 def retranslateUi(self, Dialog):
68 Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Get min and max value of control", None, QtGui.QApplication.UnicodeUTF8))
69 self.label_2.setText(QtGui.QApplication.translate("Dialog", "Mesh", None, QtGui.QApplication.UnicodeUTF8))
70 self.label_3.setText(QtGui.QApplication.translate("Dialog", "Control", None, QtGui.QApplication.UnicodeUTF8))
71 self.label.setText(QtGui.QApplication.translate("Dialog", "Min", None, QtGui.QApplication.UnicodeUTF8))
72 self.label_4.setText(QtGui.QApplication.translate("Dialog", "Max", None, QtGui.QApplication.UnicodeUTF8))