Back to index

salome-gui  6.5.0
minmax_dialog.py
Go to the documentation of this file.
00001 # -*- coding: utf-8 -*-
00002 
00003 # Form implementation generated from reading ui file 'minmax.ui'
00004 #
00005 # Created: Thu Mar  1 15:23:57 2012
00006 #      by: PyQt4 UI code generator 4.8.1
00007 #
00008 # WARNING! All changes made in this file will be lost!
00009 
00010 from PyQt4 import QtCore, QtGui
00011 
00012 try:
00013     _fromUtf8 = QtCore.QString.fromUtf8
00014 except AttributeError:
00015     _fromUtf8 = lambda s: s
00016 
00017 class Ui_Dialog(object):
00018     def setupUi(self, Dialog):
00019         Dialog.setObjectName(_fromUtf8("Dialog"))
00020         Dialog.resize(178, 156)
00021         Dialog.setSizeGripEnabled(True)
00022         self.gridLayout = QtGui.QGridLayout(Dialog)
00023         self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
00024         self.label_2 = QtGui.QLabel(Dialog)
00025         self.label_2.setObjectName(_fromUtf8("label_2"))
00026         self.gridLayout.addWidget(self.label_2, 0, 0, 1, 1)
00027         self.mesh = QtGui.QLineEdit(Dialog)
00028         self.mesh.setReadOnly(True)
00029         self.mesh.setObjectName(_fromUtf8("mesh"))
00030         self.gridLayout.addWidget(self.mesh, 0, 1, 1, 2)
00031         self.label_3 = QtGui.QLabel(Dialog)
00032         self.label_3.setObjectName(_fromUtf8("label_3"))
00033         self.gridLayout.addWidget(self.label_3, 1, 0, 1, 1)
00034         self.control = QtGui.QComboBox(Dialog)
00035         self.control.setObjectName(_fromUtf8("control"))
00036         self.gridLayout.addWidget(self.control, 1, 1, 1, 2)
00037         self.label = QtGui.QLabel(Dialog)
00038         self.label.setObjectName(_fromUtf8("label"))
00039         self.gridLayout.addWidget(self.label, 2, 0, 1, 1)
00040         self.minvalue = QtGui.QLineEdit(Dialog)
00041         self.minvalue.setReadOnly(True)
00042         self.minvalue.setObjectName(_fromUtf8("minvalue"))
00043         self.gridLayout.addWidget(self.minvalue, 2, 1, 1, 2)
00044         self.label_4 = QtGui.QLabel(Dialog)
00045         self.label_4.setObjectName(_fromUtf8("label_4"))
00046         self.gridLayout.addWidget(self.label_4, 3, 0, 1, 1)
00047         self.maxvalue = QtGui.QLineEdit(Dialog)
00048         self.maxvalue.setReadOnly(True)
00049         self.maxvalue.setObjectName(_fromUtf8("maxvalue"))
00050         self.gridLayout.addWidget(self.maxvalue, 3, 1, 1, 2)
00051         self.buttonBox = QtGui.QDialogButtonBox(Dialog)
00052         self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
00053         self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close|QtGui.QDialogButtonBox.Help)
00054         self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
00055         self.gridLayout.addWidget(self.buttonBox, 4, 0, 1, 3)
00056 
00057         self.retranslateUi(Dialog)
00058         QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("rejected()")), Dialog.OnCancel)
00059         QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL(_fromUtf8("helpRequested()")), Dialog.helpMessage)
00060         QtCore.QObject.connect(self.control, QtCore.SIGNAL(_fromUtf8("activated(QString)")), Dialog.compute_minmax)
00061         QtCore.QMetaObject.connectSlotsByName(Dialog)
00062         Dialog.setTabOrder(self.mesh, self.control)
00063         Dialog.setTabOrder(self.control, self.minvalue)
00064         Dialog.setTabOrder(self.minvalue, self.maxvalue)
00065         Dialog.setTabOrder(self.maxvalue, self.buttonBox)
00066 
00067     def retranslateUi(self, Dialog):
00068         Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "Get min and max value of control", None, QtGui.QApplication.UnicodeUTF8))
00069         self.label_2.setText(QtGui.QApplication.translate("Dialog", "Mesh", None, QtGui.QApplication.UnicodeUTF8))
00070         self.label_3.setText(QtGui.QApplication.translate("Dialog", "Control", None, QtGui.QApplication.UnicodeUTF8))
00071         self.label.setText(QtGui.QApplication.translate("Dialog", "Min", None, QtGui.QApplication.UnicodeUTF8))
00072         self.label_4.setText(QtGui.QApplication.translate("Dialog", "Max", None, QtGui.QApplication.UnicodeUTF8))
00073