00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 from PyQt4 import QtCore, QtGui
00011
00012 class Ui_dialog(object):
00013 def setupUi(self, dialog):
00014 dialog.setObjectName("dialog")
00015 dialog.resize(380, 170)
00016 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
00017 sizePolicy.setHorizontalStretch(0)
00018 sizePolicy.setVerticalStretch(0)
00019 sizePolicy.setHeightForWidth(dialog.sizePolicy().hasHeightForWidth())
00020 dialog.setSizePolicy(sizePolicy)
00021 dialog.setMinimumSize(QtCore.QSize(0, 0))
00022 self.gridLayout_2 = QtGui.QGridLayout(dialog)
00023 self.gridLayout_2.setObjectName("gridLayout_2")
00024 self.groupBox_2 = QtGui.QGroupBox(dialog)
00025 self.groupBox_2.setObjectName("groupBox_2")
00026 self.gridLayout = QtGui.QGridLayout(self.groupBox_2)
00027 self.gridLayout.setObjectName("gridLayout")
00028 self.check_fly_to_buy_7 = QtGui.QCheckBox(self.groupBox_2)
00029 self.check_fly_to_buy_7.setMinimumSize(QtCore.QSize(148, 18))
00030 self.check_fly_to_buy_7.setChecked(False)
00031 self.check_fly_to_buy_7.setObjectName("check_fly_to_buy_7")
00032 self.gridLayout.addWidget(self.check_fly_to_buy_7, 0, 0, 1, 1)
00033 self.check_fly_to_buy_4 = QtGui.QCheckBox(self.groupBox_2)
00034 self.check_fly_to_buy_4.setMinimumSize(QtCore.QSize(148, 18))
00035 self.check_fly_to_buy_4.setChecked(False)
00036 self.check_fly_to_buy_4.setObjectName("check_fly_to_buy_4")
00037 self.gridLayout.addWidget(self.check_fly_to_buy_4, 0, 1, 1, 1)
00038 spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
00039 self.gridLayout.addItem(spacerItem, 1, 0, 1, 1)
00040 spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
00041 self.gridLayout.addItem(spacerItem1, 1, 1, 1, 1)
00042 self.check_fly_to_buy_8 = QtGui.QCheckBox(self.groupBox_2)
00043 self.check_fly_to_buy_8.setMinimumSize(QtCore.QSize(148, 18))
00044 self.check_fly_to_buy_8.setChecked(False)
00045 self.check_fly_to_buy_8.setObjectName("check_fly_to_buy_8")
00046 self.gridLayout.addWidget(self.check_fly_to_buy_8, 2, 0, 1, 1)
00047 self.check_fly_to_buy_2 = QtGui.QCheckBox(self.groupBox_2)
00048 self.check_fly_to_buy_2.setMinimumSize(QtCore.QSize(148, 18))
00049 self.check_fly_to_buy_2.setChecked(False)
00050 self.check_fly_to_buy_2.setObjectName("check_fly_to_buy_2")
00051 self.gridLayout.addWidget(self.check_fly_to_buy_2, 2, 1, 1, 1)
00052 spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
00053 self.gridLayout.addItem(spacerItem2, 3, 0, 1, 1)
00054 spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
00055 self.gridLayout.addItem(spacerItem3, 3, 1, 1, 1)
00056 self.check_fly_to_buy_5 = QtGui.QCheckBox(self.groupBox_2)
00057 self.check_fly_to_buy_5.setMinimumSize(QtCore.QSize(148, 18))
00058 self.check_fly_to_buy_5.setChecked(False)
00059 self.check_fly_to_buy_5.setObjectName("check_fly_to_buy_5")
00060 self.gridLayout.addWidget(self.check_fly_to_buy_5, 4, 0, 1, 1)
00061 self.check_fly_to_buy_3 = QtGui.QCheckBox(self.groupBox_2)
00062 self.check_fly_to_buy_3.setMinimumSize(QtCore.QSize(148, 18))
00063 self.check_fly_to_buy_3.setChecked(False)
00064 self.check_fly_to_buy_3.setObjectName("check_fly_to_buy_3")
00065 self.gridLayout.addWidget(self.check_fly_to_buy_3, 4, 1, 1, 1)
00066 self.gridLayout_2.addWidget(self.groupBox_2, 0, 0, 1, 2)
00067 self.buttonBox = QtGui.QDialogButtonBox(dialog)
00068 self.buttonBox.setOrientation(QtCore.Qt.Vertical)
00069 self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
00070 self.buttonBox.setObjectName("buttonBox")
00071 self.gridLayout_2.addWidget(self.buttonBox, 0, 2, 1, 1)
00072 self.button_select_results_folder = QtGui.QPushButton(dialog)
00073 self.button_select_results_folder.setObjectName("button_select_results_folder")
00074 self.gridLayout_2.addWidget(self.button_select_results_folder, 1, 0, 1, 1)
00075 self.button_start_postprocessing = QtGui.QPushButton(dialog)
00076 self.button_start_postprocessing.setEnabled(False)
00077 self.button_start_postprocessing.setMinimumSize(QtCore.QSize(0, 23))
00078 self.button_start_postprocessing.setObjectName("button_start_postprocessing")
00079 self.gridLayout_2.addWidget(self.button_start_postprocessing, 1, 1, 1, 1)
00080
00081 self.retranslateUi(dialog)
00082 QtCore.QMetaObject.connectSlotsByName(dialog)
00083
00084 def retranslateUi(self, dialog):
00085 dialog.setWindowTitle(QtGui.QApplication.translate("dialog", "Machining Distortion Prediction", None, QtGui.QApplication.UnicodeUTF8))
00086 self.groupBox_2.setTitle(QtGui.QApplication.translate("dialog", "Output Elements", None, QtGui.QApplication.UnicodeUTF8))
00087 self.check_fly_to_buy_7.setText(QtGui.QApplication.translate("dialog", "Max Displacement X", None, QtGui.QApplication.UnicodeUTF8))
00088 self.check_fly_to_buy_4.setText(QtGui.QApplication.translate("dialog", "Min Displacement X", None, QtGui.QApplication.UnicodeUTF8))
00089 self.check_fly_to_buy_8.setText(QtGui.QApplication.translate("dialog", "Max Displacement Y", None, QtGui.QApplication.UnicodeUTF8))
00090 self.check_fly_to_buy_2.setText(QtGui.QApplication.translate("dialog", "Min Displacement Y", None, QtGui.QApplication.UnicodeUTF8))
00091 self.check_fly_to_buy_5.setText(QtGui.QApplication.translate("dialog", "Max Displacement Z", None, QtGui.QApplication.UnicodeUTF8))
00092 self.check_fly_to_buy_3.setText(QtGui.QApplication.translate("dialog", "Min Displacement Z", None, QtGui.QApplication.UnicodeUTF8))
00093 self.button_select_results_folder.setText(QtGui.QApplication.translate("dialog", "Select Results Folder", None, QtGui.QApplication.UnicodeUTF8))
00094 self.button_start_postprocessing.setText(QtGui.QApplication.translate("dialog", "Start Postprocessing", None, QtGui.QApplication.UnicodeUTF8))
00095