class Ui_AxisViewerDlg(object): def setupUi(self, AxisViewerDlg): AxisViewerDlg.setObjectName(_fromUtf8("AxisViewerDlg")) AxisViewerDlg.resize(400, 300) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/cmiss_icon.ico")), QtGui.QIcon.Normal, QtGui.QIcon.Off) AxisViewerDlg.setWindowIcon(icon) self.gridLayout = QtGui.QGridLayout(AxisViewerDlg) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.pushButton = QtGui.QPushButton(AxisViewerDlg) self.pushButton.setObjectName(_fromUtf8("pushButton")) self.gridLayout.addWidget(self.pushButton, 1, 1, 1, 1) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem, 1, 0, 1, 1) self._zincwidget = ZincWidget(AxisViewerDlg) self._zincwidget.setObjectName(_fromUtf8("_zincwidget")) self.gridLayout.addWidget(self._zincwidget, 0, 0, 1, 2) self.retranslateUi(AxisViewerDlg) QtCore.QObject.connect(self.pushButton, QtCore.SIGNAL(_fromUtf8("clicked()")), AxisViewerDlg.close) QtCore.QMetaObject.connectSlotsByName(AxisViewerDlg) def retranslateUi(self, AxisViewerDlg): AxisViewerDlg.setWindowTitle( _translate("AxisViewerDlg", "Axis Viewer", None)) self.pushButton.setText(_translate("AxisViewerDlg", "&Quit", None))
class Ui_AxisViewerDlg(object): def setupUi(self, AxisViewerDlg): AxisViewerDlg.setObjectName(_fromUtf8("AxisViewerDlg")) AxisViewerDlg.resize(400, 300) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/cmiss_icon.ico")), QtGui.QIcon.Normal, QtGui.QIcon.Off) AxisViewerDlg.setWindowIcon(icon) self.gridLayout = QtGui.QGridLayout(AxisViewerDlg) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.pushButton = QtGui.QPushButton(AxisViewerDlg) self.pushButton.setObjectName(_fromUtf8("pushButton")) self.gridLayout.addWidget(self.pushButton, 1, 1, 1, 1) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem, 1, 0, 1, 1) self._zincwidget = ZincWidget(AxisViewerDlg) self._zincwidget.setObjectName(_fromUtf8("_zincwidget")) self.gridLayout.addWidget(self._zincwidget, 0, 0, 1, 2) self.retranslateUi(AxisViewerDlg) QtCore.QObject.connect(self.pushButton, QtCore.SIGNAL(_fromUtf8("clicked()")), AxisViewerDlg.close) QtCore.QMetaObject.connectSlotsByName(AxisViewerDlg) def retranslateUi(self, AxisViewerDlg): AxisViewerDlg.setWindowTitle(_translate("AxisViewerDlg", "Axis Viewer", None)) self.pushButton.setText(_translate("AxisViewerDlg", "&Quit", None))
class Ui_SelectionDlg(object): def setupUi(self, SelectionDlg): SelectionDlg.setObjectName("SelectionDlg") SelectionDlg.resize(400, 300) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/cmiss_icon.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off) SelectionDlg.setWindowIcon(icon) self.gridLayout = QtGui.QGridLayout(SelectionDlg) self.gridLayout.setObjectName("gridLayout") self.quitButton = QtGui.QPushButton(SelectionDlg) self.quitButton.setObjectName("quitButton") self.gridLayout.addWidget(self.quitButton, 1, 1, 1, 1) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem, 1, 0, 1, 1) self.zincWidget = ZincWidget(SelectionDlg) self.zincWidget.setObjectName("zincWidget") self.gridLayout.addWidget(self.zincWidget, 0, 0, 1, 2) self.retranslateUi(SelectionDlg) QtCore.QObject.connect(self.quitButton, QtCore.SIGNAL("clicked()"), SelectionDlg.close) QtCore.QMetaObject.connectSlotsByName(SelectionDlg) def retranslateUi(self, SelectionDlg): SelectionDlg.setWindowTitle(QtGui.QApplication.translate("SelectionDlg", "Selection", None, QtGui.QApplication.UnicodeUTF8)) self.quitButton.setText(QtGui.QApplication.translate("SelectionDlg", "&Quit", None, QtGui.QApplication.UnicodeUTF8))
class Ui_ReadMeshDlg(object): def setupUi(self, ReadMeshDlg): ReadMeshDlg.setObjectName("ReadMeshDlg") ReadMeshDlg.resize(605, 375) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/cmiss_icon.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off) ReadMeshDlg.setWindowIcon(icon) self.gridLayout = QtGui.QGridLayout(ReadMeshDlg) self.gridLayout.setObjectName("gridLayout") self.verticalLayout = QtGui.QVBoxLayout() self.verticalLayout.setObjectName("verticalLayout") self._zincwidget = ZincWidget(ReadMeshDlg) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(1) sizePolicy.setHeightForWidth( self._zincwidget.sizePolicy().hasHeightForWidth()) self._zincwidget.setSizePolicy(sizePolicy) self._zincwidget.setObjectName("_zincwidget") self.verticalLayout.addWidget(self._zincwidget) self.timeSlider = QtGui.QSlider(ReadMeshDlg) self.timeSlider.setMaximum(100) self.timeSlider.setOrientation(QtCore.Qt.Horizontal) self.timeSlider.setObjectName("timeSlider") self.verticalLayout.addWidget(self.timeSlider) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem) self.customButton = QtGui.QPushButton(ReadMeshDlg) self.customButton.setObjectName("customButton") self.horizontalLayout.addWidget(self.customButton) self.quitButton = QtGui.QPushButton(ReadMeshDlg) self.quitButton.setObjectName("quitButton") self.horizontalLayout.addWidget(self.quitButton) self.verticalLayout.addLayout(self.horizontalLayout) self.gridLayout.addLayout(self.verticalLayout, 0, 0, 1, 1) self.retranslateUi(ReadMeshDlg) QtCore.QObject.connect(self.quitButton, QtCore.SIGNAL("clicked()"), ReadMeshDlg.close) QtCore.QObject.connect(self.customButton, QtCore.SIGNAL("clicked()"), ReadMeshDlg.customButton) QtCore.QMetaObject.connectSlotsByName(ReadMeshDlg) def retranslateUi(self, ReadMeshDlg): ReadMeshDlg.setWindowTitle( QtGui.QApplication.translate("ReadMeshDlg", "Read Mesh", None, QtGui.QApplication.UnicodeUTF8)) self.customButton.setText( QtGui.QApplication.translate("ReadMeshDlg", "Custom", None, QtGui.QApplication.UnicodeUTF8)) self.quitButton.setText( QtGui.QApplication.translate("ReadMeshDlg", "&Quit", None, QtGui.QApplication.UnicodeUTF8))
class Ui_ReadMeshDlg(object): def setupUi(self, ReadMeshDlg): ReadMeshDlg.setObjectName("ReadMeshDlg") ReadMeshDlg.resize(605, 375) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/cmiss_icon.ico"), QtGui.QIcon.Normal, QtGui.QIcon.Off) ReadMeshDlg.setWindowIcon(icon) self.gridLayout = QtGui.QGridLayout(ReadMeshDlg) self.gridLayout.setObjectName("gridLayout") self.verticalLayout = QtGui.QVBoxLayout() self.verticalLayout.setObjectName("verticalLayout") self._zincwidget = ZincWidget(ReadMeshDlg) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(1) sizePolicy.setHeightForWidth(self._zincwidget.sizePolicy().hasHeightForWidth()) self._zincwidget.setSizePolicy(sizePolicy) self._zincwidget.setObjectName("_zincwidget") self.verticalLayout.addWidget(self._zincwidget) self.timeSlider = QtGui.QSlider(ReadMeshDlg) self.timeSlider.setMaximum(100) self.timeSlider.setOrientation(QtCore.Qt.Horizontal) self.timeSlider.setObjectName("timeSlider") self.verticalLayout.addWidget(self.timeSlider) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem) self.customButton = QtGui.QPushButton(ReadMeshDlg) self.customButton.setObjectName("customButton") self.horizontalLayout.addWidget(self.customButton) self.quitButton = QtGui.QPushButton(ReadMeshDlg) self.quitButton.setObjectName("quitButton") self.horizontalLayout.addWidget(self.quitButton) self.verticalLayout.addLayout(self.horizontalLayout) self.gridLayout.addLayout(self.verticalLayout, 0, 0, 1, 1) self.retranslateUi(ReadMeshDlg) QtCore.QObject.connect(self.quitButton, QtCore.SIGNAL("clicked()"), ReadMeshDlg.close) QtCore.QObject.connect(self.customButton, QtCore.SIGNAL("clicked()"), ReadMeshDlg.customButton) QtCore.QMetaObject.connectSlotsByName(ReadMeshDlg) def retranslateUi(self, ReadMeshDlg): ReadMeshDlg.setWindowTitle(QtGui.QApplication.translate("ReadMeshDlg", "Read Mesh", None, QtGui.QApplication.UnicodeUTF8)) self.customButton.setText(QtGui.QApplication.translate("ReadMeshDlg", "Custom", None, QtGui.QApplication.UnicodeUTF8)) self.quitButton.setText(QtGui.QApplication.translate("ReadMeshDlg", "&Quit", None, QtGui.QApplication.UnicodeUTF8))
def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(1157, 635) self.centralwidget = QtGui.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.horizontalLayout_3 = QtGui.QHBoxLayout(self.centralwidget) self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.groupBox = QtGui.QGroupBox(self.centralwidget) self.groupBox.setObjectName("groupBox") self.gridLayout = QtGui.QGridLayout(self.groupBox) self.gridLayout.setObjectName("gridLayout") self.verticalLayout = QtGui.QVBoxLayout() self.verticalLayout.setObjectName("verticalLayout") self.co2Source = QtGui.QSlider(self.groupBox) self.co2Source.setOrientation(QtCore.Qt.Vertical) self.co2Source.setTickPosition(QtGui.QSlider.TicksBelow) self.co2Source.setObjectName("co2Source") self.verticalLayout.addWidget(self.co2Source) self.co2SourceLabel = QtGui.QLabel(self.groupBox) self.co2SourceLabel.setObjectName("co2SourceLabel") self.verticalLayout.addWidget(self.co2SourceLabel) self.co2SourceValue = QtGui.QLineEdit(self.groupBox) self.co2SourceValue.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.co2SourceValue.sizePolicy().hasHeightForWidth()) self.co2SourceValue.setSizePolicy(sizePolicy) self.co2SourceValue.setObjectName("co2SourceValue") self.verticalLayout.addWidget(self.co2SourceValue) self.gridLayout.addLayout(self.verticalLayout, 0, 0, 1, 1) self.verticalLayout_2 = QtGui.QVBoxLayout() self.verticalLayout_2.setObjectName("verticalLayout_2") self.co2Sink = QtGui.QSlider(self.groupBox) self.co2Sink.setOrientation(QtCore.Qt.Vertical) self.co2Sink.setTickPosition(QtGui.QSlider.TicksBelow) self.co2Sink.setObjectName("co2Sink") self.verticalLayout_2.addWidget(self.co2Sink) self.co2SinkLabel = QtGui.QLabel(self.groupBox) self.co2SinkLabel.setObjectName("co2SinkLabel") self.verticalLayout_2.addWidget(self.co2SinkLabel) self.co2SinkValue = QtGui.QLineEdit(self.groupBox) self.co2SinkValue.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.co2SinkValue.sizePolicy().hasHeightForWidth()) self.co2SinkValue.setSizePolicy(sizePolicy) self.co2SinkValue.setObjectName("co2SinkValue") self.verticalLayout_2.addWidget(self.co2SinkValue) self.gridLayout.addLayout(self.verticalLayout_2, 0, 1, 1, 1) self.verticalLayout_3 = QtGui.QVBoxLayout() self.verticalLayout_3.setObjectName("verticalLayout_3") self.protonSource = QtGui.QSlider(self.groupBox) self.protonSource.setOrientation(QtCore.Qt.Vertical) self.protonSource.setTickPosition(QtGui.QSlider.TicksBelow) self.protonSource.setObjectName("protonSource") self.verticalLayout_3.addWidget(self.protonSource) self.protonSourceLabel = QtGui.QLabel(self.groupBox) self.protonSourceLabel.setObjectName("protonSourceLabel") self.verticalLayout_3.addWidget(self.protonSourceLabel) self.protonSourceValue = QtGui.QLineEdit(self.groupBox) self.protonSourceValue.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.protonSourceValue.sizePolicy().hasHeightForWidth()) self.protonSourceValue.setSizePolicy(sizePolicy) self.protonSourceValue.setObjectName("protonSourceValue") self.verticalLayout_3.addWidget(self.protonSourceValue) self.gridLayout.addLayout(self.verticalLayout_3, 0, 2, 1, 1) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.protonLevelPurge = QtGui.QPushButton(self.groupBox) self.protonLevelPurge.setObjectName("protonLevelPurge") self.horizontalLayout.addWidget(self.protonLevelPurge) self.protonPurgeAmount = QtGui.QLineEdit(self.groupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.protonPurgeAmount.sizePolicy().hasHeightForWidth()) self.protonPurgeAmount.setSizePolicy(sizePolicy) self.protonPurgeAmount.setObjectName("protonPurgeAmount") self.horizontalLayout.addWidget(self.protonPurgeAmount) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem) self.gridLayout.addLayout(self.horizontalLayout, 1, 0, 1, 3) self.horizontalLayout_3.addWidget(self.groupBox) self.groupBox_2 = QtGui.QGroupBox(self.centralwidget) self.groupBox_2.setObjectName("groupBox_2") self.verticalLayout_5 = QtGui.QVBoxLayout(self.groupBox_2) self.verticalLayout_5.setObjectName("verticalLayout_5") self.verticalLayout_4 = QtGui.QVBoxLayout() self.verticalLayout_4.setObjectName("verticalLayout_4") self.plotArea = MatplotlibWidget(self.groupBox_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(2) sizePolicy.setVerticalStretch(2) sizePolicy.setHeightForWidth( self.plotArea.sizePolicy().hasHeightForWidth()) self.plotArea.setSizePolicy(sizePolicy) self.plotArea.setMinimumSize(QtCore.QSize(200, 100)) self.plotArea.setObjectName("plotArea") self.verticalLayout_4.addWidget(self.plotArea) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.simulateButton = QtGui.QPushButton(self.groupBox_2) self.simulateButton.setMinimumSize(QtCore.QSize(80, 0)) self.simulateButton.setObjectName("simulateButton") self.horizontalLayout_2.addWidget(self.simulateButton) self.resetButton = QtGui.QPushButton(self.groupBox_2) self.resetButton.setObjectName("resetButton") self.horizontalLayout_2.addWidget(self.resetButton) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem1) self.verticalLayout_4.addLayout(self.horizontalLayout_2) self.logText = QtGui.QPlainTextEdit(self.groupBox_2) self.logText.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.logText.sizePolicy().hasHeightForWidth()) self.logText.setSizePolicy(sizePolicy) self.logText.setObjectName("logText") self.verticalLayout_4.addWidget(self.logText) self.verticalLayout_5.addLayout(self.verticalLayout_4) self.horizontalLayout_3.addWidget(self.groupBox_2) self.groupBox_3 = QtGui.QGroupBox(self.centralwidget) self.groupBox_3.setObjectName("groupBox_3") self.verticalLayout_6 = QtGui.QVBoxLayout(self.groupBox_3) self.verticalLayout_6.setObjectName("verticalLayout_6") self.widget = ZincWidget(self.groupBox_3) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(2) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.widget.sizePolicy().hasHeightForWidth()) self.widget.setSizePolicy(sizePolicy) self.widget.setMinimumSize(QtCore.QSize(200, 100)) self.widget.setObjectName("widget") self.verticalLayout_6.addWidget(self.widget) spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.verticalLayout_6.addItem(spacerItem2) self.horizontalLayout_3.addWidget(self.groupBox_3) MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtGui.QMenuBar(MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 1157, 19)) self.menubar.setObjectName("menubar") MainWindow.setMenuBar(self.menubar) self.statusbar = QtGui.QStatusBar(MainWindow) self.statusbar.setObjectName("statusbar") MainWindow.setStatusBar(self.statusbar) self.retranslateUi(MainWindow) QtCore.QMetaObject.connectSlotsByName(MainWindow)
def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(1157, 635) self.centralwidget = QtGui.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.horizontalLayout_3 = QtGui.QHBoxLayout(self.centralwidget) self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.groupBox = QtGui.QGroupBox(self.centralwidget) self.groupBox.setObjectName("groupBox") self.gridLayout = QtGui.QGridLayout(self.groupBox) self.gridLayout.setObjectName("gridLayout") self.verticalLayout = QtGui.QVBoxLayout() self.verticalLayout.setObjectName("verticalLayout") self.co2Source = QtGui.QSlider(self.groupBox) self.co2Source.setOrientation(QtCore.Qt.Vertical) self.co2Source.setTickPosition(QtGui.QSlider.TicksBelow) self.co2Source.setObjectName("co2Source") self.verticalLayout.addWidget(self.co2Source) self.co2SourceLabel = QtGui.QLabel(self.groupBox) self.co2SourceLabel.setObjectName("co2SourceLabel") self.verticalLayout.addWidget(self.co2SourceLabel) self.co2SourceValue = QtGui.QLineEdit(self.groupBox) self.co2SourceValue.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.co2SourceValue.sizePolicy().hasHeightForWidth()) self.co2SourceValue.setSizePolicy(sizePolicy) self.co2SourceValue.setObjectName("co2SourceValue") self.verticalLayout.addWidget(self.co2SourceValue) self.gridLayout.addLayout(self.verticalLayout, 0, 0, 1, 1) self.verticalLayout_2 = QtGui.QVBoxLayout() self.verticalLayout_2.setObjectName("verticalLayout_2") self.co2Sink = QtGui.QSlider(self.groupBox) self.co2Sink.setOrientation(QtCore.Qt.Vertical) self.co2Sink.setTickPosition(QtGui.QSlider.TicksBelow) self.co2Sink.setObjectName("co2Sink") self.verticalLayout_2.addWidget(self.co2Sink) self.co2SinkLabel = QtGui.QLabel(self.groupBox) self.co2SinkLabel.setObjectName("co2SinkLabel") self.verticalLayout_2.addWidget(self.co2SinkLabel) self.co2SinkValue = QtGui.QLineEdit(self.groupBox) self.co2SinkValue.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.co2SinkValue.sizePolicy().hasHeightForWidth()) self.co2SinkValue.setSizePolicy(sizePolicy) self.co2SinkValue.setObjectName("co2SinkValue") self.verticalLayout_2.addWidget(self.co2SinkValue) self.gridLayout.addLayout(self.verticalLayout_2, 0, 1, 1, 1) self.verticalLayout_3 = QtGui.QVBoxLayout() self.verticalLayout_3.setObjectName("verticalLayout_3") self.protonSource = QtGui.QSlider(self.groupBox) self.protonSource.setOrientation(QtCore.Qt.Vertical) self.protonSource.setTickPosition(QtGui.QSlider.TicksBelow) self.protonSource.setObjectName("protonSource") self.verticalLayout_3.addWidget(self.protonSource) self.protonSourceLabel = QtGui.QLabel(self.groupBox) self.protonSourceLabel.setObjectName("protonSourceLabel") self.verticalLayout_3.addWidget(self.protonSourceLabel) self.protonSourceValue = QtGui.QLineEdit(self.groupBox) self.protonSourceValue.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.protonSourceValue.sizePolicy().hasHeightForWidth()) self.protonSourceValue.setSizePolicy(sizePolicy) self.protonSourceValue.setObjectName("protonSourceValue") self.verticalLayout_3.addWidget(self.protonSourceValue) self.gridLayout.addLayout(self.verticalLayout_3, 0, 2, 1, 1) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.protonLevelPurge = QtGui.QPushButton(self.groupBox) self.protonLevelPurge.setObjectName("protonLevelPurge") self.horizontalLayout.addWidget(self.protonLevelPurge) self.protonPurgeAmount = QtGui.QLineEdit(self.groupBox) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.protonPurgeAmount.sizePolicy().hasHeightForWidth()) self.protonPurgeAmount.setSizePolicy(sizePolicy) self.protonPurgeAmount.setObjectName("protonPurgeAmount") self.horizontalLayout.addWidget(self.protonPurgeAmount) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem) self.gridLayout.addLayout(self.horizontalLayout, 1, 0, 1, 3) self.horizontalLayout_3.addWidget(self.groupBox) self.groupBox_2 = QtGui.QGroupBox(self.centralwidget) self.groupBox_2.setObjectName("groupBox_2") self.verticalLayout_5 = QtGui.QVBoxLayout(self.groupBox_2) self.verticalLayout_5.setObjectName("verticalLayout_5") self.verticalLayout_4 = QtGui.QVBoxLayout() self.verticalLayout_4.setObjectName("verticalLayout_4") self.plotArea = MatplotlibWidget(self.groupBox_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(2) sizePolicy.setVerticalStretch(2) sizePolicy.setHeightForWidth(self.plotArea.sizePolicy().hasHeightForWidth()) self.plotArea.setSizePolicy(sizePolicy) self.plotArea.setMinimumSize(QtCore.QSize(200, 100)) self.plotArea.setObjectName("plotArea") self.verticalLayout_4.addWidget(self.plotArea) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.simulateButton = QtGui.QPushButton(self.groupBox_2) self.simulateButton.setMinimumSize(QtCore.QSize(80, 0)) self.simulateButton.setObjectName("simulateButton") self.horizontalLayout_2.addWidget(self.simulateButton) self.resetButton = QtGui.QPushButton(self.groupBox_2) self.resetButton.setObjectName("resetButton") self.horizontalLayout_2.addWidget(self.resetButton) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem1) self.verticalLayout_4.addLayout(self.horizontalLayout_2) self.logText = QtGui.QPlainTextEdit(self.groupBox_2) self.logText.setEnabled(False) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.logText.sizePolicy().hasHeightForWidth()) self.logText.setSizePolicy(sizePolicy) self.logText.setObjectName("logText") self.verticalLayout_4.addWidget(self.logText) self.verticalLayout_5.addLayout(self.verticalLayout_4) self.horizontalLayout_3.addWidget(self.groupBox_2) self.groupBox_3 = QtGui.QGroupBox(self.centralwidget) self.groupBox_3.setObjectName("groupBox_3") self.verticalLayout_6 = QtGui.QVBoxLayout(self.groupBox_3) self.verticalLayout_6.setObjectName("verticalLayout_6") self.widget = ZincWidget(self.groupBox_3) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(2) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.widget.sizePolicy().hasHeightForWidth()) self.widget.setSizePolicy(sizePolicy) self.widget.setMinimumSize(QtCore.QSize(200, 100)) self.widget.setObjectName("widget") self.verticalLayout_6.addWidget(self.widget) spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.verticalLayout_6.addItem(spacerItem2) self.horizontalLayout_3.addWidget(self.groupBox_3) MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtGui.QMenuBar(MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 1157, 19)) self.menubar.setObjectName("menubar") MainWindow.setMenuBar(self.menubar) self.statusbar = QtGui.QStatusBar(MainWindow) self.statusbar.setObjectName("statusbar") MainWindow.setStatusBar(self.statusbar) self.retranslateUi(MainWindow) QtCore.QMetaObject.connectSlotsByName(MainWindow)