def mainA(): import numpy as N import pylab as P import sys from PyQt4 import QtGui, QtCore from mpl_pyqt4_widget import MPL_Widget import xtandem_parser_class as XTParser app = QtGui.QApplication(sys.argv) XT = XTParser.XT_RESULTS('../XTTest.xml') selInd = XT.dataDict['pep_eVal'].argsort() firstInd = selInd[0] secondInd = selInd[1] topInd = selInd[30:33] w = MPL_Widget(enableAutoScale=False, doublePlot=True, enableEdit=True) ind = 53 # for ind in topInd: # print XT.dataDict['pep_eVal'][ind] seq = XT.dataDict['pepID'][ind] X = XT.dataDict['xFrags'][ind] Y = XT.dataDict['yFrags'][ind] X = X.split() Y = Y.split() # print type(X), type(Y) X = N.array( X, dtype=N.float ) #conver to array with dtype set or it will default to string types Y = N.array(Y, dtype=N.float) # print type(X), type(Y) pepFrag(seq, X, Y, w.canvas) w.show() sys.exit(app.exec_())
class Ui_Form(object): def setupUi(self, Form): Form.setObjectName("Form") Form.resize(QtCore.QSize(QtCore.QRect(0,0,583,443).size()).expandedTo(Form.minimumSizeHint())) self.hboxlayout = QtGui.QHBoxLayout(Form) self.hboxlayout.setObjectName("hboxlayout") self.vboxlayout = QtGui.QVBoxLayout() self.vboxlayout.setObjectName("vboxlayout") self.plotBtn = QtGui.QPushButton(Form) self.plotBtn.setObjectName("plotBtn") self.vboxlayout.addWidget(self.plotBtn) self.plotWidget = MPL_Widget(Form) self.plotWidget.setObjectName("plotWidget") self.vboxlayout.addWidget(self.plotWidget) self.hboxlayout.addLayout(self.vboxlayout) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form) def retranslateUi(self, Form): Form.setWindowTitle(QtGui.QApplication.translate("Form", "matplotlib, PyQt4 and Designer", None, QtGui.QApplication.UnicodeUTF8)) self.plotBtn.setText(QtGui.QApplication.translate("Form", "Plot", None, QtGui.QApplication.UnicodeUTF8))
def mainB(): import numpy as N # import pylab as P import scipy as S import sys from PyQt4 import QtGui, QtCore from mpl_pyqt4_widget import MPL_Widget app = QtGui.QApplication(sys.argv) w = MPL_Widget(enableAutoScale=False, doublePlot=True, enableEdit=True) #seq = 'ANTHRACISAMES' seq = 'ANTHRACISSTERNE' #X = P.load('amesPredicted.csv', delimiter = ',') X = N.loadtxt('sternePredicted.csv', delimiter=',') Y = S.rand(len(X)) Y *= 10 randInt = [] for i in xrange(int(0.25 * len(X))): ind = N.random.random_integers(len(Y) - 1) Y[ind] = N.random.random_integers(10) * 10 Y /= Y.max() Y *= 100 # X = N.array(X, dtype = N.float)#conver to array with dtype set or it will default to string types # Y = N.array(Y, dtype = N.float) # print type(X), type(Y) pepFrag(seq, X, Y, w.canvas, plotSpec=False) w.show() sys.exit(app.exec_())
def mainB(): import numpy as N # import pylab as P import scipy as S import sys from PyQt4 import QtGui, QtCore from mpl_pyqt4_widget import MPL_Widget app = QtGui.QApplication(sys.argv) w = MPL_Widget(enableAutoScale = False, doublePlot = True, enableEdit = True) #seq = 'ANTHRACISAMES' seq = 'ANTHRACISSTERNE' #X = P.load('amesPredicted.csv', delimiter = ',') X = N.loadtxt('sternePredicted.csv', delimiter = ',') Y = S.rand(len(X)) Y*=10 randInt = [] for i in xrange(int(0.25*len(X))): ind = N.random.random_integers(len(Y)-1) Y[ind] = N.random.random_integers(10)*10 Y/=Y.max() Y*=100 # X = N.array(X, dtype = N.float)#conver to array with dtype set or it will default to string types # Y = N.array(Y, dtype = N.float) # print type(X), type(Y) pepFrag(seq, X, Y, w.canvas, plotSpec = False) w.show() sys.exit(app.exec_())
def mainA(): import numpy as N import pylab as P import sys from PyQt4 import QtGui, QtCore from mpl_pyqt4_widget import MPL_Widget import xtandem_parser_class as XTParser app = QtGui.QApplication(sys.argv) XT = XTParser.XT_RESULTS('../XTTest.xml') selInd = XT.dataDict['pep_eVal'].argsort() firstInd = selInd[0] secondInd = selInd[1] topInd = selInd[30:33] w = MPL_Widget(enableAutoScale = False, doublePlot = True, enableEdit = True) ind = 53 # for ind in topInd: # print XT.dataDict['pep_eVal'][ind] seq = XT.dataDict['pepID'][ind] X = XT.dataDict['xFrags'][ind] Y = XT.dataDict['yFrags'][ind] X = X.split() Y = Y.split() # print type(X), type(Y) X = N.array(X, dtype = N.float)#conver to array with dtype set or it will default to string types Y = N.array(Y, dtype = N.float) # print type(X), type(Y) pepFrag(seq, X, Y, w.canvas) w.show() sys.exit(app.exec_())
class Ui_Form(object): def setupUi(self, Form): Form.setObjectName("Form") Form.resize( QtCore.QSize(QtCore.QRect(0, 0, 583, 443).size()).expandedTo( Form.minimumSizeHint())) self.hboxlayout = QtGui.QHBoxLayout(Form) self.hboxlayout.setObjectName("hboxlayout") self.vboxlayout = QtGui.QVBoxLayout() self.vboxlayout.setObjectName("vboxlayout") self.plotBtn = QtGui.QPushButton(Form) self.plotBtn.setObjectName("plotBtn") self.vboxlayout.addWidget(self.plotBtn) self.plotWidget = MPL_Widget(Form) self.plotWidget.setObjectName("plotWidget") self.vboxlayout.addWidget(self.plotWidget) self.hboxlayout.addLayout(self.vboxlayout) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form) def retranslateUi(self, Form): Form.setWindowTitle( QtGui.QApplication.translate("Form", "matplotlib, PyQt4 and Designer", None, QtGui.QApplication.UnicodeUTF8)) self.plotBtn.setText( QtGui.QApplication.translate("Form", "Plot", None, QtGui.QApplication.UnicodeUTF8))
def setupUi(self, Form): Form.setObjectName("Form") Form.resize( QtCore.QSize(QtCore.QRect(0, 0, 583, 443).size()).expandedTo( Form.minimumSizeHint())) self.hboxlayout = QtGui.QHBoxLayout(Form) self.hboxlayout.setObjectName("hboxlayout") self.vboxlayout = QtGui.QVBoxLayout() self.vboxlayout.setObjectName("vboxlayout") self.plotBtn = QtGui.QPushButton(Form) self.plotBtn.setObjectName("plotBtn") self.vboxlayout.addWidget(self.plotBtn) self.plotWidget = MPL_Widget(Form) self.plotWidget.setObjectName("plotWidget") self.vboxlayout.addWidget(self.plotWidget) self.hboxlayout.addLayout(self.vboxlayout) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form)
def setupUi(self, Form): Form.setObjectName("Form") Form.resize(QtCore.QSize(QtCore.QRect(0,0,583,443).size()).expandedTo(Form.minimumSizeHint())) self.hboxlayout = QtGui.QHBoxLayout(Form) self.hboxlayout.setObjectName("hboxlayout") self.vboxlayout = QtGui.QVBoxLayout() self.vboxlayout.setObjectName("vboxlayout") self.plotBtn = QtGui.QPushButton(Form) self.plotBtn.setObjectName("plotBtn") self.vboxlayout.addWidget(self.plotBtn) self.plotWidget = MPL_Widget(Form) self.plotWidget.setObjectName("plotWidget") self.vboxlayout.addWidget(self.plotWidget) self.hboxlayout.addLayout(self.vboxlayout) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form)
def setupUi(self, pixels_gui): pixels_gui.setObjectName(_fromUtf8("pixels_gui")) pixels_gui.resize(1200, 1100) self.centralwidget = QtGui.QWidget(pixels_gui) self.centralwidget.setObjectName(_fromUtf8("centralwidget")) self.pixPlot = MPL_Widget(self.centralwidget) self.pixPlot.setGeometry(QtCore.QRect(0, 0, 1021, 931)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush) self.pixPlot.setPalette(palette) self.pixPlot.setObjectName(_fromUtf8("pixPlot")) self.dirbtn = QtGui.QPushButton(self.centralwidget) self.dirbtn.setGeometry(QtCore.QRect(390, 938, 75, 23)) self.dirbtn.setObjectName(_fromUtf8("dirbtn")) self.dirle = QtGui.QLabel(self.centralwidget) self.dirle.setGeometry(QtCore.QRect(480, 940, 321, 21)) self.dirle.setFrameShape(QtGui.QFrame.StyledPanel) self.dirle.setText(_fromUtf8("")) self.dirle.setObjectName(_fromUtf8("dirle")) self.savebtn = QtGui.QPushButton(self.centralwidget) self.savebtn.setGeometry(QtCore.QRect(1060, 570, 75, 23)) self.savebtn.setObjectName(_fromUtf8("savebtn")) self.scalele = QtGui.QLineEdit(self.centralwidget) self.scalele.setGeometry(QtCore.QRect(1040, 240, 113, 20)) self.scalele.setObjectName(_fromUtf8("scalele")) self.anglele = QtGui.QLineEdit(self.centralwidget) self.anglele.setGeometry(QtCore.QRect(1040, 190, 113, 20)) self.anglele.setObjectName(_fromUtf8("anglele")) self.xoffle = QtGui.QLineEdit(self.centralwidget) self.xoffle.setGeometry(QtCore.QRect(1040, 300, 113, 20)) self.xoffle.setObjectName(_fromUtf8("xoffle")) self.yoffle = QtGui.QLineEdit(self.centralwidget) self.yoffle.setGeometry(QtCore.QRect(1040, 350, 113, 20)) self.yoffle.setObjectName(_fromUtf8("yoffle")) self.label = QtGui.QLabel(self.centralwidget) self.label.setGeometry(QtCore.QRect(1070, 280, 46, 13)) self.label.setObjectName(_fromUtf8("label")) self.label_2 = QtGui.QLabel(self.centralwidget) self.label_2.setGeometry(QtCore.QRect(1070, 330, 46, 13)) self.label_2.setObjectName(_fromUtf8("label_2")) self.label_3 = QtGui.QLabel(self.centralwidget) self.label_3.setGeometry(QtCore.QRect(1080, 220, 46, 13)) self.label_3.setObjectName(_fromUtf8("label_3")) self.label_4 = QtGui.QLabel(self.centralwidget) self.label_4.setGeometry(QtCore.QRect(1080, 170, 46, 13)) self.label_4.setObjectName(_fromUtf8("label_4")) self.dblbtn = QtGui.QPushButton(self.centralwidget) self.dblbtn.setGeometry(QtCore.QRect(1060, 460, 75, 23)) self.dblbtn.setObjectName(_fromUtf8("dblbtn")) self.hidebtn = QtGui.QPushButton(self.centralwidget) self.hidebtn.setGeometry(QtCore.QRect(1060, 500, 75, 23)) self.hidebtn.setObjectName(_fromUtf8("hidebtn")) pixels_gui.setCentralWidget(self.centralwidget) self.statusbar = QtGui.QStatusBar(pixels_gui) self.statusbar.setObjectName(_fromUtf8("statusbar")) pixels_gui.setStatusBar(self.statusbar) self.retranslateUi(pixels_gui) QtCore.QMetaObject.connectSlotsByName(pixels_gui)
def __init__(self, seq=None, X=None, Y=None, title=None, data=None, annotation=None, colHeaderList=None, rowHeaderList=None, parent=None): QtGui.QWidget.__init__(self, parent) self.setAttribute(QtCore.Qt.WA_DeleteOnClose) if title != None: self.setWindowTitle(title) else: self.setWindowTitle('Fragment Plot') self.resize(660, 600) self.vLayout = QtGui.QVBoxLayout(self) self.tabWidget = QtGui.QTabWidget(self) self.tab = QtGui.QWidget() self.tableWidget = CustomTable(self.tab) self.tabLayout = QtGui.QHBoxLayout(self.tab) self.tabLayout.addWidget(self.tableWidget) self.seq = None self.X = None self.Y = None self.annotation = None if seq != None: self.seq = seq if X != None: self.X = X if Y != None: self.Y = Y if annotation != None: self.annotation = annotation ###################### if data != None: self.data = data self.tableWidget.addData(self.data) ###################### if type(colHeaderList) == list: self.tableWidget.setHorizontalHeaderLabels(colHeaderList) if type(rowHeaderList) == list: self.tableWidget.setVerticalHeaderLabels(rowHeaderList) self.tableWidget.resizeColumnsToContents() self.tableWidget.setSortingEnabled(True) self.tableWidget.setCurrentCell( 0, 0) #needed so selectedRanges does not fail initially self.tabWidget.addTab(self.tab, "Table") self.tab2 = QtGui.QWidget() # self.plotWidget = MPL_Widget(self.tab2, enableAutoScale = True, enableCSV = True, enableEdit = True) self.plotWidget = MPL_Widget(enableAutoScale=False, doublePlot=True, enableEdit=True) self.tab2Layout = QtGui.QHBoxLayout(self.tab2) self.tab2Layout.addWidget(self.plotWidget) self.tabWidget.addTab(self.tab2, "Plot") self.tabWidget.setCurrentIndex(1) self.vLayout.addWidget(self.tabWidget) self.setupPlot()
class Ui_beammap_gui(object): def setupUi(self, beammap_gui): beammap_gui.setObjectName(_fromUtf8("beammap_gui")) beammap_gui.resize(1520, 1100) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(beammap_gui.sizePolicy().hasHeightForWidth()) beammap_gui.setSizePolicy(sizePolicy) font = QtGui.QFont() font.setPointSize(10) beammap_gui.setFont(font) self.centralwidget = QtGui.QWidget(beammap_gui) self.centralwidget.setObjectName(_fromUtf8("centralwidget")) self.mapplot_0x = MPL_Widget(self.centralwidget) self.mapplot_0x.setGeometry(QtCore.QRect(10, 40, 301, 301)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush) self.mapplot_0x.setPalette(palette) self.mapplot_0x.setObjectName(_fromUtf8("mapplot_0x")) self.mapplot_0y = MPL_Widget(self.centralwidget) self.mapplot_0y.setGeometry(QtCore.QRect(10, 470, 301, 301)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush) self.mapplot_0y.setPalette(palette) self.mapplot_0y.setObjectName(_fromUtf8("mapplot_0y")) self.mapplot_1x = MPL_Widget(self.centralwidget) self.mapplot_1x.setGeometry(QtCore.QRect(310, 40, 301, 301)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush) self.mapplot_1x.setPalette(palette) self.mapplot_1x.setObjectName(_fromUtf8("mapplot_1x")) self.mapplot_1y = MPL_Widget(self.centralwidget) self.mapplot_1y.setGeometry(QtCore.QRect(310, 470, 301, 301)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush) self.mapplot_1y.setPalette(palette) self.mapplot_1y.setObjectName(_fromUtf8("mapplot_1y")) self.mapplot_2x = MPL_Widget(self.centralwidget) self.mapplot_2x.setGeometry(QtCore.QRect(610, 40, 301, 301)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush) self.mapplot_2x.setPalette(palette) self.mapplot_2x.setObjectName(_fromUtf8("mapplot_2x")) self.mapplot_2y = MPL_Widget(self.centralwidget) self.mapplot_2y.setGeometry(QtCore.QRect(610, 470, 301, 301)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush) self.mapplot_2y.setPalette(palette) self.mapplot_2y.setObjectName(_fromUtf8("mapplot_2y")) self.mapplot_3x = MPL_Widget(self.centralwidget) self.mapplot_3x.setGeometry(QtCore.QRect(910, 40, 301, 301)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush) self.mapplot_3x.setPalette(palette) self.mapplot_3x.setObjectName(_fromUtf8("mapplot_3x")) self.mapplot_3y = MPL_Widget(self.centralwidget) self.mapplot_3y.setGeometry(QtCore.QRect(910, 470, 301, 301)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush) self.mapplot_3y.setPalette(palette) self.mapplot_3y.setObjectName(_fromUtf8("mapplot_3y")) self.mapplot_4x = MPL_Widget(self.centralwidget) self.mapplot_4x.setGeometry(QtCore.QRect(1210, 40, 301, 301)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush) self.mapplot_4x.setPalette(palette) self.mapplot_4x.setObjectName(_fromUtf8("mapplot_4x")) self.mapplot_4y = MPL_Widget(self.centralwidget) self.mapplot_4y.setGeometry(QtCore.QRect(1210, 470, 301, 301)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush) self.mapplot_4y.setPalette(palette) self.mapplot_4y.setObjectName(_fromUtf8("mapplot_4y")) self.label = QtGui.QLabel(self.centralwidget) self.label.setGeometry(QtCore.QRect(710, 10, 101, 21)) font = QtGui.QFont() font.setPointSize(14) self.label.setFont(font) self.label.setObjectName(_fromUtf8("label")) self.label_2 = QtGui.QLabel(self.centralwidget) self.label_2.setGeometry(QtCore.QRect(710, 440, 101, 31)) font = QtGui.QFont() font.setPointSize(14) self.label_2.setFont(font) self.label_2.setObjectName(_fromUtf8("label_2")) self.nextbtn = QtGui.QPushButton(self.centralwidget) self.nextbtn.setGeometry(QtCore.QRect(1010, 950, 91, 21)) font = QtGui.QFont() font.setPointSize(12) self.nextbtn.setFont(font) self.nextbtn.setObjectName(_fromUtf8("nextbtn")) self.line = QtGui.QFrame(self.centralwidget) self.line.setGeometry(QtCore.QRect(0, 860, 1541, 20)) self.line.setFrameShape(QtGui.QFrame.HLine) self.line.setFrameShadow(QtGui.QFrame.Sunken) self.line.setObjectName(_fromUtf8("line")) self.savebtn = QtGui.QPushButton(self.centralwidget) self.savebtn.setGeometry(QtCore.QRect(1130, 950, 81, 21)) font = QtGui.QFont() font.setPointSize(12) self.savebtn.setFont(font) self.savebtn.setObjectName(_fromUtf8("savebtn")) self.label_3 = QtGui.QLabel(self.centralwidget) self.label_3.setGeometry(QtCore.QRect(10, 340, 131, 21)) font = QtGui.QFont() font.setPointSize(12) self.label_3.setFont(font) self.label_3.setObjectName(_fromUtf8("label_3")) self.label_4 = QtGui.QLabel(self.centralwidget) self.label_4.setGeometry(QtCore.QRect(10, 770, 131, 21)) font = QtGui.QFont() font.setPointSize(12) self.label_4.setFont(font) self.label_4.setObjectName(_fromUtf8("label_4")) self.pp0x = QtGui.QLabel(self.centralwidget) self.pp0x.setGeometry(QtCore.QRect(120, 340, 181, 21)) font = QtGui.QFont() font.setPointSize(14) self.pp0x.setFont(font) self.pp0x.setFrameShape(QtGui.QFrame.StyledPanel) self.pp0x.setObjectName(_fromUtf8("pp0x")) self.pp0y = QtGui.QLabel(self.centralwidget) self.pp0y.setGeometry(QtCore.QRect(120, 770, 181, 21)) font = QtGui.QFont() font.setPointSize(14) self.pp0y.setFont(font) self.pp0y.setFrameShape(QtGui.QFrame.StyledPanel) self.pp0y.setObjectName(_fromUtf8("pp0y")) self.pp1x = QtGui.QLabel(self.centralwidget) self.pp1x.setGeometry(QtCore.QRect(420, 340, 181, 21)) font = QtGui.QFont() font.setPointSize(14) self.pp1x.setFont(font) self.pp1x.setFrameShape(QtGui.QFrame.StyledPanel) self.pp1x.setObjectName(_fromUtf8("pp1x")) self.pp1y = QtGui.QLabel(self.centralwidget) self.pp1y.setGeometry(QtCore.QRect(420, 770, 181, 21)) font = QtGui.QFont() font.setPointSize(14) self.pp1y.setFont(font) self.pp1y.setFrameShape(QtGui.QFrame.StyledPanel) self.pp1y.setObjectName(_fromUtf8("pp1y")) self.pp2x = QtGui.QLabel(self.centralwidget) self.pp2x.setGeometry(QtCore.QRect(720, 340, 181, 21)) font = QtGui.QFont() font.setPointSize(14) self.pp2x.setFont(font) self.pp2x.setFrameShape(QtGui.QFrame.StyledPanel) self.pp2x.setObjectName(_fromUtf8("pp2x")) self.pp2y = QtGui.QLabel(self.centralwidget) self.pp2y.setGeometry(QtCore.QRect(720, 770, 181, 21)) font = QtGui.QFont() font.setPointSize(14) self.pp2y.setFont(font) self.pp2y.setFrameShape(QtGui.QFrame.StyledPanel) self.pp2y.setObjectName(_fromUtf8("pp2y")) self.pp3x = QtGui.QLabel(self.centralwidget) self.pp3x.setGeometry(QtCore.QRect(1020, 340, 181, 21)) font = QtGui.QFont() font.setPointSize(14) self.pp3x.setFont(font) self.pp3x.setFrameShape(QtGui.QFrame.StyledPanel) self.pp3x.setObjectName(_fromUtf8("pp3x")) self.pp3y = QtGui.QLabel(self.centralwidget) self.pp3y.setGeometry(QtCore.QRect(1020, 770, 181, 21)) font = QtGui.QFont() font.setPointSize(14) self.pp3y.setFont(font) self.pp3y.setFrameShape(QtGui.QFrame.StyledPanel) self.pp3y.setObjectName(_fromUtf8("pp3y")) self.pp4x = QtGui.QLabel(self.centralwidget) self.pp4x.setGeometry(QtCore.QRect(1320, 340, 181, 21)) font = QtGui.QFont() font.setPointSize(14) self.pp4x.setFont(font) self.pp4x.setFrameShape(QtGui.QFrame.StyledPanel) self.pp4x.setObjectName(_fromUtf8("pp4x")) self.pp4y = QtGui.QLabel(self.centralwidget) self.pp4y.setGeometry(QtCore.QRect(1320, 770, 181, 21)) font = QtGui.QFont() font.setPointSize(14) self.pp4y.setFont(font) self.pp4y.setFrameShape(QtGui.QFrame.StyledPanel) self.pp4y.setObjectName(_fromUtf8("pp4y")) self.line_3 = QtGui.QFrame(self.centralwidget) self.line_3.setGeometry(QtCore.QRect(300, -50, 20, 991)) self.line_3.setFrameShape(QtGui.QFrame.VLine) self.line_3.setFrameShadow(QtGui.QFrame.Sunken) self.line_3.setObjectName(_fromUtf8("line_3")) self.line_4 = QtGui.QFrame(self.centralwidget) self.line_4.setGeometry(QtCore.QRect(600, -60, 20, 1001)) self.line_4.setFrameShape(QtGui.QFrame.VLine) self.line_4.setFrameShadow(QtGui.QFrame.Sunken) self.line_4.setObjectName(_fromUtf8("line_4")) self.line_5 = QtGui.QFrame(self.centralwidget) self.line_5.setGeometry(QtCore.QRect(900, -80, 20, 1021)) self.line_5.setFrameShape(QtGui.QFrame.VLine) self.line_5.setFrameShadow(QtGui.QFrame.Sunken) self.line_5.setObjectName(_fromUtf8("line_5")) self.line_6 = QtGui.QFrame(self.centralwidget) self.line_6.setGeometry(QtCore.QRect(1200, -20, 20, 961)) self.line_6.setFrameShape(QtGui.QFrame.VLine) self.line_6.setFrameShadow(QtGui.QFrame.Sunken) self.line_6.setObjectName(_fromUtf8("line_6")) self.line_7 = QtGui.QFrame(self.centralwidget) self.line_7.setGeometry(QtCore.QRect(0, 430, 1531, 20)) self.line_7.setFrameShape(QtGui.QFrame.HLine) self.line_7.setFrameShadow(QtGui.QFrame.Sunken) self.line_7.setObjectName(_fromUtf8("line_7")) self.label_5 = QtGui.QLabel(self.centralwidget) self.label_5.setGeometry(QtCore.QRect(10, 370, 131, 21)) font = QtGui.QFont() font.setPointSize(12) self.label_5.setFont(font) self.label_5.setObjectName(_fromUtf8("label_5")) self.label_6 = QtGui.QLabel(self.centralwidget) self.label_6.setGeometry(QtCore.QRect(10, 800, 131, 21)) font = QtGui.QFont() font.setPointSize(12) self.label_6.setFont(font) self.label_6.setObjectName(_fromUtf8("label_6")) self.le0x = QtGui.QLineEdit(self.centralwidget) self.le0x.setGeometry(QtCore.QRect(120, 370, 181, 20)) font = QtGui.QFont() font.setPointSize(14) self.le0x.setFont(font) self.le0x.setObjectName(_fromUtf8("le0x")) self.le0y = QtGui.QLineEdit(self.centralwidget) self.le0y.setGeometry(QtCore.QRect(120, 800, 181, 20)) font = QtGui.QFont() font.setPointSize(14) self.le0y.setFont(font) self.le0y.setObjectName(_fromUtf8("le0y")) self.le1x = QtGui.QLineEdit(self.centralwidget) self.le1x.setGeometry(QtCore.QRect(420, 370, 181, 20)) font = QtGui.QFont() font.setPointSize(14) self.le1x.setFont(font) self.le1x.setObjectName(_fromUtf8("le1x")) self.le1y = QtGui.QLineEdit(self.centralwidget) self.le1y.setGeometry(QtCore.QRect(420, 800, 181, 20)) font = QtGui.QFont() font.setPointSize(14) self.le1y.setFont(font) self.le1y.setObjectName(_fromUtf8("le1y")) self.le2x = QtGui.QLineEdit(self.centralwidget) self.le2x.setGeometry(QtCore.QRect(720, 370, 181, 20)) font = QtGui.QFont() font.setPointSize(14) self.le2x.setFont(font) self.le2x.setObjectName(_fromUtf8("le2x")) self.le2y = QtGui.QLineEdit(self.centralwidget) self.le2y.setGeometry(QtCore.QRect(720, 800, 181, 20)) font = QtGui.QFont() font.setPointSize(14) self.le2y.setFont(font) self.le2y.setObjectName(_fromUtf8("le2y")) self.le3x = QtGui.QLineEdit(self.centralwidget) self.le3x.setGeometry(QtCore.QRect(1020, 370, 181, 20)) font = QtGui.QFont() font.setPointSize(14) self.le3x.setFont(font) self.le3x.setObjectName(_fromUtf8("le3x")) self.le3y = QtGui.QLineEdit(self.centralwidget) self.le3y.setGeometry(QtCore.QRect(1020, 800, 181, 20)) font = QtGui.QFont() font.setPointSize(14) self.le3y.setFont(font) self.le3y.setObjectName(_fromUtf8("le3y")) self.le4x = QtGui.QLineEdit(self.centralwidget) self.le4x.setGeometry(QtCore.QRect(1320, 370, 181, 20)) font = QtGui.QFont() font.setPointSize(14) self.le4x.setFont(font) self.le4x.setObjectName(_fromUtf8("le4x")) self.le4y = QtGui.QLineEdit(self.centralwidget) self.le4y.setGeometry(QtCore.QRect(1320, 800, 181, 20)) font = QtGui.QFont() font.setPointSize(14) self.le4y.setFont(font) self.le4y.setObjectName(_fromUtf8("le4y")) self.line_8 = QtGui.QFrame(self.centralwidget) self.line_8.setGeometry(QtCore.QRect(-10, 930, 1571, 20)) self.line_8.setFrameShape(QtGui.QFrame.HLine) self.line_8.setFrameShadow(QtGui.QFrame.Sunken) self.line_8.setObjectName(_fromUtf8("line_8")) self.pix0 = QtGui.QLabel(self.centralwidget) self.pix0.setGeometry(QtCore.QRect(140, 910, 101, 16)) font = QtGui.QFont() font.setPointSize(12) self.pix0.setFont(font) self.pix0.setObjectName(_fromUtf8("pix0")) self.pix1 = QtGui.QLabel(self.centralwidget) self.pix1.setGeometry(QtCore.QRect(440, 910, 111, 16)) font = QtGui.QFont() font.setPointSize(12) self.pix1.setFont(font) self.pix1.setObjectName(_fromUtf8("pix1")) self.pix2 = QtGui.QLabel(self.centralwidget) self.pix2.setGeometry(QtCore.QRect(740, 910, 101, 16)) font = QtGui.QFont() font.setPointSize(12) self.pix2.setFont(font) self.pix2.setObjectName(_fromUtf8("pix2")) self.pix3 = QtGui.QLabel(self.centralwidget) self.pix3.setGeometry(QtCore.QRect(1040, 910, 101, 16)) font = QtGui.QFont() font.setPointSize(12) self.pix3.setFont(font) self.pix3.setObjectName(_fromUtf8("pix3")) self.pix4 = QtGui.QLabel(self.centralwidget) self.pix4.setGeometry(QtCore.QRect(1330, 910, 111, 16)) font = QtGui.QFont() font.setPointSize(12) self.pix4.setFont(font) self.pix4.setObjectName(_fromUtf8("pix4")) self.a0 = QtGui.QRadioButton(self.centralwidget) self.a0.setGeometry(QtCore.QRect(70, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.a0.setFont(font) self.a0.setChecked(True) self.a0.setAutoExclusive(False) self.a0.setObjectName(_fromUtf8("a0")) self.r0 = QtGui.QRadioButton(self.centralwidget) self.r0.setGeometry(QtCore.QRect(120, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.r0.setFont(font) self.r0.setAutoExclusive(False) self.r0.setObjectName(_fromUtf8("r0")) self.x0 = QtGui.QRadioButton(self.centralwidget) self.x0.setGeometry(QtCore.QRect(170, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.x0.setFont(font) self.x0.setAutoExclusive(False) self.x0.setObjectName(_fromUtf8("x0")) self.y0 = QtGui.QRadioButton(self.centralwidget) self.y0.setGeometry(QtCore.QRect(220, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.y0.setFont(font) self.y0.setAutoExclusive(False) self.y0.setObjectName(_fromUtf8("y0")) self.x1 = QtGui.QRadioButton(self.centralwidget) self.x1.setGeometry(QtCore.QRect(470, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.x1.setFont(font) self.x1.setAutoExclusive(False) self.x1.setObjectName(_fromUtf8("x1")) self.a1 = QtGui.QRadioButton(self.centralwidget) self.a1.setGeometry(QtCore.QRect(370, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.a1.setFont(font) self.a1.setChecked(True) self.a1.setAutoExclusive(False) self.a1.setObjectName(_fromUtf8("a1")) self.y1 = QtGui.QRadioButton(self.centralwidget) self.y1.setGeometry(QtCore.QRect(520, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.y1.setFont(font) self.y1.setAutoExclusive(False) self.y1.setObjectName(_fromUtf8("y1")) self.r1 = QtGui.QRadioButton(self.centralwidget) self.r1.setGeometry(QtCore.QRect(420, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.r1.setFont(font) self.r1.setAutoExclusive(False) self.r1.setObjectName(_fromUtf8("r1")) self.x2 = QtGui.QRadioButton(self.centralwidget) self.x2.setGeometry(QtCore.QRect(770, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.x2.setFont(font) self.x2.setAutoExclusive(False) self.x2.setObjectName(_fromUtf8("x2")) self.a2 = QtGui.QRadioButton(self.centralwidget) self.a2.setGeometry(QtCore.QRect(670, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.a2.setFont(font) self.a2.setChecked(True) self.a2.setAutoExclusive(False) self.a2.setObjectName(_fromUtf8("a2")) self.y2 = QtGui.QRadioButton(self.centralwidget) self.y2.setGeometry(QtCore.QRect(820, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.y2.setFont(font) self.y2.setAutoExclusive(False) self.y2.setObjectName(_fromUtf8("y2")) self.r2 = QtGui.QRadioButton(self.centralwidget) self.r2.setGeometry(QtCore.QRect(720, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.r2.setFont(font) self.r2.setAutoExclusive(False) self.r2.setObjectName(_fromUtf8("r2")) self.x3 = QtGui.QRadioButton(self.centralwidget) self.x3.setGeometry(QtCore.QRect(1070, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.x3.setFont(font) self.x3.setAutoExclusive(False) self.x3.setObjectName(_fromUtf8("x3")) self.a3 = QtGui.QRadioButton(self.centralwidget) self.a3.setGeometry(QtCore.QRect(970, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.a3.setFont(font) self.a3.setChecked(True) self.a3.setAutoExclusive(False) self.a3.setObjectName(_fromUtf8("a3")) self.y3 = QtGui.QRadioButton(self.centralwidget) self.y3.setGeometry(QtCore.QRect(1120, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.y3.setFont(font) self.y3.setAutoExclusive(False) self.y3.setObjectName(_fromUtf8("y3")) self.r3 = QtGui.QRadioButton(self.centralwidget) self.r3.setGeometry(QtCore.QRect(1020, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.r3.setFont(font) self.r3.setAutoExclusive(False) self.r3.setObjectName(_fromUtf8("r3")) self.x4 = QtGui.QRadioButton(self.centralwidget) self.x4.setGeometry(QtCore.QRect(1370, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.x4.setFont(font) self.x4.setAutoExclusive(False) self.x4.setObjectName(_fromUtf8("x4")) self.a4 = QtGui.QRadioButton(self.centralwidget) self.a4.setGeometry(QtCore.QRect(1270, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.a4.setFont(font) self.a4.setChecked(True) self.a4.setAutoExclusive(False) self.a4.setObjectName(_fromUtf8("a4")) self.y4 = QtGui.QRadioButton(self.centralwidget) self.y4.setGeometry(QtCore.QRect(1420, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.y4.setFont(font) self.y4.setAutoExclusive(False) self.y4.setObjectName(_fromUtf8("y4")) self.r4 = QtGui.QRadioButton(self.centralwidget) self.r4.setGeometry(QtCore.QRect(1320, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.r4.setFont(font) self.r4.setAutoExclusive(False) self.r4.setObjectName(_fromUtf8("r4")) self.label_7 = QtGui.QLabel(self.centralwidget) self.label_7.setGeometry(QtCore.QRect(10, 400, 131, 21)) font = QtGui.QFont() font.setPointSize(12) self.label_7.setFont(font) self.label_7.setObjectName(_fromUtf8("label_7")) self.label_8 = QtGui.QLabel(self.centralwidget) self.label_8.setGeometry(QtCore.QRect(10, 830, 131, 21)) font = QtGui.QFont() font.setPointSize(12) self.label_8.setFont(font) self.label_8.setObjectName(_fromUtf8("label_8")) self.dle0x = QtGui.QLineEdit(self.centralwidget) self.dle0x.setGeometry(QtCore.QRect(120, 400, 181, 20)) font = QtGui.QFont() font.setPointSize(14) self.dle0x.setFont(font) self.dle0x.setObjectName(_fromUtf8("dle0x")) self.dle0y = QtGui.QLineEdit(self.centralwidget) self.dle0y.setGeometry(QtCore.QRect(120, 830, 181, 20)) font = QtGui.QFont() font.setPointSize(14) self.dle0y.setFont(font) self.dle0y.setObjectName(_fromUtf8("dle0y")) self.dle1x = QtGui.QLineEdit(self.centralwidget) self.dle1x.setGeometry(QtCore.QRect(420, 400, 181, 20)) font = QtGui.QFont() font.setPointSize(14) self.dle1x.setFont(font) self.dle1x.setObjectName(_fromUtf8("dle1x")) self.dle1y = QtGui.QLineEdit(self.centralwidget) self.dle1y.setGeometry(QtCore.QRect(420, 830, 181, 20)) font = QtGui.QFont() font.setPointSize(14) self.dle1y.setFont(font) self.dle1y.setObjectName(_fromUtf8("dle1y")) self.dle2x = QtGui.QLineEdit(self.centralwidget) self.dle2x.setGeometry(QtCore.QRect(720, 400, 181, 20)) font = QtGui.QFont() font.setPointSize(14) self.dle2x.setFont(font) self.dle2x.setObjectName(_fromUtf8("dle2x")) self.dle2y = QtGui.QLineEdit(self.centralwidget) self.dle2y.setGeometry(QtCore.QRect(720, 830, 181, 20)) font = QtGui.QFont() font.setPointSize(14) self.dle2y.setFont(font) self.dle2y.setObjectName(_fromUtf8("dle2y")) self.dle3x = QtGui.QLineEdit(self.centralwidget) self.dle3x.setGeometry(QtCore.QRect(1020, 400, 181, 20)) font = QtGui.QFont() font.setPointSize(14) self.dle3x.setFont(font) self.dle3x.setObjectName(_fromUtf8("dle3x")) self.dle3y = QtGui.QLineEdit(self.centralwidget) self.dle3y.setGeometry(QtCore.QRect(1020, 830, 181, 20)) font = QtGui.QFont() font.setPointSize(14) self.dle3y.setFont(font) self.dle3y.setObjectName(_fromUtf8("dle3y")) self.dle4x = QtGui.QLineEdit(self.centralwidget) self.dle4x.setGeometry(QtCore.QRect(1320, 400, 181, 20)) font = QtGui.QFont() font.setPointSize(14) self.dle4x.setFont(font) self.dle4x.setObjectName(_fromUtf8("dle4x")) self.dle4y = QtGui.QLineEdit(self.centralwidget) self.dle4y.setGeometry(QtCore.QRect(1320, 830, 181, 20)) font = QtGui.QFont() font.setPointSize(14) self.dle4y.setFont(font) self.dle4y.setObjectName(_fromUtf8("dle4y")) self.label_10 = QtGui.QLabel(self.centralwidget) self.label_10.setGeometry(QtCore.QRect(880, 950, 46, 20)) font = QtGui.QFont() font.setPointSize(12) self.label_10.setFont(font) self.label_10.setObjectName(_fromUtf8("label_10")) self.pixelgo = QtGui.QLineEdit(self.centralwidget) self.pixelgo.setGeometry(QtCore.QRect(920, 950, 61, 21)) font = QtGui.QFont() font.setPointSize(12) self.pixelgo.setFont(font) self.pixelgo.setObjectName(_fromUtf8("pixelgo")) self.gobtn = QtGui.QPushButton(self.centralwidget) self.gobtn.setGeometry(QtCore.QRect(780, 950, 91, 21)) font = QtGui.QFont() font.setPointSize(12) self.gobtn.setFont(font) self.gobtn.setObjectName(_fromUtf8("gobtn")) self.ebtn0x = QtGui.QPushButton(self.centralwidget) self.ebtn0x.setGeometry(QtCore.QRect(230, 10, 75, 23)) self.ebtn0x.setObjectName(_fromUtf8("ebtn0x")) self.ebtn0y = QtGui.QPushButton(self.centralwidget) self.ebtn0y.setGeometry(QtCore.QRect(230, 440, 75, 23)) self.ebtn0y.setObjectName(_fromUtf8("ebtn0y")) self.ebtn1x = QtGui.QPushButton(self.centralwidget) self.ebtn1x.setGeometry(QtCore.QRect(530, 10, 75, 23)) self.ebtn1x.setObjectName(_fromUtf8("ebtn1x")) self.ebtn1y = QtGui.QPushButton(self.centralwidget) self.ebtn1y.setGeometry(QtCore.QRect(530, 440, 75, 23)) self.ebtn1y.setObjectName(_fromUtf8("ebtn1y")) self.ebtn2x = QtGui.QPushButton(self.centralwidget) self.ebtn2x.setGeometry(QtCore.QRect(830, 10, 75, 23)) self.ebtn2x.setObjectName(_fromUtf8("ebtn2x")) self.ebtn2y = QtGui.QPushButton(self.centralwidget) self.ebtn2y.setGeometry(QtCore.QRect(830, 440, 75, 23)) self.ebtn2y.setObjectName(_fromUtf8("ebtn2y")) self.ebtn3x = QtGui.QPushButton(self.centralwidget) self.ebtn3x.setGeometry(QtCore.QRect(1130, 10, 75, 23)) self.ebtn3x.setObjectName(_fromUtf8("ebtn3x")) self.ebtn3y = QtGui.QPushButton(self.centralwidget) self.ebtn3y.setGeometry(QtCore.QRect(1130, 440, 75, 23)) self.ebtn3y.setObjectName(_fromUtf8("ebtn3y")) self.ebtn4x = QtGui.QPushButton(self.centralwidget) self.ebtn4x.setGeometry(QtCore.QRect(1430, 10, 75, 23)) self.ebtn4x.setObjectName(_fromUtf8("ebtn4x")) self.ebtn4y = QtGui.QPushButton(self.centralwidget) self.ebtn4y.setGeometry(QtCore.QRect(1430, 440, 75, 23)) self.ebtn4y.setObjectName(_fromUtf8("ebtn4y")) self.label_11 = QtGui.QLabel(self.centralwidget) self.label_11.setGeometry(QtCore.QRect(930, 980, 591, 71)) font = QtGui.QFont() font.setPointSize(10) self.label_11.setFont(font) self.label_11.setObjectName(_fromUtf8("label_11")) self.configBtn = QtGui.QPushButton(self.centralwidget) self.configBtn.setGeometry(QtCore.QRect(10, 950, 131, 21)) self.configBtn.setObjectName(_fromUtf8("configBtn")) self.configLabel = QtGui.QLabel(self.centralwidget) self.configLabel.setGeometry(QtCore.QRect(150, 950, 611, 21)) font = QtGui.QFont() font.setPointSize(8) self.configLabel.setFont(font) self.configLabel.setFrameShape(QtGui.QFrame.StyledPanel) self.configLabel.setText(_fromUtf8("")) self.configLabel.setObjectName(_fromUtf8("configLabel")) self.loadDataBtn = QtGui.QPushButton(self.centralwidget) self.loadDataBtn.setGeometry(QtCore.QRect(1240, 950, 111, 21)) self.loadDataBtn.setObjectName(_fromUtf8("loadDataBtn")) self.loadDoublesBtn = QtGui.QPushButton(self.centralwidget) self.loadDoublesBtn.setGeometry(QtCore.QRect(1370, 950, 121, 21)) self.loadDoublesBtn.setObjectName(_fromUtf8("loadDoublesBtn")) beammap_gui.setCentralWidget(self.centralwidget) self.menubar = QtGui.QMenuBar(beammap_gui) self.menubar.setGeometry(QtCore.QRect(0, 0, 1520, 25)) self.menubar.setObjectName(_fromUtf8("menubar")) beammap_gui.setMenuBar(self.menubar) self.statusbar = QtGui.QStatusBar(beammap_gui) self.statusbar.setObjectName(_fromUtf8("statusbar")) beammap_gui.setStatusBar(self.statusbar) self.retranslateUi(beammap_gui) QtCore.QMetaObject.connectSlotsByName(beammap_gui) def retranslateUi(self, beammap_gui): beammap_gui.setWindowTitle(QtGui.QApplication.translate("beammap_gui", "Beam Mapping", None, QtGui.QApplication.UnicodeUTF8)) self.label.setText(QtGui.QApplication.translate("beammap_gui", "X Sweeps", None, QtGui.QApplication.UnicodeUTF8)) self.label_2.setText(QtGui.QApplication.translate("beammap_gui", "Y Sweeps", None, QtGui.QApplication.UnicodeUTF8)) self.nextbtn.setText(QtGui.QApplication.translate("beammap_gui", "Next", None, QtGui.QApplication.UnicodeUTF8)) self.savebtn.setText(QtGui.QApplication.translate("beammap_gui", "Save", None, QtGui.QApplication.UnicodeUTF8)) self.label_3.setText(QtGui.QApplication.translate("beammap_gui", "X Fit Pos", None, QtGui.QApplication.UnicodeUTF8)) self.label_4.setText(QtGui.QApplication.translate("beammap_gui", "Y Fit Pos", None, QtGui.QApplication.UnicodeUTF8)) self.pp0x.setText(QtGui.QApplication.translate("beammap_gui", "pp0x", None, QtGui.QApplication.UnicodeUTF8)) self.pp0y.setText(QtGui.QApplication.translate("beammap_gui", "pp0y", None, QtGui.QApplication.UnicodeUTF8)) self.pp1x.setText(QtGui.QApplication.translate("beammap_gui", "pp1x", None, QtGui.QApplication.UnicodeUTF8)) self.pp1y.setText(QtGui.QApplication.translate("beammap_gui", "pp1y", None, QtGui.QApplication.UnicodeUTF8)) self.pp2x.setText(QtGui.QApplication.translate("beammap_gui", "pp2x", None, QtGui.QApplication.UnicodeUTF8)) self.pp2y.setText(QtGui.QApplication.translate("beammap_gui", "pp2y", None, QtGui.QApplication.UnicodeUTF8)) self.pp3x.setText(QtGui.QApplication.translate("beammap_gui", "pp3x", None, QtGui.QApplication.UnicodeUTF8)) self.pp3y.setText(QtGui.QApplication.translate("beammap_gui", "pp3y", None, QtGui.QApplication.UnicodeUTF8)) self.pp4x.setText(QtGui.QApplication.translate("beammap_gui", "pp4x", None, QtGui.QApplication.UnicodeUTF8)) self.pp4y.setText(QtGui.QApplication.translate("beammap_gui", "pp4y", None, QtGui.QApplication.UnicodeUTF8)) self.label_5.setText(QtGui.QApplication.translate("beammap_gui", "X Self Pos", None, QtGui.QApplication.UnicodeUTF8)) self.label_6.setText(QtGui.QApplication.translate("beammap_gui", "Y Self Pos", None, QtGui.QApplication.UnicodeUTF8)) self.le0x.setText(QtGui.QApplication.translate("beammap_gui", "le0x", None, QtGui.QApplication.UnicodeUTF8)) self.le0y.setText(QtGui.QApplication.translate("beammap_gui", "le0y", None, QtGui.QApplication.UnicodeUTF8)) self.le1x.setText(QtGui.QApplication.translate("beammap_gui", "le1x", None, QtGui.QApplication.UnicodeUTF8)) self.le1y.setText(QtGui.QApplication.translate("beammap_gui", "le1y", None, QtGui.QApplication.UnicodeUTF8)) self.le2x.setText(QtGui.QApplication.translate("beammap_gui", "le2x", None, QtGui.QApplication.UnicodeUTF8)) self.le2y.setText(QtGui.QApplication.translate("beammap_gui", "le2y", None, QtGui.QApplication.UnicodeUTF8)) self.le3x.setText(QtGui.QApplication.translate("beammap_gui", "le3x", None, QtGui.QApplication.UnicodeUTF8)) self.le3y.setText(QtGui.QApplication.translate("beammap_gui", "le3y", None, QtGui.QApplication.UnicodeUTF8)) self.le4x.setText(QtGui.QApplication.translate("beammap_gui", "le4x", None, QtGui.QApplication.UnicodeUTF8)) self.le4y.setText(QtGui.QApplication.translate("beammap_gui", "le4y", None, QtGui.QApplication.UnicodeUTF8)) self.pix0.setText(QtGui.QApplication.translate("beammap_gui", "Pixel 0", None, QtGui.QApplication.UnicodeUTF8)) self.pix1.setText(QtGui.QApplication.translate("beammap_gui", "Pixel 1", None, QtGui.QApplication.UnicodeUTF8)) self.pix2.setText(QtGui.QApplication.translate("beammap_gui", "Pixel 2", None, QtGui.QApplication.UnicodeUTF8)) self.pix3.setText(QtGui.QApplication.translate("beammap_gui", "Pixel 3", None, QtGui.QApplication.UnicodeUTF8)) self.pix4.setText(QtGui.QApplication.translate("beammap_gui", "Pixel 4", None, QtGui.QApplication.UnicodeUTF8)) self.a0.setText(QtGui.QApplication.translate("beammap_gui", "A", None, QtGui.QApplication.UnicodeUTF8)) self.r0.setText(QtGui.QApplication.translate("beammap_gui", "R", None, QtGui.QApplication.UnicodeUTF8)) self.x0.setText(QtGui.QApplication.translate("beammap_gui", "X", None, QtGui.QApplication.UnicodeUTF8)) self.y0.setText(QtGui.QApplication.translate("beammap_gui", "Y", None, QtGui.QApplication.UnicodeUTF8)) self.x1.setText(QtGui.QApplication.translate("beammap_gui", "X", None, QtGui.QApplication.UnicodeUTF8)) self.a1.setText(QtGui.QApplication.translate("beammap_gui", "A", None, QtGui.QApplication.UnicodeUTF8)) self.y1.setText(QtGui.QApplication.translate("beammap_gui", "Y", None, QtGui.QApplication.UnicodeUTF8)) self.r1.setText(QtGui.QApplication.translate("beammap_gui", "R", None, QtGui.QApplication.UnicodeUTF8)) self.x2.setText(QtGui.QApplication.translate("beammap_gui", "X", None, QtGui.QApplication.UnicodeUTF8)) self.a2.setText(QtGui.QApplication.translate("beammap_gui", "A", None, QtGui.QApplication.UnicodeUTF8)) self.y2.setText(QtGui.QApplication.translate("beammap_gui", "Y", None, QtGui.QApplication.UnicodeUTF8)) self.r2.setText(QtGui.QApplication.translate("beammap_gui", "R", None, QtGui.QApplication.UnicodeUTF8)) self.x3.setText(QtGui.QApplication.translate("beammap_gui", "X", None, QtGui.QApplication.UnicodeUTF8)) self.a3.setText(QtGui.QApplication.translate("beammap_gui", "A", None, QtGui.QApplication.UnicodeUTF8)) self.y3.setText(QtGui.QApplication.translate("beammap_gui", "Y", None, QtGui.QApplication.UnicodeUTF8)) self.r3.setText(QtGui.QApplication.translate("beammap_gui", "R", None, QtGui.QApplication.UnicodeUTF8)) self.x4.setText(QtGui.QApplication.translate("beammap_gui", "X", None, QtGui.QApplication.UnicodeUTF8)) self.a4.setText(QtGui.QApplication.translate("beammap_gui", "A", None, QtGui.QApplication.UnicodeUTF8)) self.y4.setText(QtGui.QApplication.translate("beammap_gui", "Y", None, QtGui.QApplication.UnicodeUTF8)) self.r4.setText(QtGui.QApplication.translate("beammap_gui", "R", None, QtGui.QApplication.UnicodeUTF8)) self.label_7.setText(QtGui.QApplication.translate("beammap_gui", "X Double Pos", None, QtGui.QApplication.UnicodeUTF8)) self.label_8.setText(QtGui.QApplication.translate("beammap_gui", "Y Double Pos", None, QtGui.QApplication.UnicodeUTF8)) self.dle0x.setText(QtGui.QApplication.translate("beammap_gui", "dle0x", None, QtGui.QApplication.UnicodeUTF8)) self.dle0y.setText(QtGui.QApplication.translate("beammap_gui", "dle0y", None, QtGui.QApplication.UnicodeUTF8)) self.dle1x.setText(QtGui.QApplication.translate("beammap_gui", "dle1x", None, QtGui.QApplication.UnicodeUTF8)) self.dle1y.setText(QtGui.QApplication.translate("beammap_gui", "dle1y", None, QtGui.QApplication.UnicodeUTF8)) self.dle2x.setText(QtGui.QApplication.translate("beammap_gui", "dle2x", None, QtGui.QApplication.UnicodeUTF8)) self.dle2y.setText(QtGui.QApplication.translate("beammap_gui", "dle2y", None, QtGui.QApplication.UnicodeUTF8)) self.dle3x.setText(QtGui.QApplication.translate("beammap_gui", "dle3x", None, QtGui.QApplication.UnicodeUTF8)) self.dle3y.setText(QtGui.QApplication.translate("beammap_gui", "dle3y", None, QtGui.QApplication.UnicodeUTF8)) self.dle4x.setText(QtGui.QApplication.translate("beammap_gui", "dle4x", None, QtGui.QApplication.UnicodeUTF8)) self.dle4y.setText(QtGui.QApplication.translate("beammap_gui", "dle4y", None, QtGui.QApplication.UnicodeUTF8)) self.label_10.setText(QtGui.QApplication.translate("beammap_gui", "Pixel", None, QtGui.QApplication.UnicodeUTF8)) self.gobtn.setText(QtGui.QApplication.translate("beammap_gui", "Go To", None, QtGui.QApplication.UnicodeUTF8)) self.ebtn0x.setText(QtGui.QApplication.translate("beammap_gui", "Enlarge", None, QtGui.QApplication.UnicodeUTF8)) self.ebtn0y.setText(QtGui.QApplication.translate("beammap_gui", "Enlarge", None, QtGui.QApplication.UnicodeUTF8)) self.ebtn1x.setText(QtGui.QApplication.translate("beammap_gui", "Enlarge", None, QtGui.QApplication.UnicodeUTF8)) self.ebtn1y.setText(QtGui.QApplication.translate("beammap_gui", "Enlarge", None, QtGui.QApplication.UnicodeUTF8)) self.ebtn2x.setText(QtGui.QApplication.translate("beammap_gui", "Enlarge", None, QtGui.QApplication.UnicodeUTF8)) self.ebtn2y.setText(QtGui.QApplication.translate("beammap_gui", "Enlarge", None, QtGui.QApplication.UnicodeUTF8)) self.ebtn3x.setText(QtGui.QApplication.translate("beammap_gui", "Enlarge", None, QtGui.QApplication.UnicodeUTF8)) self.ebtn3y.setText(QtGui.QApplication.translate("beammap_gui", "Enlarge", None, QtGui.QApplication.UnicodeUTF8)) self.ebtn4x.setText(QtGui.QApplication.translate("beammap_gui", "Enlarge", None, QtGui.QApplication.UnicodeUTF8)) self.ebtn4y.setText(QtGui.QApplication.translate("beammap_gui", "Enlarge", None, QtGui.QApplication.UnicodeUTF8)) self.label_11.setText(QtGui.QApplication.translate("beammap_gui", "Notes\n" "1) Hit return to set self and double positions\n" "2) Enlarged plots must be closed before setting self or double positions.", None, QtGui.QApplication.UnicodeUTF8)) self.configBtn.setText(QtGui.QApplication.translate("beammap_gui", "LOAD CONFIG FILE", None, QtGui.QApplication.UnicodeUTF8)) self.loadDataBtn.setText(QtGui.QApplication.translate("beammap_gui", "Load Old Data", None, QtGui.QApplication.UnicodeUTF8)) self.loadDoublesBtn.setText(QtGui.QApplication.translate("beammap_gui", "Load Old Doubles", None, QtGui.QApplication.UnicodeUTF8))
def setupUi(self, Dialog): Dialog.setObjectName("Dialog") Dialog.resize(418, 580) Dialog.setMaximumSize(QtCore.QSize(800, 580)) Dialog.setModal(False) self.verticalLayout = QtGui.QVBoxLayout(Dialog) self.verticalLayout.setObjectName("verticalLayout") self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.gridLayout = QtGui.QGridLayout() self.gridLayout.setObjectName("gridLayout") self.label = QtGui.QLabel(Dialog) self.label.setObjectName("label") self.gridLayout.addWidget(self.label, 0, 0, 1, 1) self.xval = QtGui.QLabel(Dialog) self.xval.setFrameShape(QtGui.QFrame.StyledPanel) self.xval.setFrameShadow(QtGui.QFrame.Sunken) self.xval.setObjectName("xval") self.gridLayout.addWidget(self.xval, 0, 1, 1, 1) self.label_3 = QtGui.QLabel(Dialog) self.label_3.setObjectName("label_3") self.gridLayout.addWidget(self.label_3, 1, 0, 1, 1) self.label_5 = QtGui.QLabel(Dialog) self.label_5.setObjectName("label_5") self.gridLayout.addWidget(self.label_5, 2, 0, 1, 1) self.counts = QtGui.QLabel(Dialog) self.counts.setFrameShape(QtGui.QFrame.StyledPanel) self.counts.setFrameShadow(QtGui.QFrame.Sunken) self.counts.setObjectName("counts") self.gridLayout.addWidget(self.counts, 2, 1, 1, 1) self.label_7 = QtGui.QLabel(Dialog) self.label_7.setObjectName("label_7") self.gridLayout.addWidget(self.label_7, 3, 0, 1, 1) self.background = QtGui.QLabel(Dialog) self.background.setFrameShape(QtGui.QFrame.StyledPanel) self.background.setFrameShadow(QtGui.QFrame.Sunken) self.background.setObjectName("background") self.gridLayout.addWidget(self.background, 3, 1, 1, 1) self.yval = QtGui.QLabel(Dialog) self.yval.setFrameShape(QtGui.QFrame.StyledPanel) self.yval.setFrameShadow(QtGui.QFrame.Sunken) self.yval.setObjectName("yval") self.gridLayout.addWidget(self.yval, 1, 1, 1, 1) self.horizontalLayout.addLayout(self.gridLayout) self.qtframe = QtGui.QFrame(Dialog) self.qtframe.setMinimumSize(QtCore.QSize(200, 200)) self.qtframe.setMaximumSize(QtCore.QSize(200, 200)) self.qtframe.setFrameShape(QtGui.QFrame.StyledPanel) self.qtframe.setFrameShadow(QtGui.QFrame.Raised) self.qtframe.setObjectName("qtframe") self.vis = MPL_Widget1(self.qtframe) self.vis.setGeometry(QtCore.QRect(0, 0, 200, 200)) self.vis.setMinimumSize(QtCore.QSize(200, 200)) self.vis.setMaximumSize(QtCore.QSize(200, 200)) self.vis.setObjectName("vis") self.horizontalLayout.addWidget(self.qtframe) self.verticalLayout.addLayout(self.horizontalLayout) self.tabWidget = QtGui.QTabWidget(Dialog) self.tabWidget.setTabPosition(QtGui.QTabWidget.South) self.tabWidget.setTabShape(QtGui.QTabWidget.Rounded) self.tabWidget.setObjectName("tabWidget") self.tab_3 = QtGui.QWidget() self.tab_3.setObjectName("tab_3") self.verticalLayout_2 = QtGui.QVBoxLayout(self.tab_3) self.verticalLayout_2.setObjectName("verticalLayout_2") self.radprof = MPL_Widget(self.tab_3) self.radprof.setMinimumSize(QtCore.QSize(300, 0)) self.radprof.setMaximumSize(QtCore.QSize(16777215, 1677215)) self.radprof.setObjectName("radprof") self.verticalLayout_2.addWidget(self.radprof) self.tabWidget.addTab(self.tab_3, "") self.tab_4 = QtGui.QWidget() self.tab_4.setObjectName("tab_4") self.verticalLayout_3 = QtGui.QVBoxLayout(self.tab_4) self.verticalLayout_3.setObjectName("verticalLayout_3") self.horcut = MPL_Widget(self.tab_4) self.horcut.setMinimumSize(QtCore.QSize(300, 0)) self.horcut.setMaximumSize(QtCore.QSize(16777215, 1677215)) self.horcut.setObjectName("horcut") self.verticalLayout_3.addWidget(self.horcut) self.tabWidget.addTab(self.tab_4, "") self.tab_5 = QtGui.QWidget() self.tab_5.setObjectName("tab_5") self.verticalLayout_4 = QtGui.QVBoxLayout(self.tab_5) self.verticalLayout_4.setObjectName("verticalLayout_4") self.vertcut = MPL_Widget(self.tab_5) self.vertcut.setMinimumSize(QtCore.QSize(300, 0)) self.vertcut.setMaximumSize(QtCore.QSize(16777215, 1677215)) self.vertcut.setObjectName("vertcut") self.verticalLayout_4.addWidget(self.vertcut) self.tabWidget.addTab(self.tab_5, "") self.verticalLayout.addWidget(self.tabWidget) self.retranslateUi(Dialog) self.tabWidget.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(Dialog)
def setupUi(self, MainWindow): MainWindow.setObjectName(_fromUtf8("MainWindow")) MainWindow.resize(915, 1010) self.centralwidget = QtGui.QWidget(MainWindow) self.centralwidget.setObjectName(_fromUtf8("centralwidget")) self.plot_1 = MPL_Widget(self.centralwidget) self.plot_1.setGeometry(QtCore.QRect(20, 10, 891, 311)) self.plot_1.setObjectName(_fromUtf8("plot_1")) self.plot_2 = MPL_Widget(self.centralwidget) self.plot_2.setGeometry(QtCore.QRect(20, 330, 891, 331)) self.plot_2.setObjectName(_fromUtf8("plot_2")) self.plot_3 = MPL_Widget(self.centralwidget) self.plot_3.setGeometry(QtCore.QRect(290, 660, 391, 301)) self.plot_3.setObjectName(_fromUtf8("plot_3")) self.frequency = QtGui.QLabel(self.centralwidget) self.frequency.setGeometry(QtCore.QRect(790, 760, 62, 17)) self.frequency.setObjectName(_fromUtf8("frequency")) self.atten = QtGui.QSpinBox(self.centralwidget) self.atten.setGeometry(QtCore.QRect(770, 790, 61, 31)) self.atten.setObjectName(_fromUtf8("atten")) self.label = QtGui.QLabel(self.centralwidget) self.label.setGeometry(QtCore.QRect(710, 760, 71, 17)) self.label.setObjectName(_fromUtf8("label")) self.savevalues = QtGui.QPushButton(self.centralwidget) self.savevalues.setGeometry(QtCore.QRect(730, 870, 131, 41)) self.savevalues.setObjectName(_fromUtf8("savevalues")) self.label_2 = QtGui.QLabel(self.centralwidget) self.label_2.setGeometry(QtCore.QRect(710, 730, 91, 17)) self.label_2.setObjectName(_fromUtf8("label_2")) self.res_num = QtGui.QLabel(self.centralwidget) self.res_num.setGeometry(QtCore.QRect(810, 730, 62, 17)) self.res_num.setObjectName(_fromUtf8("res_num")) self.open_browse = QtGui.QPushButton(self.centralwidget) self.open_browse.setGeometry(QtCore.QRect(20, 700, 114, 32)) self.open_browse.setObjectName(_fromUtf8("open_browse")) self.open_filename = QtGui.QLineEdit(self.centralwidget) self.open_filename.setGeometry(QtCore.QRect(20, 740, 261, 22)) self.open_filename.setObjectName(_fromUtf8("open_filename")) self.save_browse = QtGui.QPushButton(self.centralwidget) self.save_browse.setGeometry(QtCore.QRect(20, 780, 114, 32)) self.save_browse.setObjectName(_fromUtf8("save_browse")) self.save_filename = QtGui.QLineEdit(self.centralwidget) self.save_filename.setGeometry(QtCore.QRect(20, 820, 261, 22)) self.save_filename.setObjectName(_fromUtf8("save_filename")) self.label_3 = QtGui.QLabel(self.centralwidget) self.label_3.setGeometry(QtCore.QRect(710, 800, 62, 17)) self.label_3.setObjectName(_fromUtf8("label_3")) self.jumptores = QtGui.QPushButton(self.centralwidget) self.jumptores.setGeometry(QtCore.QRect(690, 686, 111, 41)) self.jumptores.setObjectName(_fromUtf8("jumptores")) self.jumptonum = QtGui.QSpinBox(self.centralwidget) self.jumptonum.setGeometry(QtCore.QRect(810, 690, 57, 31)) self.jumptonum.setMaximum(9999) self.jumptonum.setObjectName(_fromUtf8("jumptonum")) MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtGui.QMenuBar(MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 915, 22)) self.menubar.setObjectName(_fromUtf8("menubar")) MainWindow.setMenuBar(self.menubar) self.statusbar = QtGui.QStatusBar(MainWindow) self.statusbar.setObjectName(_fromUtf8("statusbar")) MainWindow.setStatusBar(self.statusbar) self.retranslateUi(MainWindow) QtCore.QMetaObject.connectSlotsByName(MainWindow)
def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(987, 673) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap("games.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) MainWindow.setWindowIcon(icon) MainWindow.setIconSize(QtCore.QSize(30, 30)) self.centralwidget = QtGui.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.hboxlayout = QtGui.QHBoxLayout(self.centralwidget) self.hboxlayout.setObjectName("hboxlayout") self.tabWidget = QtGui.QTabWidget(self.centralwidget) self.tabWidget.setEnabled(True) self.tabWidget.setObjectName("tabWidget") self.tab = QtGui.QWidget() self.tab.setObjectName("tab") self.vboxlayout = QtGui.QVBoxLayout(self.tab) self.vboxlayout.setObjectName("vboxlayout") self.hboxlayout1 = QtGui.QHBoxLayout() self.hboxlayout1.setObjectName("hboxlayout1") self.vboxlayout1 = QtGui.QVBoxLayout() self.vboxlayout1.setObjectName("vboxlayout1") self.hboxlayout2 = QtGui.QHBoxLayout() self.hboxlayout2.setObjectName("hboxlayout2") self.getFolderBtn = QtGui.QPushButton(self.tab) self.getFolderBtn.setObjectName("getFolderBtn") self.hboxlayout2.addWidget(self.getFolderBtn) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout2.addItem(spacerItem) self.vboxlayout1.addLayout(self.hboxlayout2) self.vboxlayout2 = QtGui.QVBoxLayout() self.vboxlayout2.setObjectName("vboxlayout2") self.hboxlayout3 = QtGui.QHBoxLayout() self.hboxlayout3.setObjectName("hboxlayout3") self.label_25 = QtGui.QLabel(self.tab) self.label_25.setObjectName("label_25") self.hboxlayout3.addWidget(self.label_25) self.curFolderLE = QtGui.QLineEdit(self.tab) self.curFolderLE.setReadOnly(True) self.curFolderLE.setObjectName("curFolderLE") self.hboxlayout3.addWidget(self.curFolderLE) self.vboxlayout2.addLayout(self.hboxlayout3) self.label_21 = QtGui.QLabel(self.tab) self.label_21.setObjectName("label_21") self.vboxlayout2.addWidget(self.label_21) self.dirListWidget = QtGui.QListWidget(self.tab) self.dirListWidget.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection) self.dirListWidget.setObjectName("dirListWidget") self.vboxlayout2.addWidget(self.dirListWidget) self.vboxlayout1.addLayout(self.vboxlayout2) self.hboxlayout1.addLayout(self.vboxlayout1) self.vboxlayout3 = QtGui.QVBoxLayout() self.vboxlayout3.setObjectName("vboxlayout3") self.hboxlayout4 = QtGui.QHBoxLayout() self.hboxlayout4.setObjectName("hboxlayout4") self.label = QtGui.QLabel(self.tab) self.label.setObjectName("label") self.hboxlayout4.addWidget(self.label) self.xcmsMethodCB = QtGui.QComboBox(self.tab) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.xcmsMethodCB.sizePolicy().hasHeightForWidth()) self.xcmsMethodCB.setSizePolicy(sizePolicy) self.xcmsMethodCB.setObjectName("xcmsMethodCB") self.hboxlayout4.addWidget(self.xcmsMethodCB) self.vboxlayout3.addLayout(self.hboxlayout4) self.useRetcor_CB = QtGui.QCheckBox(self.tab) self.useRetcor_CB.setObjectName("useRetcor_CB") self.vboxlayout3.addWidget(self.useRetcor_CB) self.vboxlayout4 = QtGui.QVBoxLayout() self.vboxlayout4.setObjectName("vboxlayout4") self.label_2 = QtGui.QLabel(self.tab) self.label_2.setObjectName("label_2") self.vboxlayout4.addWidget(self.label_2) self.paramTableWidget = CustomTable(self.tab) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.paramTableWidget.sizePolicy().hasHeightForWidth()) self.paramTableWidget.setSizePolicy(sizePolicy) self.paramTableWidget.setRowCount(0) self.paramTableWidget.setColumnCount(0) self.paramTableWidget.setObjectName("paramTableWidget") self.paramTableWidget.setColumnCount(0) self.paramTableWidget.setRowCount(0) self.vboxlayout4.addWidget(self.paramTableWidget) self.vboxlayout3.addLayout(self.vboxlayout4) self.hboxlayout1.addLayout(self.vboxlayout3) self.vboxlayout.addLayout(self.hboxlayout1) self.vboxlayout5 = QtGui.QVBoxLayout() self.vboxlayout5.setObjectName("vboxlayout5") self.hboxlayout5 = QtGui.QHBoxLayout() self.hboxlayout5.setObjectName("hboxlayout5") spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout5.addItem(spacerItem1) self.runXCMSBtn = QtGui.QToolButton(self.tab) icon1 = QtGui.QIcon() icon1.addPixmap(QtGui.QPixmap("applications.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.runXCMSBtn.setIcon(icon1) self.runXCMSBtn.setIconSize(QtCore.QSize(30, 30)) self.runXCMSBtn.setObjectName("runXCMSBtn") self.hboxlayout5.addWidget(self.runXCMSBtn) self.vboxlayout5.addLayout(self.hboxlayout5) self.label_3 = QtGui.QLabel(self.tab) self.label_3.setObjectName("label_3") self.vboxlayout5.addWidget(self.label_3) self.RoutputTE = QtGui.QTextEdit(self.tab) self.RoutputTE.setReadOnly(True) self.RoutputTE.setObjectName("RoutputTE") self.vboxlayout5.addWidget(self.RoutputTE) self.vboxlayout.addLayout(self.vboxlayout5) self.tabWidget.addTab(self.tab, "") self.tab_2 = QtGui.QWidget() self.tab_2.setObjectName("tab_2") self.gridlayout = QtGui.QGridLayout(self.tab_2) self.gridlayout.setObjectName("gridlayout") self.vboxlayout6 = QtGui.QVBoxLayout() self.vboxlayout6.setObjectName("vboxlayout6") self.hboxlayout6 = QtGui.QHBoxLayout() self.hboxlayout6.setObjectName("hboxlayout6") self.label_6 = QtGui.QLabel(self.tab_2) self.label_6.setObjectName("label_6") self.hboxlayout6.addWidget(self.label_6) self.eicIndexSlider = QtGui.QSlider(self.tab_2) self.eicIndexSlider.setMaximum(10000) self.eicIndexSlider.setOrientation(QtCore.Qt.Horizontal) self.eicIndexSlider.setObjectName("eicIndexSlider") self.hboxlayout6.addWidget(self.eicIndexSlider) self.eicIndexSB = QtGui.QSpinBox(self.tab_2) self.eicIndexSB.setMaximum(10000) self.eicIndexSB.setObjectName("eicIndexSB") self.hboxlayout6.addWidget(self.eicIndexSB) self.vboxlayout6.addLayout(self.hboxlayout6) self.plotWidget = MPL_Widget(self.tab_2) self.plotWidget.setObjectName("plotWidget") self.vboxlayout6.addWidget(self.plotWidget) self.gridlayout.addLayout(self.vboxlayout6, 0, 0, 1, 1) self.hboxlayout7 = QtGui.QHBoxLayout() self.hboxlayout7.setObjectName("hboxlayout7") self.vboxlayout7 = QtGui.QVBoxLayout() self.vboxlayout7.setObjectName("vboxlayout7") self.hboxlayout8 = QtGui.QHBoxLayout() self.hboxlayout8.setObjectName("hboxlayout8") self.label_7 = QtGui.QLabel(self.tab_2) self.label_7.setObjectName("label_7") self.hboxlayout8.addWidget(self.label_7) self.eicCurFolderLE = QtGui.QLineEdit(self.tab_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.eicCurFolderLE.sizePolicy().hasHeightForWidth()) self.eicCurFolderLE.setSizePolicy(sizePolicy) self.eicCurFolderLE.setReadOnly(True) self.eicCurFolderLE.setObjectName("eicCurFolderLE") self.hboxlayout8.addWidget(self.eicCurFolderLE) self.vboxlayout7.addLayout(self.hboxlayout8) self.hboxlayout9 = QtGui.QHBoxLayout() self.hboxlayout9.setObjectName("hboxlayout9") self.label_5 = QtGui.QLabel(self.tab_2) self.label_5.setLayoutDirection(QtCore.Qt.LeftToRight) self.label_5.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_5.setObjectName("label_5") self.hboxlayout9.addWidget(self.label_5) self.mzStartSB = QtGui.QDoubleSpinBox(self.tab_2) self.mzStartSB.setDecimals(4) self.mzStartSB.setMaximum(100000.0) self.mzStartSB.setSingleStep(0.05) self.mzStartSB.setProperty("value", QtCore.QVariant(215.15)) self.mzStartSB.setObjectName("mzStartSB") self.hboxlayout9.addWidget(self.mzStartSB) self.vboxlayout7.addLayout(self.hboxlayout9) self.hboxlayout10 = QtGui.QHBoxLayout() self.hboxlayout10.setObjectName("hboxlayout10") self.label_4 = QtGui.QLabel(self.tab_2) self.label_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_4.setObjectName("label_4") self.hboxlayout10.addWidget(self.label_4) self.mzStopSB = QtGui.QDoubleSpinBox(self.tab_2) self.mzStopSB.setDecimals(4) self.mzStopSB.setMaximum(100000.0) self.mzStopSB.setSingleStep(0.05) self.mzStopSB.setProperty("value", QtCore.QVariant(227.15)) self.mzStopSB.setObjectName("mzStopSB") self.hboxlayout10.addWidget(self.mzStopSB) self.vboxlayout7.addLayout(self.hboxlayout10) self.hboxlayout11 = QtGui.QHBoxLayout() self.hboxlayout11.setObjectName("hboxlayout11") self.label_11 = QtGui.QLabel(self.tab_2) self.label_11.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_11.setObjectName("label_11") self.hboxlayout11.addWidget(self.label_11) self.rtWidthSB = QtGui.QDoubleSpinBox(self.tab_2) self.rtWidthSB.setDecimals(1) self.rtWidthSB.setMinimum(1.0) self.rtWidthSB.setMaximum(100000.0) self.rtWidthSB.setSingleStep(1.0) self.rtWidthSB.setProperty("value", QtCore.QVariant(200.0)) self.rtWidthSB.setObjectName("rtWidthSB") self.hboxlayout11.addWidget(self.rtWidthSB) self.vboxlayout7.addLayout(self.hboxlayout11) self.hboxlayout12 = QtGui.QHBoxLayout() self.hboxlayout12.setObjectName("hboxlayout12") self.label_12 = QtGui.QLabel(self.tab_2) self.label_12.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_12.setObjectName("label_12") self.hboxlayout12.addWidget(self.label_12) self.rtWidthSB_Stop = QtGui.QDoubleSpinBox(self.tab_2) self.rtWidthSB_Stop.setDecimals(1) self.rtWidthSB_Stop.setMinimum(-1.0) self.rtWidthSB_Stop.setMaximum(100000.0) self.rtWidthSB_Stop.setSingleStep(1.0) self.rtWidthSB_Stop.setProperty("value", QtCore.QVariant(-1.0)) self.rtWidthSB_Stop.setObjectName("rtWidthSB_Stop") self.hboxlayout12.addWidget(self.rtWidthSB_Stop) self.vboxlayout7.addLayout(self.hboxlayout12) self.rtTypeCB = QtGui.QCheckBox(self.tab_2) self.rtTypeCB.setChecked(True) self.rtTypeCB.setObjectName("rtTypeCB") self.vboxlayout7.addWidget(self.rtTypeCB) self.fillPeaks_CB = QtGui.QCheckBox(self.tab_2) self.fillPeaks_CB.setChecked(False) self.fillPeaks_CB.setObjectName("fillPeaks_CB") self.vboxlayout7.addWidget(self.fillPeaks_CB) self.plotLegendCB = QtGui.QCheckBox(self.tab_2) self.plotLegendCB.setChecked(False) self.plotLegendCB.setObjectName("plotLegendCB") self.vboxlayout7.addWidget(self.plotLegendCB) self.getEICBtn = QtGui.QPushButton(self.tab_2) self.getEICBtn.setObjectName("getEICBtn") self.vboxlayout7.addWidget(self.getEICBtn) spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.vboxlayout7.addItem(spacerItem2) self.hboxlayout7.addLayout(self.vboxlayout7) self.gridlayout.addLayout(self.hboxlayout7, 0, 1, 1, 1) self.tabWidget.addTab(self.tab_2, "") self.tab_4 = QtGui.QWidget() self.tab_4.setObjectName("tab_4") self.vboxlayout8 = QtGui.QVBoxLayout(self.tab_4) self.vboxlayout8.setObjectName("vboxlayout8") self.hboxlayout13 = QtGui.QHBoxLayout() self.hboxlayout13.setObjectName("hboxlayout13") self.loadRPY2BatchBtn = QtGui.QPushButton(self.tab_4) self.loadRPY2BatchBtn.setEnabled(False) self.loadRPY2BatchBtn.setObjectName("loadRPY2BatchBtn") self.hboxlayout13.addWidget(self.loadRPY2BatchBtn) spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout13.addItem(spacerItem3) self.vboxlayout8.addLayout(self.hboxlayout13) self.batchScriptTE = QtGui.QTextEdit(self.tab_4) self.batchScriptTE.setEnabled(False) self.batchScriptTE.setObjectName("batchScriptTE") self.vboxlayout8.addWidget(self.batchScriptTE) self.hboxlayout14 = QtGui.QHBoxLayout() self.hboxlayout14.setObjectName("hboxlayout14") spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout14.addItem(spacerItem4) self.runBatchBtn = QtGui.QPushButton(self.tab_4) self.runBatchBtn.setEnabled(False) self.runBatchBtn.setObjectName("runBatchBtn") self.hboxlayout14.addWidget(self.runBatchBtn) self.vboxlayout8.addLayout(self.hboxlayout14) self.tabWidget.addTab(self.tab_4, "") self.tab_3 = QtGui.QWidget() self.tab_3.setObjectName("tab_3") self.hboxlayout15 = QtGui.QHBoxLayout(self.tab_3) self.hboxlayout15.setObjectName("hboxlayout15") self.gridlayout1 = QtGui.QGridLayout() self.gridlayout1.setObjectName("gridlayout1") self.gridlayout2 = QtGui.QGridLayout() self.gridlayout2.setObjectName("gridlayout2") self.gridlayout3 = QtGui.QGridLayout() self.gridlayout3.setObjectName("gridlayout3") self.killRBtn = QtGui.QPushButton(self.tab_3) self.killRBtn.setEnabled(False) self.killRBtn.setObjectName("killRBtn") self.gridlayout3.addWidget(self.killRBtn, 0, 0, 1, 1) self.useMaxMZ_CB = QtGui.QCheckBox(self.tab_3) self.useMaxMZ_CB.setEnabled(False) self.useMaxMZ_CB.setObjectName("useMaxMZ_CB") self.gridlayout3.addWidget(self.useMaxMZ_CB, 1, 0, 1, 1) self.gridlayout2.addLayout(self.gridlayout3, 0, 0, 1, 1) self.hboxlayout16 = QtGui.QHBoxLayout() self.hboxlayout16.setObjectName("hboxlayout16") self.label_8 = QtGui.QLabel(self.tab_3) self.label_8.setEnabled(False) self.label_8.setObjectName("label_8") self.hboxlayout16.addWidget(self.label_8) self.mzMZCutoff_SB = QtGui.QDoubleSpinBox(self.tab_3) self.mzMZCutoff_SB.setEnabled(False) self.mzMZCutoff_SB.setDecimals(3) self.mzMZCutoff_SB.setMinimum(1.0) self.mzMZCutoff_SB.setMaximum(99999.99) self.mzMZCutoff_SB.setProperty("value", QtCore.QVariant(350.0)) self.mzMZCutoff_SB.setObjectName("mzMZCutoff_SB") self.hboxlayout16.addWidget(self.mzMZCutoff_SB) self.gridlayout2.addLayout(self.hboxlayout16, 1, 0, 1, 1) self.gridlayout1.addLayout(self.gridlayout2, 0, 0, 1, 1) spacerItem5 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridlayout1.addItem(spacerItem5, 0, 1, 1, 1) spacerItem6 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridlayout1.addItem(spacerItem6, 1, 0, 1, 1) self.hboxlayout15.addLayout(self.gridlayout1) self.tabWidget.addTab(self.tab_3, "") self.hboxlayout.addWidget(self.tabWidget) MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtGui.QMenuBar(MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 987, 26)) self.menubar.setObjectName("menubar") self.menu_File = QtGui.QMenu(self.menubar) self.menu_File.setObjectName("menu_File") self.menuF_unctions = QtGui.QMenu(self.menubar) self.menuF_unctions.setObjectName("menuF_unctions") MainWindow.setMenuBar(self.menubar) self.statusbar = QtGui.QStatusBar(MainWindow) self.statusbar.setObjectName("statusbar") MainWindow.setStatusBar(self.statusbar) self.action_Open = QtGui.QAction(MainWindow) self.action_Open.setObjectName("action_Open") self.actionSave_Results_Table = QtGui.QAction(MainWindow) self.actionSave_Results_Table.setObjectName("actionSave_Results_Table") self.actionTest_XCMS = QtGui.QAction(MainWindow) self.actionTest_XCMS.setObjectName("actionTest_XCMS") self.actionSave_HDF5 = QtGui.QAction(MainWindow) self.actionSave_HDF5.setObjectName("actionSave_HDF5") self.actionLoad_HDF5 = QtGui.QAction(MainWindow) self.actionLoad_HDF5.setObjectName("actionLoad_HDF5") self.actionRun_XCMS = QtGui.QAction(MainWindow) self.actionRun_XCMS.setObjectName("actionRun_XCMS") self.menu_File.addAction(self.actionSave_HDF5) self.menu_File.addAction(self.actionLoad_HDF5) self.menuF_unctions.addAction(self.actionSave_Results_Table) self.menuF_unctions.addSeparator() self.menuF_unctions.addAction(self.actionRun_XCMS) self.menuF_unctions.addSeparator() self.menuF_unctions.addAction(self.actionTest_XCMS) self.menubar.addAction(self.menu_File.menuAction()) self.menubar.addAction(self.menuF_unctions.menuAction()) self.retranslateUi(MainWindow) self.tabWidget.setCurrentIndex(0) QtCore.QObject.connect(self.eicIndexSlider, QtCore.SIGNAL("valueChanged(int)"), self.eicIndexSB.setValue) QtCore.QObject.connect(self.eicIndexSB, QtCore.SIGNAL("valueChanged(int)"), self.eicIndexSlider.setValue) QtCore.QMetaObject.connectSlotsByName(MainWindow)
def setupUi(self, NTV): NTV.setObjectName(_fromUtf8("NTV")) NTV.resize(1208, 705) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(211, 231, 236)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(211, 231, 236)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(211, 231, 236)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(211, 231, 236)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush) NTV.setPalette(palette) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/sole.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) NTV.setWindowIcon(icon) NTV.setAnimated(True) NTV.setDocumentMode(False) self.centy = QtGui.QWidget(NTV) self.centy.setAcceptDrops(True) self.centy.setObjectName(_fromUtf8("centy")) self.verticalLayout_3 = QtGui.QVBoxLayout(self.centy) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setContentsMargins(-1, -1, 100, -1) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.filelab = QtGui.QLabel(self.centy) self.filelab.setMinimumSize(QtCore.QSize(400, 0)) self.filelab.setMaximumSize(QtCore.QSize(400, 16777215)) self.filelab.setObjectName(_fromUtf8("filelab")) self.horizontalLayout.addWidget(self.filelab) self.pushButton = QtGui.QPushButton(self.centy) self.pushButton.setMaximumSize(QtCore.QSize(75, 16777215)) self.pushButton.setObjectName(_fromUtf8("pushButton")) self.horizontalLayout.addWidget(self.pushButton) self.label_3 = QtGui.QLabel(self.centy) self.label_3.setObjectName(_fromUtf8("label_3")) self.horizontalLayout.addWidget(self.label_3) self.sizeofcut = QtGui.QLineEdit(self.centy) self.sizeofcut.setMinimumSize(QtCore.QSize(75, 0)) self.sizeofcut.setMaximumSize(QtCore.QSize(75, 16777215)) self.sizeofcut.setObjectName(_fromUtf8("sizeofcut")) self.horizontalLayout.addWidget(self.sizeofcut) self.ycheckbox = QtGui.QCheckBox(self.centy) self.ycheckbox.setObjectName(_fromUtf8("ycheckbox")) self.horizontalLayout.addWidget(self.ycheckbox) self.xcheckbox = QtGui.QCheckBox(self.centy) self.xcheckbox.setObjectName(_fromUtf8("xcheckbox")) self.horizontalLayout.addWidget(self.xcheckbox) self.verticalLayout_3.addLayout(self.horizontalLayout) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.frame = QtGui.QFrame(self.centy) self.frame.setMaximumSize(QtCore.QSize(214, 524)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(85, 170, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(85, 170, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(85, 170, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(85, 170, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush) self.frame.setPalette(palette) self.frame.setFrameShape(QtGui.QFrame.StyledPanel) self.frame.setFrameShadow(QtGui.QFrame.Raised) self.frame.setObjectName(_fromUtf8("frame")) self.verticalLayout = QtGui.QVBoxLayout(self.frame) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.minipix = QtGui.QLabel(self.frame) self.minipix.setMinimumSize(QtCore.QSize(200, 200)) self.minipix.setMaximumSize(QtCore.QSize(200, 200)) self.minipix.setFrameShape(QtGui.QFrame.StyledPanel) self.minipix.setFrameShadow(QtGui.QFrame.Raised) self.minipix.setText(_fromUtf8("")) self.minipix.setObjectName(_fromUtf8("minipix")) self.verticalLayout.addWidget(self.minipix) self.gridLayout = QtGui.QGridLayout() self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.label_2 = QtGui.QLabel(self.frame) self.label_2.setMaximumSize(QtCore.QSize(140, 16777215)) self.label_2.setObjectName(_fromUtf8("label_2")) self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1) self.minlab = QtGui.QLabel(self.frame) self.minlab.setMaximumSize(QtCore.QSize(140, 40)) self.minlab.setFrameShape(QtGui.QFrame.StyledPanel) self.minlab.setFrameShadow(QtGui.QFrame.Sunken) self.minlab.setText(_fromUtf8("")) self.minlab.setObjectName(_fromUtf8("minlab")) self.gridLayout.addWidget(self.minlab, 1, 1, 1, 1) self.label_4 = QtGui.QLabel(self.frame) self.label_4.setMaximumSize(QtCore.QSize(140, 16777215)) self.label_4.setObjectName(_fromUtf8("label_4")) self.gridLayout.addWidget(self.label_4, 2, 0, 1, 1) self.maxlab = QtGui.QLabel(self.frame) self.maxlab.setMaximumSize(QtCore.QSize(140, 40)) self.maxlab.setFrameShape(QtGui.QFrame.StyledPanel) self.maxlab.setFrameShadow(QtGui.QFrame.Sunken) self.maxlab.setText(_fromUtf8("")) self.maxlab.setObjectName(_fromUtf8("maxlab")) self.gridLayout.addWidget(self.maxlab, 2, 1, 1, 1) self.label_6 = QtGui.QLabel(self.frame) self.label_6.setMaximumSize(QtCore.QSize(140, 16777215)) self.label_6.setObjectName(_fromUtf8("label_6")) self.gridLayout.addWidget(self.label_6, 3, 0, 1, 1) self.xdim = QtGui.QLabel(self.frame) self.xdim.setMaximumSize(QtCore.QSize(140, 40)) self.xdim.setFrameShape(QtGui.QFrame.StyledPanel) self.xdim.setFrameShadow(QtGui.QFrame.Sunken) self.xdim.setText(_fromUtf8("")) self.xdim.setObjectName(_fromUtf8("xdim")) self.gridLayout.addWidget(self.xdim, 3, 1, 1, 1) self.label_8 = QtGui.QLabel(self.frame) self.label_8.setMaximumSize(QtCore.QSize(140, 16777215)) self.label_8.setObjectName(_fromUtf8("label_8")) self.gridLayout.addWidget(self.label_8, 4, 0, 1, 1) self.ydim = QtGui.QLabel(self.frame) self.ydim.setMaximumSize(QtCore.QSize(140, 40)) self.ydim.setFrameShape(QtGui.QFrame.StyledPanel) self.ydim.setFrameShadow(QtGui.QFrame.Sunken) self.ydim.setText(_fromUtf8("")) self.ydim.setObjectName(_fromUtf8("ydim")) self.gridLayout.addWidget(self.ydim, 4, 1, 1, 1) self.label_5 = QtGui.QLabel(self.frame) self.label_5.setObjectName(_fromUtf8("label_5")) self.gridLayout.addWidget(self.label_5, 0, 0, 1, 1) self.pixval = QtGui.QLabel(self.frame) self.pixval.setMaximumSize(QtCore.QSize(140, 40)) self.pixval.setFrameShape(QtGui.QFrame.StyledPanel) self.pixval.setFrameShadow(QtGui.QFrame.Sunken) self.pixval.setText(_fromUtf8("")) self.pixval.setObjectName(_fromUtf8("pixval")) self.gridLayout.addWidget(self.pixval, 0, 1, 1, 1) self.verticalLayout.addLayout(self.gridLayout) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.lincheck = QtGui.QRadioButton(self.frame) self.lincheck.setObjectName(_fromUtf8("lincheck")) self.horizontalLayout_3.addWidget(self.lincheck) self.logcheck = QtGui.QRadioButton(self.frame) self.logcheck.setObjectName(_fromUtf8("logcheck")) self.horizontalLayout_3.addWidget(self.logcheck) self.verticalLayout.addLayout(self.horizontalLayout_3) self.cmapbox = QtGui.QComboBox(self.frame) self.cmapbox.setObjectName(_fromUtf8("cmapbox")) self.verticalLayout.addWidget(self.cmapbox) self.horizontalLayout_2.addWidget(self.frame) self.verticalLayout_2 = QtGui.QVBoxLayout() self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.label = QtGui.QLabel(self.centy) self.label.setMaximumSize(QtCore.QSize(75, 16777215)) font = QtGui.QFont() font.setPointSize(12) self.label.setFont(font) self.label.setObjectName(_fromUtf8("label")) self.verticalLayout_2.addWidget(self.label) self.clipslide = QtGui.QSlider(self.centy) self.clipslide.setOrientation(QtCore.Qt.Vertical) self.clipslide.setObjectName(_fromUtf8("clipslide")) self.verticalLayout_2.addWidget(self.clipslide) self.horizontalLayout_2.addLayout(self.verticalLayout_2) self.gridLayout_2 = QtGui.QGridLayout() self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.ygview = QtGui.QGraphicsView(self.centy) self.ygview.setEnabled(True) self.ygview.setMinimumSize(QtCore.QSize(100, 450)) self.ygview.setMaximumSize(QtCore.QSize(150, 16777215)) self.ygview.setObjectName(_fromUtf8("ygview")) self.gridLayout_2.addWidget(self.ygview, 0, 0, 1, 1) self.imshow = MPL_Widget(self.centy) self.imshow.setMinimumSize(QtCore.QSize(450, 450)) self.imshow.setObjectName(_fromUtf8("imshow")) self.gridLayout_2.addWidget(self.imshow, 0, 1, 1, 1) spacerItem = QtGui.QSpacerItem(0, 100, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout_2.addItem(spacerItem, 1, 0, 1, 1) self.xgview = QtGui.QGraphicsView(self.centy) self.xgview.setMinimumSize(QtCore.QSize(0, 100)) self.xgview.setMaximumSize(QtCore.QSize(16777215, 150)) self.xgview.setObjectName(_fromUtf8("xgview")) self.gridLayout_2.addWidget(self.xgview, 1, 1, 1, 1) self.horizontalLayout_2.addLayout(self.gridLayout_2) self.verticalLayout_3.addLayout(self.horizontalLayout_2) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.verticalLayout_3.addLayout(self.horizontalLayout_4) NTV.setCentralWidget(self.centy) self.menubar = QtGui.QMenuBar(NTV) self.menubar.setGeometry(QtCore.QRect(0, 0, 1208, 21)) self.menubar.setObjectName(_fromUtf8("menubar")) self.menuFile = QtGui.QMenu(self.menubar) self.menuFile.setObjectName(_fromUtf8("menuFile")) self.menuHelp = QtGui.QMenu(self.menubar) self.menuHelp.setObjectName(_fromUtf8("menuHelp")) self.menuImage = QtGui.QMenu(self.menubar) self.menuImage.setObjectName(_fromUtf8("menuImage")) NTV.setMenuBar(self.menubar) self.statusbar = QtGui.QStatusBar(NTV) self.statusbar.setObjectName(_fromUtf8("statusbar")) NTV.setStatusBar(self.statusbar) self.actionOpen = QtGui.QAction(NTV) self.actionOpen.setObjectName(_fromUtf8("actionOpen")) self.actionQuit = QtGui.QAction(NTV) self.actionQuit.setObjectName(_fromUtf8("actionQuit")) self.actionHeader = QtGui.QAction(NTV) self.actionHeader.setObjectName(_fromUtf8("actionHeader")) self.actionAbout = QtGui.QAction(NTV) self.actionAbout.setObjectName(_fromUtf8("actionAbout")) self.actionHeader_2 = QtGui.QAction(NTV) self.actionHeader_2.setObjectName(_fromUtf8("actionHeader_2")) self.actionPreferences = QtGui.QAction(NTV) self.actionPreferences.setObjectName(_fromUtf8("actionPreferences")) self.actionBlink = QtGui.QAction(NTV) self.actionBlink.setObjectName(_fromUtf8("actionBlink")) self.menuFile.addSeparator() self.menuFile.addAction(self.actionOpen) self.menuFile.addAction(self.actionPreferences) self.menuFile.addSeparator() self.menuFile.addAction(self.actionQuit) self.menuHelp.addAction(self.actionAbout) self.menuImage.addAction(self.actionHeader_2) self.menuImage.addAction(self.actionBlink) self.menubar.addAction(self.menuFile.menuAction()) self.menubar.addAction(self.menuImage.menuAction()) self.menubar.addAction(self.menuHelp.menuAction()) self.retranslateUi(NTV) QtCore.QMetaObject.connectSlotsByName(NTV)
class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow.setObjectName(_fromUtf8("MainWindow")) MainWindow.resize(715, 639) MainWindow.setMinimumSize(QtCore.QSize(680, 520)) self.centralwidget = QtGui.QWidget(MainWindow) self.centralwidget.setObjectName(_fromUtf8("centralwidget")) self.tabWidget = QtGui.QTabWidget(self.centralwidget) self.tabWidget.setGeometry(QtCore.QRect(20, 0, 691, 601)) self.tabWidget.setMinimumSize(QtCore.QSize(640, 480)) self.tabWidget.setObjectName(_fromUtf8("tabWidget")) self.mainTab = QtGui.QWidget() self.mainTab.setObjectName(_fromUtf8("mainTab")) self.groupBox = QtGui.QGroupBox(self.mainTab) self.groupBox.setGeometry(QtCore.QRect(0, 0, 681, 571)) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth()) self.groupBox.setSizePolicy(sizePolicy) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.label = QtGui.QLabel(self.groupBox) self.label.setGeometry(QtCore.QRect(0, 10, 361, 251)) self.label.setFrameShape(QtGui.QFrame.NoFrame) self.label.setFrameShadow(QtGui.QFrame.Sunken) self.label.setText(_fromUtf8("")) self.label.setPixmap(QtGui.QPixmap(_fromUtf8("../CPW/0.png"))) self.label.setScaledContents(False) self.label.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft) self.label.setObjectName(_fromUtf8("label")) self.wEdit = QtGui.QLineEdit(self.groupBox) self.wEdit.setGeometry(QtCore.QRect(120, 20, 71, 21)) self.wEdit.setObjectName(_fromUtf8("wEdit")) self.hEdit = QtGui.QLineEdit(self.groupBox) self.hEdit.setGeometry(QtCore.QRect(250, 160, 91, 21)) self.hEdit.setObjectName(_fromUtf8("hEdit")) self.eEdit = QtGui.QLineEdit(self.groupBox) self.eEdit.setGeometry(QtCore.QRect(130, 160, 51, 21)) self.eEdit.setObjectName(_fromUtf8("eEdit")) self.tEdit = QtGui.QLineEdit(self.groupBox) self.tEdit.setGeometry(QtCore.QRect(250, 90, 91, 21)) self.tEdit.setObjectName(_fromUtf8("tEdit")) self.label_16 = QtGui.QLabel(self.groupBox) self.label_16.setGeometry(QtCore.QRect(350, 90, 16, 16)) self.label_16.setAlignment(QtCore.Qt.AlignCenter) self.label_16.setObjectName(_fromUtf8("label_16")) self.sEdit = QtGui.QLineEdit(self.groupBox) self.sEdit.setGeometry(QtCore.QRect(170, 50, 61, 21)) self.sEdit.setObjectName(_fromUtf8("sEdit")) self.tgEdit = QtGui.QLineEdit(self.groupBox) self.tgEdit.setGeometry(QtCore.QRect(90, 210, 109, 21)) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.tgEdit.setFont(font) self.tgEdit.setObjectName(_fromUtf8("tgEdit")) self.label_20 = QtGui.QLabel(self.groupBox) self.label_20.setGeometry(QtCore.QRect(200, 20, 16, 16)) self.label_20.setAlignment(QtCore.Qt.AlignCenter) self.label_20.setObjectName(_fromUtf8("label_20")) self.label_17 = QtGui.QLabel(self.groupBox) self.label_17.setGeometry(QtCore.QRect(350, 160, 16, 16)) self.label_17.setAlignment(QtCore.Qt.AlignCenter) self.label_17.setObjectName(_fromUtf8("label_17")) self.label_15 = QtGui.QLabel(self.groupBox) self.label_15.setGeometry(QtCore.QRect(240, 50, 16, 16)) self.label_15.setAlignment(QtCore.Qt.AlignCenter) self.label_15.setObjectName(_fromUtf8("label_15")) self.label_50 = QtGui.QLabel(self.groupBox) self.label_50.setGeometry(QtCore.QRect(60, 210, 29, 16)) self.label_50.setObjectName(_fromUtf8("label_50")) self.groupBox_3 = QtGui.QGroupBox(self.groupBox) self.groupBox_3.setGeometry(QtCore.QRect(390, 200, 251, 160)) self.groupBox_3.setObjectName(_fromUtf8("groupBox_3")) self.gridLayout = QtGui.QGridLayout(self.groupBox_3) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.label_28 = QtGui.QLabel(self.groupBox_3) self.label_28.setAlignment(QtCore.Qt.AlignCenter) self.label_28.setObjectName(_fromUtf8("label_28")) self.gridLayout.addWidget(self.label_28, 2, 2, 1, 1) self.f0Edit = QtGui.QLineEdit(self.groupBox_3) self.f0Edit.setObjectName(_fromUtf8("f0Edit")) self.gridLayout.addWidget(self.f0Edit, 0, 1, 1, 1) self.label_32 = QtGui.QLabel(self.groupBox_3) self.label_32.setAlignment(QtCore.Qt.AlignCenter) self.label_32.setObjectName(_fromUtf8("label_32")) self.gridLayout.addWidget(self.label_32, 1, 2, 1, 1) self.label_34 = QtGui.QLabel(self.groupBox_3) self.label_34.setAlignment(QtCore.Qt.AlignCenter) self.label_34.setObjectName(_fromUtf8("label_34")) self.gridLayout.addWidget(self.label_34, 3, 2, 1, 1) self.label_44 = QtGui.QLabel(self.groupBox_3) self.label_44.setAlignment(QtCore.Qt.AlignCenter) self.label_44.setObjectName(_fromUtf8("label_44")) self.gridLayout.addWidget(self.label_44, 0, 2, 1, 1) self.CEdit = QtGui.QLineEdit(self.groupBox_3) self.CEdit.setObjectName(_fromUtf8("CEdit")) self.gridLayout.addWidget(self.CEdit, 2, 1, 1, 1) self.label_27 = QtGui.QLabel(self.groupBox_3) self.label_27.setAlignment(QtCore.Qt.AlignCenter) self.label_27.setObjectName(_fromUtf8("label_27")) self.gridLayout.addWidget(self.label_27, 2, 0, 1, 1) self.label_29 = QtGui.QLabel(self.groupBox_3) self.label_29.setAlignment(QtCore.Qt.AlignCenter) self.label_29.setObjectName(_fromUtf8("label_29")) self.gridLayout.addWidget(self.label_29, 1, 0, 1, 1) self.REdit = QtGui.QLineEdit(self.groupBox_3) self.REdit.setObjectName(_fromUtf8("REdit")) self.gridLayout.addWidget(self.REdit, 3, 1, 1, 1) self.label_30 = QtGui.QLabel(self.groupBox_3) self.label_30.setAlignment(QtCore.Qt.AlignCenter) self.label_30.setObjectName(_fromUtf8("label_30")) self.gridLayout.addWidget(self.label_30, 0, 0, 1, 1) self.LEdit = QtGui.QLineEdit(self.groupBox_3) self.LEdit.setObjectName(_fromUtf8("LEdit")) self.gridLayout.addWidget(self.LEdit, 1, 1, 1, 1) self.label_33 = QtGui.QLabel(self.groupBox_3) self.label_33.setAlignment(QtCore.Qt.AlignCenter) self.label_33.setObjectName(_fromUtf8("label_33")) self.gridLayout.addWidget(self.label_33, 3, 0, 1, 1) self.groupBox_4 = QtGui.QGroupBox(self.groupBox) self.groupBox_4.setGeometry(QtCore.QRect(390, 360, 251, 165)) self.groupBox_4.setObjectName(_fromUtf8("groupBox_4")) self.gridLayout_5 = QtGui.QGridLayout(self.groupBox_4) self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) self.label_9 = QtGui.QLabel(self.groupBox_4) self.label_9.setAlignment(QtCore.Qt.AlignCenter) self.label_9.setObjectName(_fromUtf8("label_9")) self.gridLayout_5.addWidget(self.label_9, 2, 0, 1, 2) self.frEdit = QtGui.QLineEdit(self.groupBox_4) self.frEdit.setObjectName(_fromUtf8("frEdit")) self.gridLayout_5.addWidget(self.frEdit, 3, 2, 1, 1) self.qeEdit = QtGui.QLineEdit(self.groupBox_4) self.qeEdit.setObjectName(_fromUtf8("qeEdit")) self.gridLayout_5.addWidget(self.qeEdit, 1, 2, 1, 1) self.label_36 = QtGui.QLabel(self.groupBox_4) self.label_36.setAlignment(QtCore.Qt.AlignCenter) self.label_36.setObjectName(_fromUtf8("label_36")) self.gridLayout_5.addWidget(self.label_36, 0, 0, 1, 1) self.qlEdit = QtGui.QLineEdit(self.groupBox_4) font = QtGui.QFont() font.setFamily(_fromUtf8("Abadi MT Condensed Extra Bold")) font.setBold(False) font.setWeight(50) self.qlEdit.setFont(font) self.qlEdit.setObjectName(_fromUtf8("qlEdit")) self.gridLayout_5.addWidget(self.qlEdit, 2, 2, 1, 1) self.label_35 = QtGui.QLabel(self.groupBox_4) self.label_35.setAlignment(QtCore.Qt.AlignCenter) self.label_35.setObjectName(_fromUtf8("label_35")) self.gridLayout_5.addWidget(self.label_35, 3, 0, 1, 2) self.label_8 = QtGui.QLabel(self.groupBox_4) self.label_8.setAlignment(QtCore.Qt.AlignCenter) self.label_8.setObjectName(_fromUtf8("label_8")) self.gridLayout_5.addWidget(self.label_8, 1, 0, 1, 1) self.label_40 = QtGui.QLabel(self.groupBox_4) self.label_40.setAlignment(QtCore.Qt.AlignCenter) self.label_40.setObjectName(_fromUtf8("label_40")) self.gridLayout_5.addWidget(self.label_40, 1, 3, 1, 1) self.label_41 = QtGui.QLabel(self.groupBox_4) self.label_41.setAlignment(QtCore.Qt.AlignCenter) self.label_41.setObjectName(_fromUtf8("label_41")) self.gridLayout_5.addWidget(self.label_41, 0, 3, 1, 1) self.label_39 = QtGui.QLabel(self.groupBox_4) self.label_39.setAlignment(QtCore.Qt.AlignCenter) self.label_39.setObjectName(_fromUtf8("label_39")) self.gridLayout_5.addWidget(self.label_39, 2, 3, 1, 1) self.qiEdit = QtGui.QLineEdit(self.groupBox_4) self.qiEdit.setObjectName(_fromUtf8("qiEdit")) self.gridLayout_5.addWidget(self.qiEdit, 0, 2, 1, 1) self.label_31 = QtGui.QLabel(self.groupBox_4) self.label_31.setAlignment(QtCore.Qt.AlignCenter) self.label_31.setObjectName(_fromUtf8("label_31")) self.gridLayout_5.addWidget(self.label_31, 3, 3, 1, 1) self.groupBox_5 = QtGui.QGroupBox(self.groupBox) self.groupBox_5.setGeometry(QtCore.QRect(10, 410, 341, 151)) self.groupBox_5.setObjectName(_fromUtf8("groupBox_5")) self.lambdaLabel = QtGui.QLabel(self.groupBox_5) self.lambdaLabel.setGeometry(QtCore.QRect(170, 30, 164, 21)) self.lambdaLabel.setMinimumSize(QtCore.QSize(164, 21)) self.lambdaLabel.setMaximumSize(QtCore.QSize(160, 16777215)) self.lambdaLabel.setObjectName(_fromUtf8("lambdaLabel")) self.alfaLabel = QtGui.QLabel(self.groupBox_5) self.alfaLabel.setGeometry(QtCore.QRect(170, 117, 164, 21)) self.alfaLabel.setMinimumSize(QtCore.QSize(160, 21)) self.alfaLabel.setText(_fromUtf8("")) self.alfaLabel.setObjectName(_fromUtf8("alfaLabel")) self.lambdaLabel_2 = QtGui.QLabel(self.groupBox_5) self.lambdaLabel_2.setGeometry(QtCore.QRect(17, 30, 145, 21)) self.lambdaLabel_2.setMinimumSize(QtCore.QSize(132, 21)) self.lambdaLabel_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.lambdaLabel_2.setObjectName(_fromUtf8("lambdaLabel_2")) self.eeffLabel_2 = QtGui.QLabel(self.groupBox_5) self.eeffLabel_2.setGeometry(QtCore.QRect(17, 88, 145, 21)) self.eeffLabel_2.setMinimumSize(QtCore.QSize(132, 21)) self.eeffLabel_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.eeffLabel_2.setObjectName(_fromUtf8("eeffLabel_2")) self.eeffLabel = QtGui.QLabel(self.groupBox_5) self.eeffLabel.setGeometry(QtCore.QRect(170, 88, 164, 21)) self.eeffLabel.setMinimumSize(QtCore.QSize(160, 21)) self.eeffLabel.setText(_fromUtf8("")) self.eeffLabel.setObjectName(_fromUtf8("eeffLabel")) self.kineticLabel = QtGui.QLabel(self.groupBox_5) self.kineticLabel.setGeometry(QtCore.QRect(170, 59, 164, 21)) self.kineticLabel.setMinimumSize(QtCore.QSize(160, 21)) self.kineticLabel.setText(_fromUtf8("")) self.kineticLabel.setObjectName(_fromUtf8("kineticLabel")) self.alfaLabel_2 = QtGui.QLabel(self.groupBox_5) self.alfaLabel_2.setGeometry(QtCore.QRect(17, 117, 145, 21)) self.alfaLabel_2.setMinimumSize(QtCore.QSize(130, 21)) self.alfaLabel_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.alfaLabel_2.setObjectName(_fromUtf8("alfaLabel_2")) self.kineticLabel_2 = QtGui.QLabel(self.groupBox_5) self.kineticLabel_2.setGeometry(QtCore.QRect(17, 59, 145, 21)) self.kineticLabel_2.setMinimumSize(QtCore.QSize(132, 21)) self.kineticLabel_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.kineticLabel_2.setObjectName(_fromUtf8("kineticLabel_2")) self.groupBox_2 = QtGui.QGroupBox(self.groupBox) self.groupBox_2.setGeometry(QtCore.QRect(390, 30, 252, 163)) self.groupBox_2.setObjectName(_fromUtf8("groupBox_2")) self.gridLayout_2 = QtGui.QGridLayout(self.groupBox_2) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.label_26 = QtGui.QLabel(self.groupBox_2) self.label_26.setAlignment(QtCore.Qt.AlignCenter) self.label_26.setObjectName(_fromUtf8("label_26")) self.gridLayout_2.addWidget(self.label_26, 3, 2, 1, 1) self.fEdit = QtGui.QLineEdit(self.groupBox_2) self.fEdit.setObjectName(_fromUtf8("fEdit")) self.gridLayout_2.addWidget(self.fEdit, 0, 1, 1, 1) self.label_10 = QtGui.QLabel(self.groupBox_2) self.label_10.setAlignment(QtCore.Qt.AlignCenter) self.label_10.setObjectName(_fromUtf8("label_10")) self.gridLayout_2.addWidget(self.label_10, 0, 0, 1, 1) self.label_22 = QtGui.QLabel(self.groupBox_2) self.label_22.setAlignment(QtCore.Qt.AlignCenter) self.label_22.setObjectName(_fromUtf8("label_22")) self.gridLayout_2.addWidget(self.label_22, 1, 2, 1, 1) self.label_24 = QtGui.QLabel(self.groupBox_2) self.label_24.setAlignment(QtCore.Qt.AlignCenter) self.label_24.setObjectName(_fromUtf8("label_24")) self.gridLayout_2.addWidget(self.label_24, 2, 2, 1, 1) self.label_19 = QtGui.QLabel(self.groupBox_2) self.label_19.setAlignment(QtCore.Qt.AlignCenter) self.label_19.setObjectName(_fromUtf8("label_19")) self.gridLayout_2.addWidget(self.label_19, 0, 2, 1, 1) self.llEdit = QtGui.QLineEdit(self.groupBox_2) self.llEdit.setObjectName(_fromUtf8("llEdit")) self.gridLayout_2.addWidget(self.llEdit, 1, 1, 1, 1) self.clEdit = QtGui.QLineEdit(self.groupBox_2) self.clEdit.setObjectName(_fromUtf8("clEdit")) self.gridLayout_2.addWidget(self.clEdit, 2, 1, 1, 1) self.label_21 = QtGui.QLabel(self.groupBox_2) self.label_21.setAlignment(QtCore.Qt.AlignCenter) self.label_21.setObjectName(_fromUtf8("label_21")) self.gridLayout_2.addWidget(self.label_21, 1, 0, 1, 1) self.z0Edit = QtGui.QLineEdit(self.groupBox_2) self.z0Edit.setObjectName(_fromUtf8("z0Edit")) self.gridLayout_2.addWidget(self.z0Edit, 3, 1, 1, 1) self.label_25 = QtGui.QLabel(self.groupBox_2) self.label_25.setAlignment(QtCore.Qt.AlignCenter) self.label_25.setObjectName(_fromUtf8("label_25")) self.gridLayout_2.addWidget(self.label_25, 3, 0, 1, 1) self.label_23 = QtGui.QLabel(self.groupBox_2) self.label_23.setAlignment(QtCore.Qt.AlignCenter) self.label_23.setObjectName(_fromUtf8("label_23")) self.gridLayout_2.addWidget(self.label_23, 2, 0, 1, 1) self.groupBox_6 = QtGui.QGroupBox(self.groupBox) self.groupBox_6.setGeometry(QtCore.QRect(10, 250, 341, 151)) self.groupBox_6.setObjectName(_fromUtf8("groupBox_6")) self.label_18 = QtGui.QLabel(self.groupBox_6) self.label_18.setGeometry(QtCore.QRect(280, 22, 43, 21)) self.label_18.setAlignment(QtCore.Qt.AlignCenter) self.label_18.setObjectName(_fromUtf8("label_18")) self.label_11 = QtGui.QLabel(self.groupBox_6) self.label_11.setGeometry(QtCore.QRect(6, 90, 47, 21)) self.label_11.setMaximumSize(QtCore.QSize(70, 16777215)) self.label_11.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_11.setObjectName(_fromUtf8("label_11")) self.tcEdit = QtGui.QLineEdit(self.groupBox_6) self.tcEdit.setGeometry(QtCore.QRect(61, 90, 209, 21)) self.tcEdit.setObjectName(_fromUtf8("tcEdit")) self.label_14 = QtGui.QLabel(self.groupBox_6) self.label_14.setGeometry(QtCore.QRect(280, 56, 43, 21)) self.label_14.setAlignment(QtCore.Qt.AlignCenter) self.label_14.setObjectName(_fromUtf8("label_14")) self.label_13 = QtGui.QLabel(self.groupBox_6) self.label_13.setGeometry(QtCore.QRect(280, 90, 43, 21)) self.label_13.setAlignment(QtCore.Qt.AlignCenter) self.label_13.setObjectName(_fromUtf8("label_13")) self.lEdit = QtGui.QLineEdit(self.groupBox_6) self.lEdit.setGeometry(QtCore.QRect(61, 22, 209, 21)) self.lEdit.setObjectName(_fromUtf8("lEdit")) self.rhoEdit = QtGui.QLineEdit(self.groupBox_6) self.rhoEdit.setGeometry(QtCore.QRect(61, 56, 209, 21)) self.rhoEdit.setObjectName(_fromUtf8("rhoEdit")) self.label_12 = QtGui.QLabel(self.groupBox_6) self.label_12.setGeometry(QtCore.QRect(6, 56, 47, 21)) self.label_12.setMaximumSize(QtCore.QSize(70, 16777215)) self.label_12.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_12.setObjectName(_fromUtf8("label_12")) self.label_6 = QtGui.QLabel(self.groupBox_6) self.label_6.setGeometry(QtCore.QRect(6, 22, 47, 21)) self.label_6.setMaximumSize(QtCore.QSize(70, 16777215)) self.label_6.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_6.setObjectName(_fromUtf8("label_6")) self.label_37 = QtGui.QLabel(self.groupBox_6) self.label_37.setGeometry(QtCore.QRect(0, 120, 55, 20)) self.label_37.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_37.setObjectName(_fromUtf8("label_37")) self.label_38 = QtGui.QLabel(self.groupBox_6) self.label_38.setGeometry(QtCore.QRect(290, 120, 16, 16)) self.label_38.setAlignment(QtCore.Qt.AlignCenter) self.label_38.setObjectName(_fromUtf8("label_38")) self.ccEdit = QtGui.QLineEdit(self.groupBox_6) self.ccEdit.setGeometry(QtCore.QRect(65, 120, 201, 21)) self.ccEdit.setObjectName(_fromUtf8("ccEdit")) self.closeButton = QtGui.QPushButton(self.groupBox) self.closeButton.setGeometry(QtCore.QRect(510, 530, 106, 32)) self.closeButton.setObjectName(_fromUtf8("closeButton")) self.runButton = QtGui.QPushButton(self.groupBox) self.runButton.setGeometry(QtCore.QRect(400, 530, 106, 32)) self.runButton.setObjectName(_fromUtf8("runButton")) self.tabWidget.addTab(self.mainTab, _fromUtf8("")) self.plotTab = QtGui.QWidget() self.plotTab.setObjectName(_fromUtf8("plotTab")) self.layoutWidget = QtGui.QWidget(self.plotTab) self.layoutWidget.setGeometry(QtCore.QRect(0, 0, 631, 451)) self.layoutWidget.setObjectName(_fromUtf8("layoutWidget")) self.verticalLayout = QtGui.QVBoxLayout(self.layoutWidget) self.verticalLayout.setMargin(0) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.plotBox = QtGui.QGroupBox(self.layoutWidget) self.plotBox.setObjectName(_fromUtf8("plotBox")) self.plotWidget = MPL_Widget(self.plotBox) self.plotWidget.setGeometry(QtCore.QRect(10, 30, 601, 371)) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.plotWidget.sizePolicy().hasHeightForWidth()) self.plotWidget.setSizePolicy(sizePolicy) self.plotWidget.setMinimumSize(QtCore.QSize(1, 1)) self.plotWidget.setMaximumSize(QtCore.QSize(801, 16777215)) self.plotWidget.setAutoFillBackground(True) self.plotWidget.setObjectName(_fromUtf8("plotWidget")) self.verticalLayout.addWidget(self.plotBox) self.plotBtn = QtGui.QPushButton(self.layoutWidget) self.plotBtn.setObjectName(_fromUtf8("plotBtn")) self.verticalLayout.addWidget(self.plotBtn) self.tabWidget.addTab(self.plotTab, _fromUtf8("")) self.widget = QtGui.QWidget() self.widget.setObjectName(_fromUtf8("widget")) self.tabWidget.addTab(self.widget, _fromUtf8("")) self.dataTab = QtGui.QWidget() self.dataTab.setObjectName(_fromUtf8("dataTab")) self.tableWidget = QtGui.QTableWidget(self.dataTab) self.tableWidget.setGeometry(QtCore.QRect(0, 10, 471, 181)) self.tableWidget.setFrameShape(QtGui.QFrame.WinPanel) self.tableWidget.setObjectName(_fromUtf8("tableWidget")) self.tableWidget.setColumnCount(4) self.tableWidget.setRowCount(5) item = QtGui.QTableWidgetItem() self.tableWidget.setVerticalHeaderItem(0, item) item = QtGui.QTableWidgetItem() self.tableWidget.setVerticalHeaderItem(1, item) item = QtGui.QTableWidgetItem() self.tableWidget.setVerticalHeaderItem(2, item) item = QtGui.QTableWidgetItem() self.tableWidget.setVerticalHeaderItem(3, item) item = QtGui.QTableWidgetItem() self.tableWidget.setVerticalHeaderItem(4, item) item = QtGui.QTableWidgetItem() self.tableWidget.setHorizontalHeaderItem(0, item) item = QtGui.QTableWidgetItem() self.tableWidget.setHorizontalHeaderItem(1, item) item = QtGui.QTableWidgetItem() self.tableWidget.setHorizontalHeaderItem(2, item) item = QtGui.QTableWidgetItem() font = QtGui.QFont() font.setStyleStrategy(QtGui.QFont.PreferDefault) item.setFont(font) self.tableWidget.setHorizontalHeaderItem(3, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(0, 0, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(0, 1, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(0, 2, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(0, 3, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(1, 0, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(1, 1, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(1, 2, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(1, 3, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(2, 0, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(2, 1, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(2, 2, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(2, 3, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(3, 0, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(3, 1, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(3, 2, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(3, 3, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(4, 0, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(4, 1, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(4, 2, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(4, 3, item) self.label_43 = QtGui.QLabel(self.dataTab) self.label_43.setGeometry(QtCore.QRect(0, 200, 281, 231)) self.label_43.setFrameShape(QtGui.QFrame.Box) self.label_43.setFrameShadow(QtGui.QFrame.Sunken) self.label_43.setObjectName(_fromUtf8("label_43")) self.tabWidget.addTab(self.dataTab, _fromUtf8("")) self.layoutWidget1 = QtGui.QWidget(self.centralwidget) self.layoutWidget1.setGeometry(QtCore.QRect(0, 0, 2, 2)) self.layoutWidget1.setObjectName(_fromUtf8("layoutWidget1")) self.gridLayout_7 = QtGui.QGridLayout(self.layoutWidget1) self.gridLayout_7.setMargin(0) self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7")) MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtGui.QMenuBar(MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 715, 22)) self.menubar.setObjectName(_fromUtf8("menubar")) self.menuFile = QtGui.QMenu(self.menubar) self.menuFile.setObjectName(_fromUtf8("menuFile")) self.menuHelp = QtGui.QMenu(self.menubar) self.menuHelp.setObjectName(_fromUtf8("menuHelp")) MainWindow.setMenuBar(self.menubar) self.statusbar = QtGui.QStatusBar(MainWindow) self.statusbar.setObjectName(_fromUtf8("statusbar")) MainWindow.setStatusBar(self.statusbar) self.actionClose = QtGui.QAction(MainWindow) self.actionClose.setObjectName(_fromUtf8("actionClose")) self.actionAbout = QtGui.QAction(MainWindow) self.actionAbout.setObjectName(_fromUtf8("actionAbout")) self.menuFile.addAction(self.actionClose) self.menuHelp.addAction(self.actionAbout) self.menubar.addAction(self.menuFile.menuAction()) self.menubar.addAction(self.menuHelp.menuAction()) self.retranslateUi(MainWindow) self.tabWidget.setCurrentIndex(0) QtCore.QObject.connect(self.actionClose, QtCore.SIGNAL(_fromUtf8("activated()")), MainWindow.close) QtCore.QObject.connect(self.closeButton, QtCore.SIGNAL(_fromUtf8("clicked()")), MainWindow.close) QtCore.QObject.connect(self.ccEdit, QtCore.SIGNAL(_fromUtf8("returnPressed()")), self.runButton.click) QtCore.QMetaObject.connectSlotsByName(MainWindow) def retranslateUi(self, MainWindow): MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None)) self.groupBox.setTitle(_translate("MainWindow", "Input", None)) self.wEdit.setText(_translate("MainWindow", "6.0e-6", None)) self.hEdit.setText(_translate("MainWindow", "500e-6", None)) self.eEdit.setText(_translate("MainWindow", "11.6", None)) self.tEdit.setText(_translate("MainWindow", "1.0e-7", None)) self.label_16.setText(_translate("MainWindow", "m", None)) self.sEdit.setText(_translate("MainWindow", "3.0e-6", None)) self.tgEdit.setText(_translate("MainWindow", "1.00E-07", None)) self.label_20.setText(_translate("MainWindow", "m", None)) self.label_17.setText(_translate("MainWindow", "m", None)) self.label_15.setText(_translate("MainWindow", "m", None)) self.label_50.setToolTip(_translate("MainWindow", "Dielectric Loss (all loss)", None)) self.label_50.setText(_translate("MainWindow", "Tgδ ", None)) self.groupBox_3.setTitle(_translate("MainWindow", "With Loss", None)) self.label_28.setText(_translate("MainWindow", "F", None)) self.label_32.setText(_translate("MainWindow", "H", None)) self.label_34.setText(_translate("MainWindow", "<html><head/><body><p>Ω</p></body></html>", None)) self.label_44.setText(_translate("MainWindow", "Hz", None)) self.label_27.setText(_translate("MainWindow", "C =", None)) self.label_29.setText(_translate("MainWindow", "L =", None)) self.label_30.setText(_translate("MainWindow", "f =", None)) self.label_33.setText(_translate("MainWindow", "R =", None)) self.groupBox_4.setTitle(_translate("MainWindow", "Result", None)) self.label_9.setText(_translate("MainWindow", "<html><head/><body><p><span style=\" color:#ff0000;\">Q load =</span></p></body></html>", None)) self.label_36.setText(_translate("MainWindow", "Qi =", None)) self.label_35.setText(_translate("MainWindow", "f r =", None)) self.label_8.setText(_translate("MainWindow", "Q ext =", None)) self.label_40.setText(_translate("MainWindow", "<html><head/><body><p>x10<span style=\" vertical-align:super;\">3</span></p></body></html>", None)) self.label_41.setText(_translate("MainWindow", "<html><head/><body><p>x10<span style=\" vertical-align:super;\">3</span></p></body></html>", None)) self.label_39.setText(_translate("MainWindow", "<html><head/><body><p><span style=\" color:#ff0000;\">x10</span><span style=\" color:#ff0000; vertical-align:super;\">3</span></p></body></html>", None)) self.label_31.setText(_translate("MainWindow", "Hz", None)) self.groupBox_5.setTitle(_translate("MainWindow", "Calculated Parameters", None)) self.lambdaLabel.setText(_translate("MainWindow", "<html><head/><body><p><br/></p></body></html>", None)) self.lambdaLabel_2.setText(_translate("MainWindow", "<html><head/><body><p><span style=\" font-size:14pt;\">λ</span><span style=\" font-size:14pt; vertical-align:sub;\">0</span><span style=\" font-size:14pt;\"> = </span></p></body></html>", None)) self.eeffLabel_2.setText(_translate("MainWindow", "<html><head/><body><p><span style=\" font-size:14pt;\">ε</span><span style=\" font-size:14pt; vertical-align:sub;\">eff</span><span style=\" font-size:14pt;\"> = </span></p></body></html>", None)) self.alfaLabel_2.setText(_translate("MainWindow", "<html><head/><body><p>Dielectric Loss (α) = </p></body></html>", None)) self.kineticLabel_2.setText(_translate("MainWindow", "<html><head/><body><p>L Kinetic = </p></body></html>", None)) self.groupBox_2.setTitle(_translate("MainWindow", "Without Loss", None)) self.label_26.setText(_translate("MainWindow", "<html><head/><body><p>Ω</p></body></html>", None)) self.label_10.setText(_translate("MainWindow", "f0 =", None)) self.label_22.setText(_translate("MainWindow", "H/m", None)) self.label_24.setText(_translate("MainWindow", "F/m", None)) self.label_19.setText(_translate("MainWindow", "Hz", None)) self.label_21.setText(_translate("MainWindow", "Ll =", None)) self.label_25.setText(_translate("MainWindow", "Z0 =", None)) self.label_23.setText(_translate("MainWindow", "Cl =", None)) self.groupBox_6.setTitle(_translate("MainWindow", "Circuit Parameters", None)) self.label_18.setText(_translate("MainWindow", "m", None)) self.label_11.setText(_translate("MainWindow", "Tc= ", None)) self.tcEdit.setText(_translate("MainWindow", "9", None)) self.label_14.setText(_translate("MainWindow", "Ohm.m", None)) self.label_13.setText(_translate("MainWindow", "K", None)) self.lEdit.setText(_translate("MainWindow", "0.01127", None)) self.rhoEdit.setText(_translate("MainWindow", "2.0e-8", None)) self.label_12.setText(_translate("MainWindow", "ρ(Tc)= ", None)) self.label_6.setToolTip(_translate("MainWindow", "CPW length", None)) self.label_6.setText(_translate("MainWindow", "length =", None)) self.label_37.setText(_translate("MainWindow", "Cc = ", None)) self.label_38.setText(_translate("MainWindow", "F", None)) self.ccEdit.setText(_translate("MainWindow", "1e-15", None)) self.closeButton.setText(_translate("MainWindow", "Close", None)) self.runButton.setText(_translate("MainWindow", "Run", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.mainTab), _translate("MainWindow", "CPW Designer", None)) self.plotBox.setTitle(_translate("MainWindow", "Plot", None)) self.plotBtn.setText(_translate("MainWindow", "Plot", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.plotTab), _translate("MainWindow", "Plot", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.widget), _translate("MainWindow", "Other", None)) item = self.tableWidget.verticalHeaderItem(0) item.setText(_translate("MainWindow", "Al", None)) item = self.tableWidget.verticalHeaderItem(1) item.setText(_translate("MainWindow", "Al", None)) item = self.tableWidget.verticalHeaderItem(2) item.setText(_translate("MainWindow", "Nb", None)) item = self.tableWidget.verticalHeaderItem(3) item.setText(_translate("MainWindow", "Nb", None)) item = self.tableWidget.verticalHeaderItem(4) item.setText(_translate("MainWindow", "Nb", None)) item = self.tableWidget.horizontalHeaderItem(0) item.setText(_translate("MainWindow", "Tickness (nm)", None)) item = self.tableWidget.horizontalHeaderItem(1) item.setText(_translate("MainWindow", "rho(Tc)(Ohm.m)", None)) item = self.tableWidget.horizontalHeaderItem(2) item.setText(_translate("MainWindow", "Tc(K)", None)) item = self.tableWidget.horizontalHeaderItem(3) item.setText(_translate("MainWindow", "Reference", None)) __sortingEnabled = self.tableWidget.isSortingEnabled() self.tableWidget.setSortingEnabled(False) item = self.tableWidget.item(0, 0) item.setText(_translate("MainWindow", "60", None)) item = self.tableWidget.item(0, 1) item.setText(_translate("MainWindow", "4.61e-9", None)) item = self.tableWidget.item(0, 2) item.setText(_translate("MainWindow", "1.23", None)) item = self.tableWidget.item(0, 3) item.setText(_translate("MainWindow", "Measured lab", None)) item = self.tableWidget.item(1, 0) item.setText(_translate("MainWindow", "150", None)) item = self.tableWidget.item(1, 1) item.setText(_translate("MainWindow", "3.34e-9", None)) item = self.tableWidget.item(1, 2) item.setText(_translate("MainWindow", "1.23", None)) item = self.tableWidget.item(1, 3) item.setText(_translate("MainWindow", "Measure lab", None)) item = self.tableWidget.item(2, 0) item.setText(_translate("MainWindow", "100", None)) item = self.tableWidget.item(2, 1) item.setText(_translate("MainWindow", "2.00e-8", None)) item = self.tableWidget.item(2, 2) item.setText(_translate("MainWindow", "9", None)) item = self.tableWidget.item(2, 3) item.setText(_translate("MainWindow", "?", None)) item = self.tableWidget.item(3, 0) item.setText(_translate("MainWindow", "150", None)) item = self.tableWidget.item(3, 1) item.setText(_translate("MainWindow", "0.58e-7", None)) item = self.tableWidget.item(3, 2) item.setText(_translate("MainWindow", "8.67", None)) item = self.tableWidget.item(3, 3) item.setText(_translate("MainWindow", "Yale", None)) item = self.tableWidget.item(4, 0) item.setText(_translate("MainWindow", "190", None)) item = self.tableWidget.item(4, 1) item.setText(_translate("MainWindow", "0.28e-7", None)) item = self.tableWidget.item(4, 2) item.setText(_translate("MainWindow", "8.97", None)) item = self.tableWidget.item(4, 3) item.setText(_translate("MainWindow", "Yale", None)) self.tableWidget.setSortingEnabled(__sortingEnabled) self.label_43.setText(_translate("MainWindow", "<html><head/><body><p><span style=\" font-size:10pt;\">CONSTANTS</span></p><p><span style=\" font-size:10pt;\">C = 299792458 m / s</span></p><p><span style=\" font-size:10pt;\">E</span><span style=\" font-size:10pt; vertical-align:sub;\">0</span><span style=\" font-size:10pt;\"> = 8.8541878 x 10</span><span style=\" font-size:10pt; vertical-align:super;\">-12</span><span style=\" font-size:10pt;\"> F/m </span></p><p><span style=\" font-size:10pt;\">U</span><span style=\" font-size:10pt; vertical-align:sub;\">0</span><span style=\" font-size:10pt;\"> = 1.25664 x 10</span><span style=\" font-size:10pt; vertical-align:super;\">-06</span><span style=\" font-size:10pt;\"> H/m </span></p><p><span style=\" font-size:10pt;\">ε</span><span style=\" font-size:10pt; vertical-align:sub;\">0</span><span style=\" font-size:10pt;\"> =1 </span></p><p><span style=\" font-size:10pt;\">R </span><span style=\" font-size:10pt; vertical-align:sub;\">load</span><span style=\" font-size:10pt;\"> = 50 Ohm</span></p></body></html>", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.dataTab), _translate("MainWindow", "Data", None)) self.menuFile.setTitle(_translate("MainWindow", "File", None)) self.menuHelp.setTitle(_translate("MainWindow", "Help", None)) self.actionClose.setText(_translate("MainWindow", "Close", None)) self.actionClose.setShortcut(_translate("MainWindow", "Ctrl+W", None)) self.actionAbout.setText(_translate("MainWindow", "About", None))
def setupUi(self, NTV): NTV.setObjectName(_fromUtf8("NTV")) NTV.resize(1208, 705) palette = QtGui.QPalette() gradient = QtGui.QLinearGradient(1.0, 0.0, 0.0, 1.0) gradient.setSpread(QtGui.QGradient.PadSpread) gradient.setCoordinateMode(QtGui.QGradient.ObjectBoundingMode) gradient.setColorAt(0.0, QtGui.QColor(117, 202, 236)) gradient.setColorAt(0.562745, QtGui.QColor(201, 225, 232)) brush = QtGui.QBrush(gradient) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Button, brush) gradient = QtGui.QLinearGradient(1.0, 0.0, 0.0, 1.0) gradient.setSpread(QtGui.QGradient.PadSpread) gradient.setCoordinateMode(QtGui.QGradient.ObjectBoundingMode) gradient.setColorAt(0.0, QtGui.QColor(117, 202, 236)) gradient.setColorAt(0.562745, QtGui.QColor(201, 225, 232)) brush = QtGui.QBrush(gradient) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) gradient = QtGui.QLinearGradient(1.0, 0.0, 0.0, 1.0) gradient.setSpread(QtGui.QGradient.PadSpread) gradient.setCoordinateMode(QtGui.QGradient.ObjectBoundingMode) gradient.setColorAt(0.0, QtGui.QColor(117, 202, 236)) gradient.setColorAt(0.562745, QtGui.QColor(201, 225, 232)) brush = QtGui.QBrush(gradient) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush) gradient = QtGui.QLinearGradient(1.0, 0.0, 0.0, 1.0) gradient.setSpread(QtGui.QGradient.PadSpread) gradient.setCoordinateMode(QtGui.QGradient.ObjectBoundingMode) gradient.setColorAt(0.0, QtGui.QColor(117, 202, 236)) gradient.setColorAt(0.562745, QtGui.QColor(201, 225, 232)) brush = QtGui.QBrush(gradient) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Button, brush) gradient = QtGui.QLinearGradient(1.0, 0.0, 0.0, 1.0) gradient.setSpread(QtGui.QGradient.PadSpread) gradient.setCoordinateMode(QtGui.QGradient.ObjectBoundingMode) gradient.setColorAt(0.0, QtGui.QColor(117, 202, 236)) gradient.setColorAt(0.562745, QtGui.QColor(201, 225, 232)) brush = QtGui.QBrush(gradient) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) gradient = QtGui.QLinearGradient(1.0, 0.0, 0.0, 1.0) gradient.setSpread(QtGui.QGradient.PadSpread) gradient.setCoordinateMode(QtGui.QGradient.ObjectBoundingMode) gradient.setColorAt(0.0, QtGui.QColor(117, 202, 236)) gradient.setColorAt(0.562745, QtGui.QColor(201, 225, 232)) brush = QtGui.QBrush(gradient) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush) gradient = QtGui.QLinearGradient(1.0, 0.0, 0.0, 1.0) gradient.setSpread(QtGui.QGradient.PadSpread) gradient.setCoordinateMode(QtGui.QGradient.ObjectBoundingMode) gradient.setColorAt(0.0, QtGui.QColor(117, 202, 236)) gradient.setColorAt(0.562745, QtGui.QColor(201, 225, 232)) brush = QtGui.QBrush(gradient) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Button, brush) gradient = QtGui.QLinearGradient(1.0, 0.0, 0.0, 1.0) gradient.setSpread(QtGui.QGradient.PadSpread) gradient.setCoordinateMode(QtGui.QGradient.ObjectBoundingMode) gradient.setColorAt(0.0, QtGui.QColor(117, 202, 236)) gradient.setColorAt(0.562745, QtGui.QColor(201, 225, 232)) brush = QtGui.QBrush(gradient) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) gradient = QtGui.QLinearGradient(1.0, 0.0, 0.0, 1.0) gradient.setSpread(QtGui.QGradient.PadSpread) gradient.setCoordinateMode(QtGui.QGradient.ObjectBoundingMode) gradient.setColorAt(0.0, QtGui.QColor(117, 202, 236)) gradient.setColorAt(0.562745, QtGui.QColor(201, 225, 232)) brush = QtGui.QBrush(gradient) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush) NTV.setPalette(palette) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/sole.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off) NTV.setWindowIcon(icon) NTV.setStyleSheet(_fromUtf8("QMainWindow {background:qlineargradient(spread:pad, x1:1, y1:0, x2:0, y2:1, stop:0 rgba(117, 202, 236, 255), stop:0.562745 rgba(201, 225, 232, 255))}")) NTV.setAnimated(True) NTV.setDocumentMode(False) self.centy = QtGui.QWidget(NTV) self.centy.setAcceptDrops(True) self.centy.setObjectName(_fromUtf8("centy")) self.verticalLayout_3 = QtGui.QVBoxLayout(self.centy) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setSizeConstraint(QtGui.QLayout.SetMaximumSize) self.horizontalLayout.setContentsMargins(-1, -1, 100, -1) self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.filelab = QtGui.QLabel(self.centy) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.filelab.sizePolicy().hasHeightForWidth()) self.filelab.setSizePolicy(sizePolicy) self.filelab.setMinimumSize(QtCore.QSize(400, 0)) self.filelab.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.filelab.setObjectName(_fromUtf8("filelab")) self.horizontalLayout.addWidget(self.filelab) self.pushButton = QtGui.QPushButton(self.centy) self.pushButton.setMaximumSize(QtCore.QSize(75, 16777215)) self.pushButton.setObjectName(_fromUtf8("pushButton")) self.horizontalLayout.addWidget(self.pushButton) self.label_3 = QtGui.QLabel(self.centy) self.label_3.setObjectName(_fromUtf8("label_3")) self.horizontalLayout.addWidget(self.label_3) self.sizeofcut = QtGui.QLineEdit(self.centy) self.sizeofcut.setMinimumSize(QtCore.QSize(75, 0)) self.sizeofcut.setMaximumSize(QtCore.QSize(75, 16777215)) self.sizeofcut.setObjectName(_fromUtf8("sizeofcut")) self.horizontalLayout.addWidget(self.sizeofcut) self.ycheckbox = QtGui.QCheckBox(self.centy) self.ycheckbox.setObjectName(_fromUtf8("ycheckbox")) self.horizontalLayout.addWidget(self.ycheckbox) self.xcheckbox = QtGui.QCheckBox(self.centy) self.xcheckbox.setObjectName(_fromUtf8("xcheckbox")) self.horizontalLayout.addWidget(self.xcheckbox) self.verticalLayout_3.addLayout(self.horizontalLayout) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) self.frame = QtGui.QFrame(self.centy) self.frame.setMaximumSize(QtCore.QSize(214, 524)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(85, 170, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(85, 170, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(85, 170, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(85, 170, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush) self.frame.setPalette(palette) self.frame.setLayoutDirection(QtCore.Qt.LeftToRight) self.frame.setFrameShape(QtGui.QFrame.StyledPanel) self.frame.setFrameShadow(QtGui.QFrame.Raised) self.frame.setObjectName(_fromUtf8("frame")) self.verticalLayout = QtGui.QVBoxLayout(self.frame) self.verticalLayout.setContentsMargins(7, -1, -1, -1) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.minipix = QtGui.QGraphicsView(self.frame) self.minipix.setMinimumSize(QtCore.QSize(200, 200)) self.minipix.setMaximumSize(QtCore.QSize(200, 200)) self.minipix.setStyleSheet(_fromUtf8("background: transparent;\n" "border-width: 1px; \n" "border-style: solid;\n" "border-color: rgb(190, 190, 190);")) self.minipix.setFrameShadow(QtGui.QFrame.Raised) self.minipix.setObjectName(_fromUtf8("minipix")) self.verticalLayout.addWidget(self.minipix) self.gridLayout = QtGui.QGridLayout() self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.label_6 = QtGui.QLabel(self.frame) self.label_6.setMaximumSize(QtCore.QSize(140, 16777215)) self.label_6.setObjectName(_fromUtf8("label_6")) self.gridLayout.addWidget(self.label_6, 4, 0, 1, 1) self.label_4 = QtGui.QLabel(self.frame) self.label_4.setMaximumSize(QtCore.QSize(140, 16777215)) self.label_4.setObjectName(_fromUtf8("label_4")) self.gridLayout.addWidget(self.label_4, 3, 0, 1, 1) self.maxlab = QtGui.QLabel(self.frame) self.maxlab.setMaximumSize(QtCore.QSize(140, 40)) self.maxlab.setStyleSheet(_fromUtf8("background: transparent;\n" "border-width: 1px; \n" "border-style: solid;\n" "border-color: rgb(190, 190, 190);")) self.maxlab.setFrameShape(QtGui.QFrame.StyledPanel) self.maxlab.setFrameShadow(QtGui.QFrame.Sunken) self.maxlab.setText(_fromUtf8("")) self.maxlab.setObjectName(_fromUtf8("maxlab")) self.gridLayout.addWidget(self.maxlab, 3, 1, 1, 1) self.xdim = QtGui.QLabel(self.frame) self.xdim.setMaximumSize(QtCore.QSize(140, 40)) self.xdim.setStyleSheet(_fromUtf8("background: transparent;\n" "border-width: 1px; \n" "border-style: solid;\n" "border-color: rgb(190, 190, 190);")) self.xdim.setFrameShape(QtGui.QFrame.StyledPanel) self.xdim.setFrameShadow(QtGui.QFrame.Sunken) self.xdim.setText(_fromUtf8("")) self.xdim.setObjectName(_fromUtf8("xdim")) self.gridLayout.addWidget(self.xdim, 4, 1, 1, 1) self.label_5 = QtGui.QLabel(self.frame) self.label_5.setObjectName(_fromUtf8("label_5")) self.gridLayout.addWidget(self.label_5, 1, 0, 1, 1, QtCore.Qt.AlignVCenter) self.minlab = QtGui.QLabel(self.frame) self.minlab.setMaximumSize(QtCore.QSize(140, 40)) self.minlab.setStyleSheet(_fromUtf8("background: transparent;\n" "border-width: 1px; \n" "border-style: solid;\n" "border-color: rgb(190, 190, 190);")) self.minlab.setFrameShape(QtGui.QFrame.StyledPanel) self.minlab.setFrameShadow(QtGui.QFrame.Sunken) self.minlab.setText(_fromUtf8("")) self.minlab.setObjectName(_fromUtf8("minlab")) self.gridLayout.addWidget(self.minlab, 2, 1, 1, 1) self.label_2 = QtGui.QLabel(self.frame) self.label_2.setMaximumSize(QtCore.QSize(140, 16777215)) self.label_2.setObjectName(_fromUtf8("label_2")) self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1) self.ydim = QtGui.QLabel(self.frame) self.ydim.setMaximumSize(QtCore.QSize(140, 40)) self.ydim.setStyleSheet(_fromUtf8("background: transparent;\n" "border-width: 1px; \n" "border-style: solid;\n" "border-color: rgb(190, 190, 190);")) self.ydim.setFrameShape(QtGui.QFrame.StyledPanel) self.ydim.setFrameShadow(QtGui.QFrame.Sunken) self.ydim.setText(_fromUtf8("")) self.ydim.setObjectName(_fromUtf8("ydim")) self.gridLayout.addWidget(self.ydim, 5, 1, 1, 1) self.label_8 = QtGui.QLabel(self.frame) self.label_8.setMaximumSize(QtCore.QSize(140, 16777215)) self.label_8.setObjectName(_fromUtf8("label_8")) self.gridLayout.addWidget(self.label_8, 5, 0, 1, 1) self.pixval = QtGui.QGraphicsView(self.frame) self.pixval.setMinimumSize(QtCore.QSize(90, 100)) self.pixval.setMaximumSize(QtCore.QSize(140, 100)) self.pixval.setStyleSheet(_fromUtf8("background: transparent;\n" "border-width: 1px; \n" "border-style: solid;\n" "border-color: rgb(190, 190, 190);")) self.pixval.setFrameShape(QtGui.QFrame.NoFrame) self.pixval.setObjectName(_fromUtf8("pixval")) self.gridLayout.addWidget(self.pixval, 1, 1, 1, 1, QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop) self.verticalLayout.addLayout(self.gridLayout) self.horizontalLayout_3 = QtGui.QHBoxLayout() self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3")) self.lincheck = QtGui.QRadioButton(self.frame) self.lincheck.setObjectName(_fromUtf8("lincheck")) self.horizontalLayout_3.addWidget(self.lincheck) self.logcheck = QtGui.QRadioButton(self.frame) self.logcheck.setObjectName(_fromUtf8("logcheck")) self.horizontalLayout_3.addWidget(self.logcheck) self.verticalLayout.addLayout(self.horizontalLayout_3) self.cmapbox = QtGui.QComboBox(self.frame) self.cmapbox.setObjectName(_fromUtf8("cmapbox")) self.verticalLayout.addWidget(self.cmapbox) self.horizontalLayout_2.addWidget(self.frame, QtCore.Qt.AlignHCenter) self.gridLayout_2 = QtGui.QGridLayout() self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.ygview = QtGui.QGraphicsView(self.centy) self.ygview.setEnabled(True) self.ygview.setMinimumSize(QtCore.QSize(100, 450)) self.ygview.setMaximumSize(QtCore.QSize(150, 16777215)) self.ygview.setObjectName(_fromUtf8("ygview")) self.gridLayout_2.addWidget(self.ygview, 0, 0, 1, 1) self.imshow = MPL_Widget(self.centy) self.imshow.setMinimumSize(QtCore.QSize(450, 450)) self.imshow.setObjectName(_fromUtf8("imshow")) self.gridLayout_2.addWidget(self.imshow, 0, 1, 1, 1) spacerItem = QtGui.QSpacerItem(0, 100, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridLayout_2.addItem(spacerItem, 1, 0, 1, 1) self.xgview = QtGui.QGraphicsView(self.centy) self.xgview.setMinimumSize(QtCore.QSize(0, 100)) self.xgview.setMaximumSize(QtCore.QSize(16777215, 150)) self.xgview.setObjectName(_fromUtf8("xgview")) self.gridLayout_2.addWidget(self.xgview, 1, 1, 1, 1) self.horizontalLayout_2.addLayout(self.gridLayout_2) self.verticalLayout_3.addLayout(self.horizontalLayout_2) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4")) self.verticalLayout_3.addLayout(self.horizontalLayout_4) NTV.setCentralWidget(self.centy) self.menubar = QtGui.QMenuBar(NTV) self.menubar.setGeometry(QtCore.QRect(0, 0, 1208, 22)) self.menubar.setObjectName(_fromUtf8("menubar")) self.menuFile = QtGui.QMenu(self.menubar) self.menuFile.setObjectName(_fromUtf8("menuFile")) self.menuHelp = QtGui.QMenu(self.menubar) self.menuHelp.setObjectName(_fromUtf8("menuHelp")) self.menuImage = QtGui.QMenu(self.menubar) self.menuImage.setObjectName(_fromUtf8("menuImage")) self.menuPlugins = QtGui.QMenu(self.menubar) self.menuPlugins.setObjectName(_fromUtf8("menuPlugins")) NTV.setMenuBar(self.menubar) self.statusbar = QtGui.QStatusBar(NTV) self.statusbar.setObjectName(_fromUtf8("statusbar")) NTV.setStatusBar(self.statusbar) self.actionOpen = QtGui.QAction(NTV) self.actionOpen.setObjectName(_fromUtf8("actionOpen")) self.actionQuit = QtGui.QAction(NTV) self.actionQuit.setObjectName(_fromUtf8("actionQuit")) self.actionHeader = QtGui.QAction(NTV) self.actionHeader.setObjectName(_fromUtf8("actionHeader")) self.actionAbout = QtGui.QAction(NTV) self.actionAbout.setObjectName(_fromUtf8("actionAbout")) self.actionHeader_2 = QtGui.QAction(NTV) self.actionHeader_2.setObjectName(_fromUtf8("actionHeader_2")) self.actionPreferences = QtGui.QAction(NTV) self.actionPreferences.setObjectName(_fromUtf8("actionPreferences")) self.actionBlink = QtGui.QAction(NTV) self.actionBlink.setObjectName(_fromUtf8("actionBlink")) self.actionAddIm = QtGui.QAction(NTV) self.actionAddIm.setObjectName(_fromUtf8("actionAddIm")) self.actionLogger = QtGui.QAction(NTV) self.actionLogger.setObjectName(_fromUtf8("actionLogger")) self.menuFile.addSeparator() self.menuFile.addAction(self.actionOpen) self.menuFile.addAction(self.actionPreferences) self.menuFile.addSeparator() self.menuFile.addAction(self.actionQuit) self.menuHelp.addAction(self.actionAbout) self.menuHelp.addAction(self.actionLogger) self.menuImage.addAction(self.actionHeader_2) self.menubar.addAction(self.menuFile.menuAction()) self.menubar.addAction(self.menuImage.menuAction()) self.menubar.addAction(self.menuHelp.menuAction()) self.menubar.addAction(self.menuPlugins.menuAction()) self.retranslateUi(NTV) QtCore.QMetaObject.connectSlotsByName(NTV)
def setupUi(self, beammap_gui): beammap_gui.setObjectName(_fromUtf8("beammap_gui")) beammap_gui.resize(1520, 1100) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(beammap_gui.sizePolicy().hasHeightForWidth()) beammap_gui.setSizePolicy(sizePolicy) self.centralwidget = QtGui.QWidget(beammap_gui) self.centralwidget.setObjectName(_fromUtf8("centralwidget")) self.mapplot_0x = MPL_Widget(self.centralwidget) self.mapplot_0x.setGeometry(QtCore.QRect(10, 40, 301, 301)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush) self.mapplot_0x.setPalette(palette) self.mapplot_0x.setObjectName(_fromUtf8("mapplot_0x")) self.mapplot_0y = MPL_Widget(self.centralwidget) self.mapplot_0y.setGeometry(QtCore.QRect(10, 470, 301, 301)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush) self.mapplot_0y.setPalette(palette) self.mapplot_0y.setObjectName(_fromUtf8("mapplot_0y")) self.mapplot_1x = MPL_Widget(self.centralwidget) self.mapplot_1x.setGeometry(QtCore.QRect(310, 40, 301, 301)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush) self.mapplot_1x.setPalette(palette) self.mapplot_1x.setObjectName(_fromUtf8("mapplot_1x")) self.mapplot_1y = MPL_Widget(self.centralwidget) self.mapplot_1y.setGeometry(QtCore.QRect(310, 470, 301, 301)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush) self.mapplot_1y.setPalette(palette) self.mapplot_1y.setObjectName(_fromUtf8("mapplot_1y")) self.mapplot_2x = MPL_Widget(self.centralwidget) self.mapplot_2x.setGeometry(QtCore.QRect(610, 40, 301, 301)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush) self.mapplot_2x.setPalette(palette) self.mapplot_2x.setObjectName(_fromUtf8("mapplot_2x")) self.mapplot_2y = MPL_Widget(self.centralwidget) self.mapplot_2y.setGeometry(QtCore.QRect(610, 470, 301, 301)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush) self.mapplot_2y.setPalette(palette) self.mapplot_2y.setObjectName(_fromUtf8("mapplot_2y")) self.mapplot_3x = MPL_Widget(self.centralwidget) self.mapplot_3x.setGeometry(QtCore.QRect(910, 40, 301, 301)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush) self.mapplot_3x.setPalette(palette) self.mapplot_3x.setObjectName(_fromUtf8("mapplot_3x")) self.mapplot_3y = MPL_Widget(self.centralwidget) self.mapplot_3y.setGeometry(QtCore.QRect(910, 470, 301, 301)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush) self.mapplot_3y.setPalette(palette) self.mapplot_3y.setObjectName(_fromUtf8("mapplot_3y")) self.mapplot_4x = MPL_Widget(self.centralwidget) self.mapplot_4x.setGeometry(QtCore.QRect(1210, 40, 301, 301)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush) self.mapplot_4x.setPalette(palette) self.mapplot_4x.setObjectName(_fromUtf8("mapplot_4x")) self.mapplot_4y = MPL_Widget(self.centralwidget) self.mapplot_4y.setGeometry(QtCore.QRect(1210, 470, 301, 301)) palette = QtGui.QPalette() brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Active, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 255, 255)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Inactive, QtGui.QPalette.Window, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Base, brush) brush = QtGui.QBrush(QtGui.QColor(255, 245, 248)) brush.setStyle(QtCore.Qt.SolidPattern) palette.setBrush(QtGui.QPalette.Disabled, QtGui.QPalette.Window, brush) self.mapplot_4y.setPalette(palette) self.mapplot_4y.setObjectName(_fromUtf8("mapplot_4y")) self.label = QtGui.QLabel(self.centralwidget) self.label.setGeometry(QtCore.QRect(720, 10, 91, 21)) font = QtGui.QFont() font.setPointSize(14) self.label.setFont(font) self.label.setObjectName(_fromUtf8("label")) self.label_2 = QtGui.QLabel(self.centralwidget) self.label_2.setGeometry(QtCore.QRect(720, 440, 81, 31)) font = QtGui.QFont() font.setPointSize(14) self.label_2.setFont(font) self.label_2.setObjectName(_fromUtf8("label_2")) self.roachLabel = QtGui.QLabel(self.centralwidget) self.roachLabel.setGeometry(QtCore.QRect(740, 950, 71, 16)) font = QtGui.QFont() font.setPointSize(14) self.roachLabel.setFont(font) self.roachLabel.setObjectName(_fromUtf8("roachLabel")) self.nextbtn = QtGui.QPushButton(self.centralwidget) self.nextbtn.setGeometry(QtCore.QRect(340, 990, 101, 41)) font = QtGui.QFont() font.setPointSize(12) self.nextbtn.setFont(font) self.nextbtn.setObjectName(_fromUtf8("nextbtn")) self.line = QtGui.QFrame(self.centralwidget) self.line.setGeometry(QtCore.QRect(0, 860, 1541, 20)) self.line.setFrameShape(QtGui.QFrame.HLine) self.line.setFrameShadow(QtGui.QFrame.Sunken) self.line.setObjectName(_fromUtf8("line")) self.savebtn = QtGui.QPushButton(self.centralwidget) self.savebtn.setGeometry(QtCore.QRect(470, 990, 101, 41)) font = QtGui.QFont() font.setPointSize(12) self.savebtn.setFont(font) self.savebtn.setObjectName(_fromUtf8("savebtn")) self.label_3 = QtGui.QLabel(self.centralwidget) self.label_3.setGeometry(QtCore.QRect(10, 340, 131, 21)) font = QtGui.QFont() font.setPointSize(12) self.label_3.setFont(font) self.label_3.setObjectName(_fromUtf8("label_3")) self.label_4 = QtGui.QLabel(self.centralwidget) self.label_4.setGeometry(QtCore.QRect(10, 770, 131, 21)) font = QtGui.QFont() font.setPointSize(12) self.label_4.setFont(font) self.label_4.setObjectName(_fromUtf8("label_4")) self.pp0x = QtGui.QLabel(self.centralwidget) self.pp0x.setGeometry(QtCore.QRect(150, 340, 151, 21)) font = QtGui.QFont() font.setPointSize(14) self.pp0x.setFont(font) self.pp0x.setFrameShape(QtGui.QFrame.StyledPanel) self.pp0x.setObjectName(_fromUtf8("pp0x")) self.pp0y = QtGui.QLabel(self.centralwidget) self.pp0y.setGeometry(QtCore.QRect(150, 770, 151, 21)) font = QtGui.QFont() font.setPointSize(14) self.pp0y.setFont(font) self.pp0y.setFrameShape(QtGui.QFrame.StyledPanel) self.pp0y.setObjectName(_fromUtf8("pp0y")) self.pp1x = QtGui.QLabel(self.centralwidget) self.pp1x.setGeometry(QtCore.QRect(450, 340, 151, 21)) font = QtGui.QFont() font.setPointSize(14) self.pp1x.setFont(font) self.pp1x.setFrameShape(QtGui.QFrame.StyledPanel) self.pp1x.setObjectName(_fromUtf8("pp1x")) self.pp1y = QtGui.QLabel(self.centralwidget) self.pp1y.setGeometry(QtCore.QRect(450, 770, 151, 21)) font = QtGui.QFont() font.setPointSize(14) self.pp1y.setFont(font) self.pp1y.setFrameShape(QtGui.QFrame.StyledPanel) self.pp1y.setObjectName(_fromUtf8("pp1y")) self.pp2x = QtGui.QLabel(self.centralwidget) self.pp2x.setGeometry(QtCore.QRect(750, 340, 151, 21)) font = QtGui.QFont() font.setPointSize(14) self.pp2x.setFont(font) self.pp2x.setFrameShape(QtGui.QFrame.StyledPanel) self.pp2x.setObjectName(_fromUtf8("pp2x")) self.pp2y = QtGui.QLabel(self.centralwidget) self.pp2y.setGeometry(QtCore.QRect(750, 770, 151, 21)) font = QtGui.QFont() font.setPointSize(14) self.pp2y.setFont(font) self.pp2y.setFrameShape(QtGui.QFrame.StyledPanel) self.pp2y.setObjectName(_fromUtf8("pp2y")) self.pp3x = QtGui.QLabel(self.centralwidget) self.pp3x.setGeometry(QtCore.QRect(1050, 340, 151, 21)) font = QtGui.QFont() font.setPointSize(14) self.pp3x.setFont(font) self.pp3x.setFrameShape(QtGui.QFrame.StyledPanel) self.pp3x.setObjectName(_fromUtf8("pp3x")) self.pp3y = QtGui.QLabel(self.centralwidget) self.pp3y.setGeometry(QtCore.QRect(1050, 770, 151, 21)) font = QtGui.QFont() font.setPointSize(14) self.pp3y.setFont(font) self.pp3y.setFrameShape(QtGui.QFrame.StyledPanel) self.pp3y.setObjectName(_fromUtf8("pp3y")) self.pp4x = QtGui.QLabel(self.centralwidget) self.pp4x.setGeometry(QtCore.QRect(1350, 340, 151, 21)) font = QtGui.QFont() font.setPointSize(14) self.pp4x.setFont(font) self.pp4x.setFrameShape(QtGui.QFrame.StyledPanel) self.pp4x.setObjectName(_fromUtf8("pp4x")) self.pp4y = QtGui.QLabel(self.centralwidget) self.pp4y.setGeometry(QtCore.QRect(1350, 770, 151, 21)) font = QtGui.QFont() font.setPointSize(14) self.pp4y.setFont(font) self.pp4y.setFrameShape(QtGui.QFrame.StyledPanel) self.pp4y.setObjectName(_fromUtf8("pp4y")) self.line_3 = QtGui.QFrame(self.centralwidget) self.line_3.setGeometry(QtCore.QRect(300, -50, 20, 991)) self.line_3.setFrameShape(QtGui.QFrame.VLine) self.line_3.setFrameShadow(QtGui.QFrame.Sunken) self.line_3.setObjectName(_fromUtf8("line_3")) self.line_4 = QtGui.QFrame(self.centralwidget) self.line_4.setGeometry(QtCore.QRect(600, -60, 20, 1001)) self.line_4.setFrameShape(QtGui.QFrame.VLine) self.line_4.setFrameShadow(QtGui.QFrame.Sunken) self.line_4.setObjectName(_fromUtf8("line_4")) self.line_5 = QtGui.QFrame(self.centralwidget) self.line_5.setGeometry(QtCore.QRect(900, -80, 20, 1021)) self.line_5.setFrameShape(QtGui.QFrame.VLine) self.line_5.setFrameShadow(QtGui.QFrame.Sunken) self.line_5.setObjectName(_fromUtf8("line_5")) self.line_6 = QtGui.QFrame(self.centralwidget) self.line_6.setGeometry(QtCore.QRect(1200, -20, 20, 961)) self.line_6.setFrameShape(QtGui.QFrame.VLine) self.line_6.setFrameShadow(QtGui.QFrame.Sunken) self.line_6.setObjectName(_fromUtf8("line_6")) self.line_7 = QtGui.QFrame(self.centralwidget) self.line_7.setGeometry(QtCore.QRect(0, 430, 1531, 20)) self.line_7.setFrameShape(QtGui.QFrame.HLine) self.line_7.setFrameShadow(QtGui.QFrame.Sunken) self.line_7.setObjectName(_fromUtf8("line_7")) self.label_5 = QtGui.QLabel(self.centralwidget) self.label_5.setGeometry(QtCore.QRect(10, 370, 131, 21)) font = QtGui.QFont() font.setPointSize(12) self.label_5.setFont(font) self.label_5.setObjectName(_fromUtf8("label_5")) self.label_6 = QtGui.QLabel(self.centralwidget) self.label_6.setGeometry(QtCore.QRect(10, 800, 131, 21)) font = QtGui.QFont() font.setPointSize(12) self.label_6.setFont(font) self.label_6.setObjectName(_fromUtf8("label_6")) self.le0x = QtGui.QLineEdit(self.centralwidget) self.le0x.setGeometry(QtCore.QRect(150, 370, 151, 20)) font = QtGui.QFont() font.setPointSize(14) self.le0x.setFont(font) self.le0x.setObjectName(_fromUtf8("le0x")) self.le0y = QtGui.QLineEdit(self.centralwidget) self.le0y.setGeometry(QtCore.QRect(150, 800, 151, 20)) font = QtGui.QFont() font.setPointSize(14) self.le0y.setFont(font) self.le0y.setObjectName(_fromUtf8("le0y")) self.le1x = QtGui.QLineEdit(self.centralwidget) self.le1x.setGeometry(QtCore.QRect(450, 370, 151, 20)) font = QtGui.QFont() font.setPointSize(14) self.le1x.setFont(font) self.le1x.setObjectName(_fromUtf8("le1x")) self.le1y = QtGui.QLineEdit(self.centralwidget) self.le1y.setGeometry(QtCore.QRect(450, 800, 151, 20)) font = QtGui.QFont() font.setPointSize(14) self.le1y.setFont(font) self.le1y.setObjectName(_fromUtf8("le1y")) self.le2x = QtGui.QLineEdit(self.centralwidget) self.le2x.setGeometry(QtCore.QRect(750, 370, 151, 20)) font = QtGui.QFont() font.setPointSize(14) self.le2x.setFont(font) self.le2x.setObjectName(_fromUtf8("le2x")) self.le2y = QtGui.QLineEdit(self.centralwidget) self.le2y.setGeometry(QtCore.QRect(750, 800, 151, 20)) font = QtGui.QFont() font.setPointSize(14) self.le2y.setFont(font) self.le2y.setObjectName(_fromUtf8("le2y")) self.le3x = QtGui.QLineEdit(self.centralwidget) self.le3x.setGeometry(QtCore.QRect(1050, 370, 151, 20)) font = QtGui.QFont() font.setPointSize(14) self.le3x.setFont(font) self.le3x.setObjectName(_fromUtf8("le3x")) self.le3y = QtGui.QLineEdit(self.centralwidget) self.le3y.setGeometry(QtCore.QRect(1050, 800, 151, 20)) font = QtGui.QFont() font.setPointSize(14) self.le3y.setFont(font) self.le3y.setObjectName(_fromUtf8("le3y")) self.le4x = QtGui.QLineEdit(self.centralwidget) self.le4x.setGeometry(QtCore.QRect(1350, 370, 151, 20)) font = QtGui.QFont() font.setPointSize(14) self.le4x.setFont(font) self.le4x.setObjectName(_fromUtf8("le4x")) self.le4y = QtGui.QLineEdit(self.centralwidget) self.le4y.setGeometry(QtCore.QRect(1350, 800, 151, 20)) font = QtGui.QFont() font.setPointSize(14) self.le4y.setFont(font) self.le4y.setObjectName(_fromUtf8("le4y")) self.line_8 = QtGui.QFrame(self.centralwidget) self.line_8.setGeometry(QtCore.QRect(-10, 930, 1571, 20)) self.line_8.setFrameShape(QtGui.QFrame.HLine) self.line_8.setFrameShadow(QtGui.QFrame.Sunken) self.line_8.setObjectName(_fromUtf8("line_8")) self.pix0 = QtGui.QLabel(self.centralwidget) self.pix0.setGeometry(QtCore.QRect(140, 910, 71, 16)) font = QtGui.QFont() font.setPointSize(12) self.pix0.setFont(font) self.pix0.setObjectName(_fromUtf8("pix0")) self.pix1 = QtGui.QLabel(self.centralwidget) self.pix1.setGeometry(QtCore.QRect(440, 910, 71, 16)) font = QtGui.QFont() font.setPointSize(12) self.pix1.setFont(font) self.pix1.setObjectName(_fromUtf8("pix1")) self.pix2 = QtGui.QLabel(self.centralwidget) self.pix2.setGeometry(QtCore.QRect(740, 910, 71, 16)) font = QtGui.QFont() font.setPointSize(12) self.pix2.setFont(font) self.pix2.setObjectName(_fromUtf8("pix2")) self.pix3 = QtGui.QLabel(self.centralwidget) self.pix3.setGeometry(QtCore.QRect(1040, 910, 71, 16)) font = QtGui.QFont() font.setPointSize(12) self.pix3.setFont(font) self.pix3.setObjectName(_fromUtf8("pix3")) self.pix4 = QtGui.QLabel(self.centralwidget) self.pix4.setGeometry(QtCore.QRect(1330, 910, 71, 16)) font = QtGui.QFont() font.setPointSize(12) self.pix4.setFont(font) self.pix4.setObjectName(_fromUtf8("pix4")) self.a0 = QtGui.QRadioButton(self.centralwidget) self.a0.setGeometry(QtCore.QRect(70, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.a0.setFont(font) self.a0.setChecked(True) self.a0.setAutoExclusive(False) self.a0.setObjectName(_fromUtf8("a0")) self.r0 = QtGui.QRadioButton(self.centralwidget) self.r0.setGeometry(QtCore.QRect(120, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.r0.setFont(font) self.r0.setAutoExclusive(False) self.r0.setObjectName(_fromUtf8("r0")) self.x0 = QtGui.QRadioButton(self.centralwidget) self.x0.setGeometry(QtCore.QRect(170, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.x0.setFont(font) self.x0.setAutoExclusive(False) self.x0.setObjectName(_fromUtf8("x0")) self.y0 = QtGui.QRadioButton(self.centralwidget) self.y0.setGeometry(QtCore.QRect(220, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.y0.setFont(font) self.y0.setAutoExclusive(False) self.y0.setObjectName(_fromUtf8("y0")) self.x1 = QtGui.QRadioButton(self.centralwidget) self.x1.setGeometry(QtCore.QRect(470, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.x1.setFont(font) self.x1.setAutoExclusive(False) self.x1.setObjectName(_fromUtf8("x1")) self.a1 = QtGui.QRadioButton(self.centralwidget) self.a1.setGeometry(QtCore.QRect(370, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.a1.setFont(font) self.a1.setChecked(True) self.a1.setAutoExclusive(False) self.a1.setObjectName(_fromUtf8("a1")) self.y1 = QtGui.QRadioButton(self.centralwidget) self.y1.setGeometry(QtCore.QRect(520, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.y1.setFont(font) self.y1.setAutoExclusive(False) self.y1.setObjectName(_fromUtf8("y1")) self.r1 = QtGui.QRadioButton(self.centralwidget) self.r1.setGeometry(QtCore.QRect(420, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.r1.setFont(font) self.r1.setAutoExclusive(False) self.r1.setObjectName(_fromUtf8("r1")) self.x2 = QtGui.QRadioButton(self.centralwidget) self.x2.setGeometry(QtCore.QRect(770, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.x2.setFont(font) self.x2.setAutoExclusive(False) self.x2.setObjectName(_fromUtf8("x2")) self.a2 = QtGui.QRadioButton(self.centralwidget) self.a2.setGeometry(QtCore.QRect(670, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.a2.setFont(font) self.a2.setChecked(True) self.a2.setAutoExclusive(False) self.a2.setObjectName(_fromUtf8("a2")) self.y2 = QtGui.QRadioButton(self.centralwidget) self.y2.setGeometry(QtCore.QRect(820, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.y2.setFont(font) self.y2.setAutoExclusive(False) self.y2.setObjectName(_fromUtf8("y2")) self.r2 = QtGui.QRadioButton(self.centralwidget) self.r2.setGeometry(QtCore.QRect(720, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.r2.setFont(font) self.r2.setAutoExclusive(False) self.r2.setObjectName(_fromUtf8("r2")) self.x3 = QtGui.QRadioButton(self.centralwidget) self.x3.setGeometry(QtCore.QRect(1070, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.x3.setFont(font) self.x3.setAutoExclusive(False) self.x3.setObjectName(_fromUtf8("x3")) self.a3 = QtGui.QRadioButton(self.centralwidget) self.a3.setGeometry(QtCore.QRect(970, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.a3.setFont(font) self.a3.setChecked(True) self.a3.setAutoExclusive(False) self.a3.setObjectName(_fromUtf8("a3")) self.y3 = QtGui.QRadioButton(self.centralwidget) self.y3.setGeometry(QtCore.QRect(1120, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.y3.setFont(font) self.y3.setAutoExclusive(False) self.y3.setObjectName(_fromUtf8("y3")) self.r3 = QtGui.QRadioButton(self.centralwidget) self.r3.setGeometry(QtCore.QRect(1020, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.r3.setFont(font) self.r3.setAutoExclusive(False) self.r3.setObjectName(_fromUtf8("r3")) self.x4 = QtGui.QRadioButton(self.centralwidget) self.x4.setGeometry(QtCore.QRect(1370, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.x4.setFont(font) self.x4.setAutoExclusive(False) self.x4.setObjectName(_fromUtf8("x4")) self.a4 = QtGui.QRadioButton(self.centralwidget) self.a4.setGeometry(QtCore.QRect(1270, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.a4.setFont(font) self.a4.setChecked(True) self.a4.setAutoExclusive(False) self.a4.setObjectName(_fromUtf8("a4")) self.y4 = QtGui.QRadioButton(self.centralwidget) self.y4.setGeometry(QtCore.QRect(1420, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.y4.setFont(font) self.y4.setAutoExclusive(False) self.y4.setObjectName(_fromUtf8("y4")) self.r4 = QtGui.QRadioButton(self.centralwidget) self.r4.setGeometry(QtCore.QRect(1320, 880, 31, 17)) font = QtGui.QFont() font.setPointSize(12) self.r4.setFont(font) self.r4.setAutoExclusive(False) self.r4.setObjectName(_fromUtf8("r4")) self.label_7 = QtGui.QLabel(self.centralwidget) self.label_7.setGeometry(QtCore.QRect(10, 400, 131, 21)) font = QtGui.QFont() font.setPointSize(12) self.label_7.setFont(font) self.label_7.setObjectName(_fromUtf8("label_7")) self.label_8 = QtGui.QLabel(self.centralwidget) self.label_8.setGeometry(QtCore.QRect(10, 830, 131, 21)) font = QtGui.QFont() font.setPointSize(12) self.label_8.setFont(font) self.label_8.setObjectName(_fromUtf8("label_8")) self.dle0x = QtGui.QLineEdit(self.centralwidget) self.dle0x.setGeometry(QtCore.QRect(150, 400, 151, 20)) font = QtGui.QFont() font.setPointSize(14) self.dle0x.setFont(font) self.dle0x.setObjectName(_fromUtf8("dle0x")) self.dle0y = QtGui.QLineEdit(self.centralwidget) self.dle0y.setGeometry(QtCore.QRect(150, 830, 151, 20)) font = QtGui.QFont() font.setPointSize(14) self.dle0y.setFont(font) self.dle0y.setObjectName(_fromUtf8("dle0y")) self.dle1x = QtGui.QLineEdit(self.centralwidget) self.dle1x.setGeometry(QtCore.QRect(450, 400, 151, 20)) font = QtGui.QFont() font.setPointSize(14) self.dle1x.setFont(font) self.dle1x.setObjectName(_fromUtf8("dle1x")) self.dle1y = QtGui.QLineEdit(self.centralwidget) self.dle1y.setGeometry(QtCore.QRect(450, 830, 151, 20)) font = QtGui.QFont() font.setPointSize(14) self.dle1y.setFont(font) self.dle1y.setObjectName(_fromUtf8("dle1y")) self.dle2x = QtGui.QLineEdit(self.centralwidget) self.dle2x.setGeometry(QtCore.QRect(750, 400, 151, 20)) font = QtGui.QFont() font.setPointSize(14) self.dle2x.setFont(font) self.dle2x.setObjectName(_fromUtf8("dle2x")) self.dle2y = QtGui.QLineEdit(self.centralwidget) self.dle2y.setGeometry(QtCore.QRect(750, 830, 151, 20)) font = QtGui.QFont() font.setPointSize(14) self.dle2y.setFont(font) self.dle2y.setObjectName(_fromUtf8("dle2y")) self.dle3x = QtGui.QLineEdit(self.centralwidget) self.dle3x.setGeometry(QtCore.QRect(1050, 400, 151, 20)) font = QtGui.QFont() font.setPointSize(14) self.dle3x.setFont(font) self.dle3x.setObjectName(_fromUtf8("dle3x")) self.dle3y = QtGui.QLineEdit(self.centralwidget) self.dle3y.setGeometry(QtCore.QRect(1050, 830, 151, 20)) font = QtGui.QFont() font.setPointSize(14) self.dle3y.setFont(font) self.dle3y.setObjectName(_fromUtf8("dle3y")) self.dle4x = QtGui.QLineEdit(self.centralwidget) self.dle4x.setGeometry(QtCore.QRect(1350, 400, 151, 20)) font = QtGui.QFont() font.setPointSize(14) self.dle4x.setFont(font) self.dle4x.setObjectName(_fromUtf8("dle4x")) self.dle4y = QtGui.QLineEdit(self.centralwidget) self.dle4y.setGeometry(QtCore.QRect(1350, 830, 151, 20)) font = QtGui.QFont() font.setPointSize(14) self.dle4y.setFont(font) self.dle4y.setObjectName(_fromUtf8("dle4y")) self.label_9 = QtGui.QLabel(self.centralwidget) self.label_9.setGeometry(QtCore.QRect(30, 980, 46, 13)) font = QtGui.QFont() font.setPointSize(12) self.label_9.setFont(font) self.label_9.setObjectName(_fromUtf8("label_9")) self.label_10 = QtGui.QLabel(self.centralwidget) self.label_10.setGeometry(QtCore.QRect(30, 1020, 46, 13)) font = QtGui.QFont() font.setPointSize(12) self.label_10.setFont(font) self.label_10.setObjectName(_fromUtf8("label_10")) self.roachgo = QtGui.QLineEdit(self.centralwidget) self.roachgo.setGeometry(QtCore.QRect(90, 980, 51, 20)) font = QtGui.QFont() font.setPointSize(12) self.roachgo.setFont(font) self.roachgo.setObjectName(_fromUtf8("roachgo")) self.pixelgo = QtGui.QLineEdit(self.centralwidget) self.pixelgo.setGeometry(QtCore.QRect(90, 1020, 51, 20)) font = QtGui.QFont() font.setPointSize(12) self.pixelgo.setFont(font) self.pixelgo.setObjectName(_fromUtf8("pixelgo")) self.gobtn = QtGui.QPushButton(self.centralwidget) self.gobtn.setGeometry(QtCore.QRect(150, 990, 101, 41)) font = QtGui.QFont() font.setPointSize(12) self.gobtn.setFont(font) self.gobtn.setObjectName(_fromUtf8("gobtn")) self.ebtn0x = QtGui.QPushButton(self.centralwidget) self.ebtn0x.setGeometry(QtCore.QRect(230, 10, 75, 23)) self.ebtn0x.setObjectName(_fromUtf8("ebtn0x")) self.ebtn0y = QtGui.QPushButton(self.centralwidget) self.ebtn0y.setGeometry(QtCore.QRect(230, 440, 75, 23)) self.ebtn0y.setObjectName(_fromUtf8("ebtn0y")) self.ebtn1x = QtGui.QPushButton(self.centralwidget) self.ebtn1x.setGeometry(QtCore.QRect(530, 10, 75, 23)) self.ebtn1x.setObjectName(_fromUtf8("ebtn1x")) self.ebtn1y = QtGui.QPushButton(self.centralwidget) self.ebtn1y.setGeometry(QtCore.QRect(530, 440, 75, 23)) self.ebtn1y.setObjectName(_fromUtf8("ebtn1y")) self.ebtn2x = QtGui.QPushButton(self.centralwidget) self.ebtn2x.setGeometry(QtCore.QRect(830, 10, 75, 23)) self.ebtn2x.setObjectName(_fromUtf8("ebtn2x")) self.ebtn2y = QtGui.QPushButton(self.centralwidget) self.ebtn2y.setGeometry(QtCore.QRect(830, 440, 75, 23)) self.ebtn2y.setObjectName(_fromUtf8("ebtn2y")) self.ebtn3x = QtGui.QPushButton(self.centralwidget) self.ebtn3x.setGeometry(QtCore.QRect(1130, 10, 75, 23)) self.ebtn3x.setObjectName(_fromUtf8("ebtn3x")) self.ebtn3y = QtGui.QPushButton(self.centralwidget) self.ebtn3y.setGeometry(QtCore.QRect(1130, 440, 75, 23)) self.ebtn3y.setObjectName(_fromUtf8("ebtn3y")) self.ebtn4x = QtGui.QPushButton(self.centralwidget) self.ebtn4x.setGeometry(QtCore.QRect(1430, 10, 75, 23)) self.ebtn4x.setObjectName(_fromUtf8("ebtn4x")) self.ebtn4y = QtGui.QPushButton(self.centralwidget) self.ebtn4y.setGeometry(QtCore.QRect(1430, 440, 75, 23)) self.ebtn4y.setObjectName(_fromUtf8("ebtn4y")) self.label_11 = QtGui.QLabel(self.centralwidget) self.label_11.setGeometry(QtCore.QRect(920, 970, 591, 71)) font = QtGui.QFont() font.setPointSize(10) self.label_11.setFont(font) self.label_11.setObjectName(_fromUtf8("label_11")) beammap_gui.setCentralWidget(self.centralwidget) self.menubar = QtGui.QMenuBar(beammap_gui) self.menubar.setGeometry(QtCore.QRect(0, 0, 1520, 21)) self.menubar.setObjectName(_fromUtf8("menubar")) beammap_gui.setMenuBar(self.menubar) self.statusbar = QtGui.QStatusBar(beammap_gui) self.statusbar.setObjectName(_fromUtf8("statusbar")) beammap_gui.setStatusBar(self.statusbar) self.retranslateUi(beammap_gui) QtCore.QMetaObject.connectSlotsByName(beammap_gui)
def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(987, 673) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap("games.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) MainWindow.setWindowIcon(icon) MainWindow.setIconSize(QtCore.QSize(30, 30)) self.centralwidget = QtGui.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.hboxlayout = QtGui.QHBoxLayout(self.centralwidget) self.hboxlayout.setObjectName("hboxlayout") self.tabWidget = QtGui.QTabWidget(self.centralwidget) self.tabWidget.setEnabled(True) self.tabWidget.setObjectName("tabWidget") self.tab = QtGui.QWidget() self.tab.setObjectName("tab") self.vboxlayout = QtGui.QVBoxLayout(self.tab) self.vboxlayout.setObjectName("vboxlayout") self.hboxlayout1 = QtGui.QHBoxLayout() self.hboxlayout1.setObjectName("hboxlayout1") self.vboxlayout1 = QtGui.QVBoxLayout() self.vboxlayout1.setObjectName("vboxlayout1") self.hboxlayout2 = QtGui.QHBoxLayout() self.hboxlayout2.setObjectName("hboxlayout2") self.getFolderBtn = QtGui.QPushButton(self.tab) self.getFolderBtn.setObjectName("getFolderBtn") self.hboxlayout2.addWidget(self.getFolderBtn) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout2.addItem(spacerItem) self.vboxlayout1.addLayout(self.hboxlayout2) self.vboxlayout2 = QtGui.QVBoxLayout() self.vboxlayout2.setObjectName("vboxlayout2") self.hboxlayout3 = QtGui.QHBoxLayout() self.hboxlayout3.setObjectName("hboxlayout3") self.label_25 = QtGui.QLabel(self.tab) self.label_25.setObjectName("label_25") self.hboxlayout3.addWidget(self.label_25) self.curFolderLE = QtGui.QLineEdit(self.tab) self.curFolderLE.setReadOnly(True) self.curFolderLE.setObjectName("curFolderLE") self.hboxlayout3.addWidget(self.curFolderLE) self.vboxlayout2.addLayout(self.hboxlayout3) self.label_21 = QtGui.QLabel(self.tab) self.label_21.setObjectName("label_21") self.vboxlayout2.addWidget(self.label_21) self.dirListWidget = QtGui.QListWidget(self.tab) self.dirListWidget.setSelectionMode( QtGui.QAbstractItemView.ExtendedSelection) self.dirListWidget.setObjectName("dirListWidget") self.vboxlayout2.addWidget(self.dirListWidget) self.vboxlayout1.addLayout(self.vboxlayout2) self.hboxlayout1.addLayout(self.vboxlayout1) self.vboxlayout3 = QtGui.QVBoxLayout() self.vboxlayout3.setObjectName("vboxlayout3") self.hboxlayout4 = QtGui.QHBoxLayout() self.hboxlayout4.setObjectName("hboxlayout4") self.label = QtGui.QLabel(self.tab) self.label.setObjectName("label") self.hboxlayout4.addWidget(self.label) self.xcmsMethodCB = QtGui.QComboBox(self.tab) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.xcmsMethodCB.sizePolicy().hasHeightForWidth()) self.xcmsMethodCB.setSizePolicy(sizePolicy) self.xcmsMethodCB.setObjectName("xcmsMethodCB") self.hboxlayout4.addWidget(self.xcmsMethodCB) self.vboxlayout3.addLayout(self.hboxlayout4) self.useRetcor_CB = QtGui.QCheckBox(self.tab) self.useRetcor_CB.setObjectName("useRetcor_CB") self.vboxlayout3.addWidget(self.useRetcor_CB) self.vboxlayout4 = QtGui.QVBoxLayout() self.vboxlayout4.setObjectName("vboxlayout4") self.label_2 = QtGui.QLabel(self.tab) self.label_2.setObjectName("label_2") self.vboxlayout4.addWidget(self.label_2) self.paramTableWidget = CustomTable(self.tab) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.paramTableWidget.sizePolicy().hasHeightForWidth()) self.paramTableWidget.setSizePolicy(sizePolicy) self.paramTableWidget.setRowCount(0) self.paramTableWidget.setColumnCount(0) self.paramTableWidget.setObjectName("paramTableWidget") self.paramTableWidget.setColumnCount(0) self.paramTableWidget.setRowCount(0) self.vboxlayout4.addWidget(self.paramTableWidget) self.vboxlayout3.addLayout(self.vboxlayout4) self.hboxlayout1.addLayout(self.vboxlayout3) self.vboxlayout.addLayout(self.hboxlayout1) self.vboxlayout5 = QtGui.QVBoxLayout() self.vboxlayout5.setObjectName("vboxlayout5") self.hboxlayout5 = QtGui.QHBoxLayout() self.hboxlayout5.setObjectName("hboxlayout5") spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout5.addItem(spacerItem1) self.runXCMSBtn = QtGui.QToolButton(self.tab) icon1 = QtGui.QIcon() icon1.addPixmap(QtGui.QPixmap("applications.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.runXCMSBtn.setIcon(icon1) self.runXCMSBtn.setIconSize(QtCore.QSize(30, 30)) self.runXCMSBtn.setObjectName("runXCMSBtn") self.hboxlayout5.addWidget(self.runXCMSBtn) self.vboxlayout5.addLayout(self.hboxlayout5) self.label_3 = QtGui.QLabel(self.tab) self.label_3.setObjectName("label_3") self.vboxlayout5.addWidget(self.label_3) self.RoutputTE = QtGui.QTextEdit(self.tab) self.RoutputTE.setReadOnly(True) self.RoutputTE.setObjectName("RoutputTE") self.vboxlayout5.addWidget(self.RoutputTE) self.vboxlayout.addLayout(self.vboxlayout5) self.tabWidget.addTab(self.tab, "") self.tab_2 = QtGui.QWidget() self.tab_2.setObjectName("tab_2") self.gridlayout = QtGui.QGridLayout(self.tab_2) self.gridlayout.setObjectName("gridlayout") self.vboxlayout6 = QtGui.QVBoxLayout() self.vboxlayout6.setObjectName("vboxlayout6") self.hboxlayout6 = QtGui.QHBoxLayout() self.hboxlayout6.setObjectName("hboxlayout6") self.label_6 = QtGui.QLabel(self.tab_2) self.label_6.setObjectName("label_6") self.hboxlayout6.addWidget(self.label_6) self.eicIndexSlider = QtGui.QSlider(self.tab_2) self.eicIndexSlider.setMaximum(10000) self.eicIndexSlider.setOrientation(QtCore.Qt.Horizontal) self.eicIndexSlider.setObjectName("eicIndexSlider") self.hboxlayout6.addWidget(self.eicIndexSlider) self.eicIndexSB = QtGui.QSpinBox(self.tab_2) self.eicIndexSB.setMaximum(10000) self.eicIndexSB.setObjectName("eicIndexSB") self.hboxlayout6.addWidget(self.eicIndexSB) self.vboxlayout6.addLayout(self.hboxlayout6) self.plotWidget = MPL_Widget(self.tab_2) self.plotWidget.setObjectName("plotWidget") self.vboxlayout6.addWidget(self.plotWidget) self.gridlayout.addLayout(self.vboxlayout6, 0, 0, 1, 1) self.hboxlayout7 = QtGui.QHBoxLayout() self.hboxlayout7.setObjectName("hboxlayout7") self.vboxlayout7 = QtGui.QVBoxLayout() self.vboxlayout7.setObjectName("vboxlayout7") self.hboxlayout8 = QtGui.QHBoxLayout() self.hboxlayout8.setObjectName("hboxlayout8") self.label_7 = QtGui.QLabel(self.tab_2) self.label_7.setObjectName("label_7") self.hboxlayout8.addWidget(self.label_7) self.eicCurFolderLE = QtGui.QLineEdit(self.tab_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.eicCurFolderLE.sizePolicy().hasHeightForWidth()) self.eicCurFolderLE.setSizePolicy(sizePolicy) self.eicCurFolderLE.setReadOnly(True) self.eicCurFolderLE.setObjectName("eicCurFolderLE") self.hboxlayout8.addWidget(self.eicCurFolderLE) self.vboxlayout7.addLayout(self.hboxlayout8) self.hboxlayout9 = QtGui.QHBoxLayout() self.hboxlayout9.setObjectName("hboxlayout9") self.label_5 = QtGui.QLabel(self.tab_2) self.label_5.setLayoutDirection(QtCore.Qt.LeftToRight) self.label_5.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.label_5.setObjectName("label_5") self.hboxlayout9.addWidget(self.label_5) self.mzStartSB = QtGui.QDoubleSpinBox(self.tab_2) self.mzStartSB.setDecimals(4) self.mzStartSB.setMaximum(100000.0) self.mzStartSB.setSingleStep(0.05) self.mzStartSB.setProperty("value", QtCore.QVariant(215.15)) self.mzStartSB.setObjectName("mzStartSB") self.hboxlayout9.addWidget(self.mzStartSB) self.vboxlayout7.addLayout(self.hboxlayout9) self.hboxlayout10 = QtGui.QHBoxLayout() self.hboxlayout10.setObjectName("hboxlayout10") self.label_4 = QtGui.QLabel(self.tab_2) self.label_4.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.label_4.setObjectName("label_4") self.hboxlayout10.addWidget(self.label_4) self.mzStopSB = QtGui.QDoubleSpinBox(self.tab_2) self.mzStopSB.setDecimals(4) self.mzStopSB.setMaximum(100000.0) self.mzStopSB.setSingleStep(0.05) self.mzStopSB.setProperty("value", QtCore.QVariant(227.15)) self.mzStopSB.setObjectName("mzStopSB") self.hboxlayout10.addWidget(self.mzStopSB) self.vboxlayout7.addLayout(self.hboxlayout10) self.hboxlayout11 = QtGui.QHBoxLayout() self.hboxlayout11.setObjectName("hboxlayout11") self.label_11 = QtGui.QLabel(self.tab_2) self.label_11.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.label_11.setObjectName("label_11") self.hboxlayout11.addWidget(self.label_11) self.rtWidthSB = QtGui.QDoubleSpinBox(self.tab_2) self.rtWidthSB.setDecimals(1) self.rtWidthSB.setMinimum(1.0) self.rtWidthSB.setMaximum(100000.0) self.rtWidthSB.setSingleStep(1.0) self.rtWidthSB.setProperty("value", QtCore.QVariant(200.0)) self.rtWidthSB.setObjectName("rtWidthSB") self.hboxlayout11.addWidget(self.rtWidthSB) self.vboxlayout7.addLayout(self.hboxlayout11) self.hboxlayout12 = QtGui.QHBoxLayout() self.hboxlayout12.setObjectName("hboxlayout12") self.label_12 = QtGui.QLabel(self.tab_2) self.label_12.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.label_12.setObjectName("label_12") self.hboxlayout12.addWidget(self.label_12) self.rtWidthSB_Stop = QtGui.QDoubleSpinBox(self.tab_2) self.rtWidthSB_Stop.setDecimals(1) self.rtWidthSB_Stop.setMinimum(-1.0) self.rtWidthSB_Stop.setMaximum(100000.0) self.rtWidthSB_Stop.setSingleStep(1.0) self.rtWidthSB_Stop.setProperty("value", QtCore.QVariant(-1.0)) self.rtWidthSB_Stop.setObjectName("rtWidthSB_Stop") self.hboxlayout12.addWidget(self.rtWidthSB_Stop) self.vboxlayout7.addLayout(self.hboxlayout12) self.rtTypeCB = QtGui.QCheckBox(self.tab_2) self.rtTypeCB.setChecked(True) self.rtTypeCB.setObjectName("rtTypeCB") self.vboxlayout7.addWidget(self.rtTypeCB) self.fillPeaks_CB = QtGui.QCheckBox(self.tab_2) self.fillPeaks_CB.setChecked(False) self.fillPeaks_CB.setObjectName("fillPeaks_CB") self.vboxlayout7.addWidget(self.fillPeaks_CB) self.plotLegendCB = QtGui.QCheckBox(self.tab_2) self.plotLegendCB.setChecked(False) self.plotLegendCB.setObjectName("plotLegendCB") self.vboxlayout7.addWidget(self.plotLegendCB) self.getEICBtn = QtGui.QPushButton(self.tab_2) self.getEICBtn.setObjectName("getEICBtn") self.vboxlayout7.addWidget(self.getEICBtn) spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.vboxlayout7.addItem(spacerItem2) self.hboxlayout7.addLayout(self.vboxlayout7) self.gridlayout.addLayout(self.hboxlayout7, 0, 1, 1, 1) self.tabWidget.addTab(self.tab_2, "") self.tab_4 = QtGui.QWidget() self.tab_4.setObjectName("tab_4") self.vboxlayout8 = QtGui.QVBoxLayout(self.tab_4) self.vboxlayout8.setObjectName("vboxlayout8") self.hboxlayout13 = QtGui.QHBoxLayout() self.hboxlayout13.setObjectName("hboxlayout13") self.loadRPY2BatchBtn = QtGui.QPushButton(self.tab_4) self.loadRPY2BatchBtn.setEnabled(False) self.loadRPY2BatchBtn.setObjectName("loadRPY2BatchBtn") self.hboxlayout13.addWidget(self.loadRPY2BatchBtn) spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout13.addItem(spacerItem3) self.vboxlayout8.addLayout(self.hboxlayout13) self.batchScriptTE = QtGui.QTextEdit(self.tab_4) self.batchScriptTE.setEnabled(False) self.batchScriptTE.setObjectName("batchScriptTE") self.vboxlayout8.addWidget(self.batchScriptTE) self.hboxlayout14 = QtGui.QHBoxLayout() self.hboxlayout14.setObjectName("hboxlayout14") spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout14.addItem(spacerItem4) self.runBatchBtn = QtGui.QPushButton(self.tab_4) self.runBatchBtn.setEnabled(False) self.runBatchBtn.setObjectName("runBatchBtn") self.hboxlayout14.addWidget(self.runBatchBtn) self.vboxlayout8.addLayout(self.hboxlayout14) self.tabWidget.addTab(self.tab_4, "") self.tab_3 = QtGui.QWidget() self.tab_3.setObjectName("tab_3") self.hboxlayout15 = QtGui.QHBoxLayout(self.tab_3) self.hboxlayout15.setObjectName("hboxlayout15") self.gridlayout1 = QtGui.QGridLayout() self.gridlayout1.setObjectName("gridlayout1") self.gridlayout2 = QtGui.QGridLayout() self.gridlayout2.setObjectName("gridlayout2") self.gridlayout3 = QtGui.QGridLayout() self.gridlayout3.setObjectName("gridlayout3") self.killRBtn = QtGui.QPushButton(self.tab_3) self.killRBtn.setEnabled(False) self.killRBtn.setObjectName("killRBtn") self.gridlayout3.addWidget(self.killRBtn, 0, 0, 1, 1) self.useMaxMZ_CB = QtGui.QCheckBox(self.tab_3) self.useMaxMZ_CB.setEnabled(False) self.useMaxMZ_CB.setObjectName("useMaxMZ_CB") self.gridlayout3.addWidget(self.useMaxMZ_CB, 1, 0, 1, 1) self.gridlayout2.addLayout(self.gridlayout3, 0, 0, 1, 1) self.hboxlayout16 = QtGui.QHBoxLayout() self.hboxlayout16.setObjectName("hboxlayout16") self.label_8 = QtGui.QLabel(self.tab_3) self.label_8.setEnabled(False) self.label_8.setObjectName("label_8") self.hboxlayout16.addWidget(self.label_8) self.mzMZCutoff_SB = QtGui.QDoubleSpinBox(self.tab_3) self.mzMZCutoff_SB.setEnabled(False) self.mzMZCutoff_SB.setDecimals(3) self.mzMZCutoff_SB.setMinimum(1.0) self.mzMZCutoff_SB.setMaximum(99999.99) self.mzMZCutoff_SB.setProperty("value", QtCore.QVariant(350.0)) self.mzMZCutoff_SB.setObjectName("mzMZCutoff_SB") self.hboxlayout16.addWidget(self.mzMZCutoff_SB) self.gridlayout2.addLayout(self.hboxlayout16, 1, 0, 1, 1) self.gridlayout1.addLayout(self.gridlayout2, 0, 0, 1, 1) spacerItem5 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridlayout1.addItem(spacerItem5, 0, 1, 1, 1) spacerItem6 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridlayout1.addItem(spacerItem6, 1, 0, 1, 1) self.hboxlayout15.addLayout(self.gridlayout1) self.tabWidget.addTab(self.tab_3, "") self.hboxlayout.addWidget(self.tabWidget) MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtGui.QMenuBar(MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 987, 26)) self.menubar.setObjectName("menubar") self.menu_File = QtGui.QMenu(self.menubar) self.menu_File.setObjectName("menu_File") self.menuF_unctions = QtGui.QMenu(self.menubar) self.menuF_unctions.setObjectName("menuF_unctions") MainWindow.setMenuBar(self.menubar) self.statusbar = QtGui.QStatusBar(MainWindow) self.statusbar.setObjectName("statusbar") MainWindow.setStatusBar(self.statusbar) self.action_Open = QtGui.QAction(MainWindow) self.action_Open.setObjectName("action_Open") self.actionSave_Results_Table = QtGui.QAction(MainWindow) self.actionSave_Results_Table.setObjectName("actionSave_Results_Table") self.actionTest_XCMS = QtGui.QAction(MainWindow) self.actionTest_XCMS.setObjectName("actionTest_XCMS") self.actionSave_HDF5 = QtGui.QAction(MainWindow) self.actionSave_HDF5.setObjectName("actionSave_HDF5") self.actionLoad_HDF5 = QtGui.QAction(MainWindow) self.actionLoad_HDF5.setObjectName("actionLoad_HDF5") self.actionRun_XCMS = QtGui.QAction(MainWindow) self.actionRun_XCMS.setObjectName("actionRun_XCMS") self.menu_File.addAction(self.actionSave_HDF5) self.menu_File.addAction(self.actionLoad_HDF5) self.menuF_unctions.addAction(self.actionSave_Results_Table) self.menuF_unctions.addSeparator() self.menuF_unctions.addAction(self.actionRun_XCMS) self.menuF_unctions.addSeparator() self.menuF_unctions.addAction(self.actionTest_XCMS) self.menubar.addAction(self.menu_File.menuAction()) self.menubar.addAction(self.menuF_unctions.menuAction()) self.retranslateUi(MainWindow) self.tabWidget.setCurrentIndex(0) QtCore.QObject.connect(self.eicIndexSlider, QtCore.SIGNAL("valueChanged(int)"), self.eicIndexSB.setValue) QtCore.QObject.connect(self.eicIndexSB, QtCore.SIGNAL("valueChanged(int)"), self.eicIndexSlider.setValue) QtCore.QMetaObject.connectSlotsByName(MainWindow)
class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(987, 673) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap("games.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) MainWindow.setWindowIcon(icon) MainWindow.setIconSize(QtCore.QSize(30, 30)) self.centralwidget = QtGui.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.hboxlayout = QtGui.QHBoxLayout(self.centralwidget) self.hboxlayout.setObjectName("hboxlayout") self.tabWidget = QtGui.QTabWidget(self.centralwidget) self.tabWidget.setEnabled(True) self.tabWidget.setObjectName("tabWidget") self.tab = QtGui.QWidget() self.tab.setObjectName("tab") self.vboxlayout = QtGui.QVBoxLayout(self.tab) self.vboxlayout.setObjectName("vboxlayout") self.hboxlayout1 = QtGui.QHBoxLayout() self.hboxlayout1.setObjectName("hboxlayout1") self.vboxlayout1 = QtGui.QVBoxLayout() self.vboxlayout1.setObjectName("vboxlayout1") self.hboxlayout2 = QtGui.QHBoxLayout() self.hboxlayout2.setObjectName("hboxlayout2") self.getFolderBtn = QtGui.QPushButton(self.tab) self.getFolderBtn.setObjectName("getFolderBtn") self.hboxlayout2.addWidget(self.getFolderBtn) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout2.addItem(spacerItem) self.vboxlayout1.addLayout(self.hboxlayout2) self.vboxlayout2 = QtGui.QVBoxLayout() self.vboxlayout2.setObjectName("vboxlayout2") self.hboxlayout3 = QtGui.QHBoxLayout() self.hboxlayout3.setObjectName("hboxlayout3") self.label_25 = QtGui.QLabel(self.tab) self.label_25.setObjectName("label_25") self.hboxlayout3.addWidget(self.label_25) self.curFolderLE = QtGui.QLineEdit(self.tab) self.curFolderLE.setReadOnly(True) self.curFolderLE.setObjectName("curFolderLE") self.hboxlayout3.addWidget(self.curFolderLE) self.vboxlayout2.addLayout(self.hboxlayout3) self.label_21 = QtGui.QLabel(self.tab) self.label_21.setObjectName("label_21") self.vboxlayout2.addWidget(self.label_21) self.dirListWidget = QtGui.QListWidget(self.tab) self.dirListWidget.setSelectionMode( QtGui.QAbstractItemView.ExtendedSelection) self.dirListWidget.setObjectName("dirListWidget") self.vboxlayout2.addWidget(self.dirListWidget) self.vboxlayout1.addLayout(self.vboxlayout2) self.hboxlayout1.addLayout(self.vboxlayout1) self.vboxlayout3 = QtGui.QVBoxLayout() self.vboxlayout3.setObjectName("vboxlayout3") self.hboxlayout4 = QtGui.QHBoxLayout() self.hboxlayout4.setObjectName("hboxlayout4") self.label = QtGui.QLabel(self.tab) self.label.setObjectName("label") self.hboxlayout4.addWidget(self.label) self.xcmsMethodCB = QtGui.QComboBox(self.tab) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.xcmsMethodCB.sizePolicy().hasHeightForWidth()) self.xcmsMethodCB.setSizePolicy(sizePolicy) self.xcmsMethodCB.setObjectName("xcmsMethodCB") self.hboxlayout4.addWidget(self.xcmsMethodCB) self.vboxlayout3.addLayout(self.hboxlayout4) self.useRetcor_CB = QtGui.QCheckBox(self.tab) self.useRetcor_CB.setObjectName("useRetcor_CB") self.vboxlayout3.addWidget(self.useRetcor_CB) self.vboxlayout4 = QtGui.QVBoxLayout() self.vboxlayout4.setObjectName("vboxlayout4") self.label_2 = QtGui.QLabel(self.tab) self.label_2.setObjectName("label_2") self.vboxlayout4.addWidget(self.label_2) self.paramTableWidget = CustomTable(self.tab) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.paramTableWidget.sizePolicy().hasHeightForWidth()) self.paramTableWidget.setSizePolicy(sizePolicy) self.paramTableWidget.setRowCount(0) self.paramTableWidget.setColumnCount(0) self.paramTableWidget.setObjectName("paramTableWidget") self.paramTableWidget.setColumnCount(0) self.paramTableWidget.setRowCount(0) self.vboxlayout4.addWidget(self.paramTableWidget) self.vboxlayout3.addLayout(self.vboxlayout4) self.hboxlayout1.addLayout(self.vboxlayout3) self.vboxlayout.addLayout(self.hboxlayout1) self.vboxlayout5 = QtGui.QVBoxLayout() self.vboxlayout5.setObjectName("vboxlayout5") self.hboxlayout5 = QtGui.QHBoxLayout() self.hboxlayout5.setObjectName("hboxlayout5") spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout5.addItem(spacerItem1) self.runXCMSBtn = QtGui.QToolButton(self.tab) icon1 = QtGui.QIcon() icon1.addPixmap(QtGui.QPixmap("applications.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.runXCMSBtn.setIcon(icon1) self.runXCMSBtn.setIconSize(QtCore.QSize(30, 30)) self.runXCMSBtn.setObjectName("runXCMSBtn") self.hboxlayout5.addWidget(self.runXCMSBtn) self.vboxlayout5.addLayout(self.hboxlayout5) self.label_3 = QtGui.QLabel(self.tab) self.label_3.setObjectName("label_3") self.vboxlayout5.addWidget(self.label_3) self.RoutputTE = QtGui.QTextEdit(self.tab) self.RoutputTE.setReadOnly(True) self.RoutputTE.setObjectName("RoutputTE") self.vboxlayout5.addWidget(self.RoutputTE) self.vboxlayout.addLayout(self.vboxlayout5) self.tabWidget.addTab(self.tab, "") self.tab_2 = QtGui.QWidget() self.tab_2.setObjectName("tab_2") self.gridlayout = QtGui.QGridLayout(self.tab_2) self.gridlayout.setObjectName("gridlayout") self.vboxlayout6 = QtGui.QVBoxLayout() self.vboxlayout6.setObjectName("vboxlayout6") self.hboxlayout6 = QtGui.QHBoxLayout() self.hboxlayout6.setObjectName("hboxlayout6") self.label_6 = QtGui.QLabel(self.tab_2) self.label_6.setObjectName("label_6") self.hboxlayout6.addWidget(self.label_6) self.eicIndexSlider = QtGui.QSlider(self.tab_2) self.eicIndexSlider.setMaximum(10000) self.eicIndexSlider.setOrientation(QtCore.Qt.Horizontal) self.eicIndexSlider.setObjectName("eicIndexSlider") self.hboxlayout6.addWidget(self.eicIndexSlider) self.eicIndexSB = QtGui.QSpinBox(self.tab_2) self.eicIndexSB.setMaximum(10000) self.eicIndexSB.setObjectName("eicIndexSB") self.hboxlayout6.addWidget(self.eicIndexSB) self.vboxlayout6.addLayout(self.hboxlayout6) self.plotWidget = MPL_Widget(self.tab_2) self.plotWidget.setObjectName("plotWidget") self.vboxlayout6.addWidget(self.plotWidget) self.gridlayout.addLayout(self.vboxlayout6, 0, 0, 1, 1) self.hboxlayout7 = QtGui.QHBoxLayout() self.hboxlayout7.setObjectName("hboxlayout7") self.vboxlayout7 = QtGui.QVBoxLayout() self.vboxlayout7.setObjectName("vboxlayout7") self.hboxlayout8 = QtGui.QHBoxLayout() self.hboxlayout8.setObjectName("hboxlayout8") self.label_7 = QtGui.QLabel(self.tab_2) self.label_7.setObjectName("label_7") self.hboxlayout8.addWidget(self.label_7) self.eicCurFolderLE = QtGui.QLineEdit(self.tab_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.eicCurFolderLE.sizePolicy().hasHeightForWidth()) self.eicCurFolderLE.setSizePolicy(sizePolicy) self.eicCurFolderLE.setReadOnly(True) self.eicCurFolderLE.setObjectName("eicCurFolderLE") self.hboxlayout8.addWidget(self.eicCurFolderLE) self.vboxlayout7.addLayout(self.hboxlayout8) self.hboxlayout9 = QtGui.QHBoxLayout() self.hboxlayout9.setObjectName("hboxlayout9") self.label_5 = QtGui.QLabel(self.tab_2) self.label_5.setLayoutDirection(QtCore.Qt.LeftToRight) self.label_5.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.label_5.setObjectName("label_5") self.hboxlayout9.addWidget(self.label_5) self.mzStartSB = QtGui.QDoubleSpinBox(self.tab_2) self.mzStartSB.setDecimals(4) self.mzStartSB.setMaximum(100000.0) self.mzStartSB.setSingleStep(0.05) self.mzStartSB.setProperty("value", QtCore.QVariant(215.15)) self.mzStartSB.setObjectName("mzStartSB") self.hboxlayout9.addWidget(self.mzStartSB) self.vboxlayout7.addLayout(self.hboxlayout9) self.hboxlayout10 = QtGui.QHBoxLayout() self.hboxlayout10.setObjectName("hboxlayout10") self.label_4 = QtGui.QLabel(self.tab_2) self.label_4.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.label_4.setObjectName("label_4") self.hboxlayout10.addWidget(self.label_4) self.mzStopSB = QtGui.QDoubleSpinBox(self.tab_2) self.mzStopSB.setDecimals(4) self.mzStopSB.setMaximum(100000.0) self.mzStopSB.setSingleStep(0.05) self.mzStopSB.setProperty("value", QtCore.QVariant(227.15)) self.mzStopSB.setObjectName("mzStopSB") self.hboxlayout10.addWidget(self.mzStopSB) self.vboxlayout7.addLayout(self.hboxlayout10) self.hboxlayout11 = QtGui.QHBoxLayout() self.hboxlayout11.setObjectName("hboxlayout11") self.label_11 = QtGui.QLabel(self.tab_2) self.label_11.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.label_11.setObjectName("label_11") self.hboxlayout11.addWidget(self.label_11) self.rtWidthSB = QtGui.QDoubleSpinBox(self.tab_2) self.rtWidthSB.setDecimals(1) self.rtWidthSB.setMinimum(1.0) self.rtWidthSB.setMaximum(100000.0) self.rtWidthSB.setSingleStep(1.0) self.rtWidthSB.setProperty("value", QtCore.QVariant(200.0)) self.rtWidthSB.setObjectName("rtWidthSB") self.hboxlayout11.addWidget(self.rtWidthSB) self.vboxlayout7.addLayout(self.hboxlayout11) self.hboxlayout12 = QtGui.QHBoxLayout() self.hboxlayout12.setObjectName("hboxlayout12") self.label_12 = QtGui.QLabel(self.tab_2) self.label_12.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter) self.label_12.setObjectName("label_12") self.hboxlayout12.addWidget(self.label_12) self.rtWidthSB_Stop = QtGui.QDoubleSpinBox(self.tab_2) self.rtWidthSB_Stop.setDecimals(1) self.rtWidthSB_Stop.setMinimum(-1.0) self.rtWidthSB_Stop.setMaximum(100000.0) self.rtWidthSB_Stop.setSingleStep(1.0) self.rtWidthSB_Stop.setProperty("value", QtCore.QVariant(-1.0)) self.rtWidthSB_Stop.setObjectName("rtWidthSB_Stop") self.hboxlayout12.addWidget(self.rtWidthSB_Stop) self.vboxlayout7.addLayout(self.hboxlayout12) self.rtTypeCB = QtGui.QCheckBox(self.tab_2) self.rtTypeCB.setChecked(True) self.rtTypeCB.setObjectName("rtTypeCB") self.vboxlayout7.addWidget(self.rtTypeCB) self.fillPeaks_CB = QtGui.QCheckBox(self.tab_2) self.fillPeaks_CB.setChecked(False) self.fillPeaks_CB.setObjectName("fillPeaks_CB") self.vboxlayout7.addWidget(self.fillPeaks_CB) self.plotLegendCB = QtGui.QCheckBox(self.tab_2) self.plotLegendCB.setChecked(False) self.plotLegendCB.setObjectName("plotLegendCB") self.vboxlayout7.addWidget(self.plotLegendCB) self.getEICBtn = QtGui.QPushButton(self.tab_2) self.getEICBtn.setObjectName("getEICBtn") self.vboxlayout7.addWidget(self.getEICBtn) spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.vboxlayout7.addItem(spacerItem2) self.hboxlayout7.addLayout(self.vboxlayout7) self.gridlayout.addLayout(self.hboxlayout7, 0, 1, 1, 1) self.tabWidget.addTab(self.tab_2, "") self.tab_4 = QtGui.QWidget() self.tab_4.setObjectName("tab_4") self.vboxlayout8 = QtGui.QVBoxLayout(self.tab_4) self.vboxlayout8.setObjectName("vboxlayout8") self.hboxlayout13 = QtGui.QHBoxLayout() self.hboxlayout13.setObjectName("hboxlayout13") self.loadRPY2BatchBtn = QtGui.QPushButton(self.tab_4) self.loadRPY2BatchBtn.setEnabled(False) self.loadRPY2BatchBtn.setObjectName("loadRPY2BatchBtn") self.hboxlayout13.addWidget(self.loadRPY2BatchBtn) spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout13.addItem(spacerItem3) self.vboxlayout8.addLayout(self.hboxlayout13) self.batchScriptTE = QtGui.QTextEdit(self.tab_4) self.batchScriptTE.setEnabled(False) self.batchScriptTE.setObjectName("batchScriptTE") self.vboxlayout8.addWidget(self.batchScriptTE) self.hboxlayout14 = QtGui.QHBoxLayout() self.hboxlayout14.setObjectName("hboxlayout14") spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout14.addItem(spacerItem4) self.runBatchBtn = QtGui.QPushButton(self.tab_4) self.runBatchBtn.setEnabled(False) self.runBatchBtn.setObjectName("runBatchBtn") self.hboxlayout14.addWidget(self.runBatchBtn) self.vboxlayout8.addLayout(self.hboxlayout14) self.tabWidget.addTab(self.tab_4, "") self.tab_3 = QtGui.QWidget() self.tab_3.setObjectName("tab_3") self.hboxlayout15 = QtGui.QHBoxLayout(self.tab_3) self.hboxlayout15.setObjectName("hboxlayout15") self.gridlayout1 = QtGui.QGridLayout() self.gridlayout1.setObjectName("gridlayout1") self.gridlayout2 = QtGui.QGridLayout() self.gridlayout2.setObjectName("gridlayout2") self.gridlayout3 = QtGui.QGridLayout() self.gridlayout3.setObjectName("gridlayout3") self.killRBtn = QtGui.QPushButton(self.tab_3) self.killRBtn.setEnabled(False) self.killRBtn.setObjectName("killRBtn") self.gridlayout3.addWidget(self.killRBtn, 0, 0, 1, 1) self.useMaxMZ_CB = QtGui.QCheckBox(self.tab_3) self.useMaxMZ_CB.setEnabled(False) self.useMaxMZ_CB.setObjectName("useMaxMZ_CB") self.gridlayout3.addWidget(self.useMaxMZ_CB, 1, 0, 1, 1) self.gridlayout2.addLayout(self.gridlayout3, 0, 0, 1, 1) self.hboxlayout16 = QtGui.QHBoxLayout() self.hboxlayout16.setObjectName("hboxlayout16") self.label_8 = QtGui.QLabel(self.tab_3) self.label_8.setEnabled(False) self.label_8.setObjectName("label_8") self.hboxlayout16.addWidget(self.label_8) self.mzMZCutoff_SB = QtGui.QDoubleSpinBox(self.tab_3) self.mzMZCutoff_SB.setEnabled(False) self.mzMZCutoff_SB.setDecimals(3) self.mzMZCutoff_SB.setMinimum(1.0) self.mzMZCutoff_SB.setMaximum(99999.99) self.mzMZCutoff_SB.setProperty("value", QtCore.QVariant(350.0)) self.mzMZCutoff_SB.setObjectName("mzMZCutoff_SB") self.hboxlayout16.addWidget(self.mzMZCutoff_SB) self.gridlayout2.addLayout(self.hboxlayout16, 1, 0, 1, 1) self.gridlayout1.addLayout(self.gridlayout2, 0, 0, 1, 1) spacerItem5 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridlayout1.addItem(spacerItem5, 0, 1, 1, 1) spacerItem6 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridlayout1.addItem(spacerItem6, 1, 0, 1, 1) self.hboxlayout15.addLayout(self.gridlayout1) self.tabWidget.addTab(self.tab_3, "") self.hboxlayout.addWidget(self.tabWidget) MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtGui.QMenuBar(MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 987, 26)) self.menubar.setObjectName("menubar") self.menu_File = QtGui.QMenu(self.menubar) self.menu_File.setObjectName("menu_File") self.menuF_unctions = QtGui.QMenu(self.menubar) self.menuF_unctions.setObjectName("menuF_unctions") MainWindow.setMenuBar(self.menubar) self.statusbar = QtGui.QStatusBar(MainWindow) self.statusbar.setObjectName("statusbar") MainWindow.setStatusBar(self.statusbar) self.action_Open = QtGui.QAction(MainWindow) self.action_Open.setObjectName("action_Open") self.actionSave_Results_Table = QtGui.QAction(MainWindow) self.actionSave_Results_Table.setObjectName("actionSave_Results_Table") self.actionTest_XCMS = QtGui.QAction(MainWindow) self.actionTest_XCMS.setObjectName("actionTest_XCMS") self.actionSave_HDF5 = QtGui.QAction(MainWindow) self.actionSave_HDF5.setObjectName("actionSave_HDF5") self.actionLoad_HDF5 = QtGui.QAction(MainWindow) self.actionLoad_HDF5.setObjectName("actionLoad_HDF5") self.actionRun_XCMS = QtGui.QAction(MainWindow) self.actionRun_XCMS.setObjectName("actionRun_XCMS") self.menu_File.addAction(self.actionSave_HDF5) self.menu_File.addAction(self.actionLoad_HDF5) self.menuF_unctions.addAction(self.actionSave_Results_Table) self.menuF_unctions.addSeparator() self.menuF_unctions.addAction(self.actionRun_XCMS) self.menuF_unctions.addSeparator() self.menuF_unctions.addAction(self.actionTest_XCMS) self.menubar.addAction(self.menu_File.menuAction()) self.menubar.addAction(self.menuF_unctions.menuAction()) self.retranslateUi(MainWindow) self.tabWidget.setCurrentIndex(0) QtCore.QObject.connect(self.eicIndexSlider, QtCore.SIGNAL("valueChanged(int)"), self.eicIndexSB.setValue) QtCore.QObject.connect(self.eicIndexSB, QtCore.SIGNAL("valueChanged(int)"), self.eicIndexSlider.setValue) QtCore.QMetaObject.connectSlotsByName(MainWindow) def retranslateUi(self, MainWindow): MainWindow.setWindowTitle( QtGui.QApplication.translate("MainWindow", "pyXCMS", None, QtGui.QApplication.UnicodeUTF8)) self.getFolderBtn.setText( QtGui.QApplication.translate("MainWindow", "Select Folder", None, QtGui.QApplication.UnicodeUTF8)) self.label_25.setText( QtGui.QApplication.translate("MainWindow", "Data Folder:", None, QtGui.QApplication.UnicodeUTF8)) self.label_21.setText( QtGui.QApplication.translate("MainWindow", "Files in Directory:", None, QtGui.QApplication.UnicodeUTF8)) self.label.setText( QtGui.QApplication.translate("MainWindow", "Grouping Method:", None, QtGui.QApplication.UnicodeUTF8)) self.xcmsMethodCB.setToolTip( QtGui.QApplication.translate( "MainWindow", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" "p, li { white-space: pre-wrap; }\n" "</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Select XCMS Processing Method</p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) self.useRetcor_CB.setText( QtGui.QApplication.translate("MainWindow", "Use Retention Time Alignment?", None, QtGui.QApplication.UnicodeUTF8)) self.label_2.setText( QtGui.QApplication.translate("MainWindow", "Parameters:", None, QtGui.QApplication.UnicodeUTF8)) self.paramTableWidget.setToolTip( QtGui.QApplication.translate( "MainWindow", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" "p, li { white-space: pre-wrap; }\n" "</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Adjust XCMS Parameters</p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) self.runXCMSBtn.setToolTip( QtGui.QApplication.translate( "MainWindow", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" "p, li { white-space: pre-wrap; }\n" "</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Make it happen!</p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) self.runXCMSBtn.setText( QtGui.QApplication.translate("MainWindow", "...", None, QtGui.QApplication.UnicodeUTF8)) self.label_3.setText( QtGui.QApplication.translate("MainWindow", "R output:", None, QtGui.QApplication.UnicodeUTF8)) self.tabWidget.setTabText( self.tabWidget.indexOf(self.tab), QtGui.QApplication.translate("MainWindow", "xcms", None, QtGui.QApplication.UnicodeUTF8)) self.label_6.setText( QtGui.QApplication.translate("MainWindow", "EIC Index:", None, QtGui.QApplication.UnicodeUTF8)) self.label_7.setText( QtGui.QApplication.translate("MainWindow", "Current Folder:", None, QtGui.QApplication.UnicodeUTF8)) self.label_5.setText( QtGui.QApplication.translate("MainWindow", "m/z Start:", None, QtGui.QApplication.UnicodeUTF8)) self.mzStartSB.setToolTip( QtGui.QApplication.translate( "MainWindow", "Upper bound of the EIC extraction range", None, QtGui.QApplication.UnicodeUTF8)) self.label_4.setText( QtGui.QApplication.translate("MainWindow", "m/z Stop:", None, QtGui.QApplication.UnicodeUTF8)) self.mzStopSB.setToolTip( QtGui.QApplication.translate( "MainWindow", "Low bound of the EIC extraction range", None, QtGui.QApplication.UnicodeUTF8)) self.label_11.setText( QtGui.QApplication.translate("MainWindow", "RT Start:", None, QtGui.QApplication.UnicodeUTF8)) self.rtWidthSB.setToolTip( QtGui.QApplication.translate("MainWindow", "Retention time window of the EIC", None, QtGui.QApplication.UnicodeUTF8)) self.label_12.setText( QtGui.QApplication.translate("MainWindow", "RT Stop:", None, QtGui.QApplication.UnicodeUTF8)) self.rtWidthSB_Stop.setToolTip( QtGui.QApplication.translate( "MainWindow", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" "p, li { white-space: pre-wrap; }\n" "</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:8pt;\">Set to -1 for the entire spectrum</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) self.rtTypeCB.setToolTip( QtGui.QApplication.translate( "MainWindow", "Do you want the corrected EIC or the raw values?", None, QtGui.QApplication.UnicodeUTF8)) self.rtTypeCB.setText( QtGui.QApplication.translate("MainWindow", "Retrieve Corrected EIC?", None, QtGui.QApplication.UnicodeUTF8)) self.fillPeaks_CB.setToolTip( QtGui.QApplication.translate( "MainWindow", "Do you want the corrected EIC or the raw values?", None, QtGui.QApplication.UnicodeUTF8)) self.fillPeaks_CB.setText( QtGui.QApplication.translate("MainWindow", "Fill Missing Peaks?", None, QtGui.QApplication.UnicodeUTF8)) self.plotLegendCB.setText( QtGui.QApplication.translate("MainWindow", "Plot Legend?", None, QtGui.QApplication.UnicodeUTF8)) self.getEICBtn.setToolTip( QtGui.QApplication.translate( "MainWindow", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" "p, li { white-space: pre-wrap; }\n" "</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Do It!</p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) self.getEICBtn.setText( QtGui.QApplication.translate("MainWindow", "Fetch EIC", None, QtGui.QApplication.UnicodeUTF8)) self.tabWidget.setTabText( self.tabWidget.indexOf(self.tab_2), QtGui.QApplication.translate("MainWindow", "EIC", None, QtGui.QApplication.UnicodeUTF8)) self.loadRPY2BatchBtn.setText( QtGui.QApplication.translate("MainWindow", "Load rpy2 Batch Script", None, QtGui.QApplication.UnicodeUTF8)) self.runBatchBtn.setText( QtGui.QApplication.translate("MainWindow", "Do It!", None, QtGui.QApplication.UnicodeUTF8)) self.tabWidget.setTabText( self.tabWidget.indexOf(self.tab_4), QtGui.QApplication.translate("MainWindow", "Batch Processing", None, QtGui.QApplication.UnicodeUTF8)) self.killRBtn.setText( QtGui.QApplication.translate("MainWindow", "Kill R Process", None, QtGui.QApplication.UnicodeUTF8)) self.useMaxMZ_CB.setText( QtGui.QApplication.translate("MainWindow", "Limit Peaks below a certain m/z?", None, QtGui.QApplication.UnicodeUTF8)) self.label_8.setText( QtGui.QApplication.translate( "MainWindow", "Maximum m/z Value for XCMS Processing", None, QtGui.QApplication.UnicodeUTF8)) self.tabWidget.setTabText( self.tabWidget.indexOf(self.tab_3), QtGui.QApplication.translate("MainWindow", "Options", None, QtGui.QApplication.UnicodeUTF8)) self.menu_File.setTitle( QtGui.QApplication.translate("MainWindow", "&File", None, QtGui.QApplication.UnicodeUTF8)) self.menuF_unctions.setTitle( QtGui.QApplication.translate("MainWindow", "F&unctions", None, QtGui.QApplication.UnicodeUTF8)) self.action_Open.setText( QtGui.QApplication.translate("MainWindow", "&Open", None, QtGui.QApplication.UnicodeUTF8)) self.action_Open.setShortcut( QtGui.QApplication.translate("MainWindow", "Ctrl+O", None, QtGui.QApplication.UnicodeUTF8)) self.actionSave_Results_Table.setText( QtGui.QApplication.translate("MainWindow", "Save Results Table", None, QtGui.QApplication.UnicodeUTF8)) self.actionTest_XCMS.setText( QtGui.QApplication.translate("MainWindow", "Test XCMS", None, QtGui.QApplication.UnicodeUTF8)) self.actionTest_XCMS.setToolTip( QtGui.QApplication.translate("MainWindow", "Needs faakho package", None, QtGui.QApplication.UnicodeUTF8)) self.actionTest_XCMS.setWhatsThis( QtGui.QApplication.translate("MainWindow", "Needs faakho package", None, QtGui.QApplication.UnicodeUTF8)) self.actionSave_HDF5.setText( QtGui.QApplication.translate("MainWindow", "Save HDF5", None, QtGui.QApplication.UnicodeUTF8)) self.actionSave_HDF5.setShortcut( QtGui.QApplication.translate("MainWindow", "Ctrl+S", None, QtGui.QApplication.UnicodeUTF8)) self.actionLoad_HDF5.setText( QtGui.QApplication.translate("MainWindow", "Load HDF5", None, QtGui.QApplication.UnicodeUTF8)) self.actionLoad_HDF5.setShortcut( QtGui.QApplication.translate("MainWindow", "Ctrl+L", None, QtGui.QApplication.UnicodeUTF8)) self.actionRun_XCMS.setText( QtGui.QApplication.translate("MainWindow", "Run XCMS", None, QtGui.QApplication.UnicodeUTF8))
class Ui_arcons(object): def setupUi(self, arcons): arcons.setObjectName(_fromUtf8("arcons")) arcons.setEnabled(True) arcons.resize(860, 960) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(arcons.sizePolicy().hasHeightForWidth()) arcons.setSizePolicy(sizePolicy) arcons.setMouseTracking(True) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(_fromUtf8("lib/Archon.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) arcons.setWindowIcon(icon) arcons.setWindowFilePath(_fromUtf8("")) arcons.setAnimated(True) self.centralwidget = QtGui.QWidget(arcons) self.centralwidget.setObjectName(_fromUtf8("centralwidget")) self.frame = QtGui.QFrame(self.centralwidget) self.frame.setGeometry(QtCore.QRect(0, 0, 391, 151)) self.frame.setFrameShape(QtGui.QFrame.Box) self.frame.setFrameShadow(QtGui.QFrame.Sunken) self.frame.setObjectName(_fromUtf8("frame")) self.label = QtGui.QLabel(self.frame) self.label.setGeometry(QtCore.QRect(110, 10, 251, 21)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(18) font.setWeight(75) font.setBold(True) self.label.setFont(font) self.label.setObjectName(_fromUtf8("label")) self.array_temp_lcd = QtGui.QLCDNumber(self.frame) self.array_temp_lcd.setGeometry(QtCore.QRect(10, 40, 81, 41)) self.array_temp_lcd.setObjectName(_fromUtf8("array_temp_lcd")) self.pulse_tube_temp_lcd = QtGui.QLCDNumber(self.frame) self.pulse_tube_temp_lcd.setGeometry(QtCore.QRect(10, 90, 81, 41)) self.pulse_tube_temp_lcd.setObjectName(_fromUtf8("pulse_tube_temp_lcd")) self.label_3 = QtGui.QLabel(self.frame) self.label_3.setGeometry(QtCore.QRect(100, 50, 101, 21)) font = QtGui.QFont() font.setPointSize(14) self.label_3.setFont(font) self.label_3.setObjectName(_fromUtf8("label_3")) self.label_4 = QtGui.QLabel(self.frame) self.label_4.setGeometry(QtCore.QRect(100, 90, 121, 41)) font = QtGui.QFont() font.setPointSize(14) self.label_4.setFont(font) self.label_4.setObjectName(_fromUtf8("label_4")) self.open_shutter_radioButton = QtGui.QRadioButton(self.frame) self.open_shutter_radioButton.setEnabled(False) self.open_shutter_radioButton.setGeometry(QtCore.QRect(240, 90, 141, 41)) font = QtGui.QFont() font.setPointSize(14) self.open_shutter_radioButton.setFont(font) self.open_shutter_radioButton.setFocusPolicy(QtCore.Qt.NoFocus) self.open_shutter_radioButton.setAutoExclusive(False) self.open_shutter_radioButton.setObjectName(_fromUtf8("open_shutter_radioButton")) self.cycle_fridge_radioButton = QtGui.QRadioButton(self.frame) self.cycle_fridge_radioButton.setEnabled(False) self.cycle_fridge_radioButton.setGeometry(QtCore.QRect(240, 40, 141, 41)) font = QtGui.QFont() font.setPointSize(14) self.cycle_fridge_radioButton.setFont(font) self.cycle_fridge_radioButton.setFocusPolicy(QtCore.Qt.NoFocus) self.cycle_fridge_radioButton.setAutoExclusive(False) self.cycle_fridge_radioButton.setObjectName(_fromUtf8("cycle_fridge_radioButton")) self.lineEdit = QtGui.QLineEdit(self.frame) self.lineEdit.setGeometry(QtCore.QRect(80, 180, 113, 20)) self.lineEdit.setObjectName(_fromUtf8("lineEdit")) self.frame_2 = QtGui.QFrame(self.centralwidget) self.frame_2.setGeometry(QtCore.QRect(390, 0, 471, 181)) self.frame_2.setFrameShape(QtGui.QFrame.Box) self.frame_2.setFrameShadow(QtGui.QFrame.Sunken) self.frame_2.setObjectName(_fromUtf8("frame_2")) self.label_2 = QtGui.QLabel(self.frame_2) self.label_2.setGeometry(QtCore.QRect(150, 0, 261, 41)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(18) font.setWeight(75) font.setBold(True) self.label_2.setFont(font) self.label_2.setObjectName(_fromUtf8("label_2")) self.compass_graphicsView = QtGui.QGraphicsView(self.frame_2) self.compass_graphicsView.setGeometry(QtCore.QRect(70, 90, 81, 81)) self.compass_graphicsView.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff) self.compass_graphicsView.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff) self.compass_graphicsView.setInteractive(False) self.compass_graphicsView.setObjectName(_fromUtf8("compass_graphicsView")) self.label_5 = QtGui.QLabel(self.frame_2) self.label_5.setGeometry(QtCore.QRect(10, 40, 31, 21)) font = QtGui.QFont() font.setPointSize(10) self.label_5.setFont(font) self.label_5.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_5.setObjectName(_fromUtf8("label_5")) self.label_6 = QtGui.QLabel(self.frame_2) self.label_6.setGeometry(QtCore.QRect(10, 60, 31, 21)) font = QtGui.QFont() font.setPointSize(10) self.label_6.setFont(font) self.label_6.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_6.setObjectName(_fromUtf8("label_6")) self.label_7 = QtGui.QLabel(self.frame_2) self.label_7.setGeometry(QtCore.QRect(170, 120, 111, 21)) font = QtGui.QFont() font.setPointSize(10) self.label_7.setFont(font) self.label_7.setLayoutDirection(QtCore.Qt.RightToLeft) self.label_7.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_7.setObjectName(_fromUtf8("label_7")) self.label_8 = QtGui.QLabel(self.frame_2) self.label_8.setGeometry(QtCore.QRect(180, 40, 101, 21)) font = QtGui.QFont() font.setPointSize(10) self.label_8.setFont(font) self.label_8.setLayoutDirection(QtCore.Qt.RightToLeft) self.label_8.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_8.setObjectName(_fromUtf8("label_8")) self.label_9 = QtGui.QLabel(self.frame_2) self.label_9.setGeometry(QtCore.QRect(180, 60, 101, 21)) font = QtGui.QFont() font.setPointSize(10) self.label_9.setFont(font) self.label_9.setLayoutDirection(QtCore.Qt.RightToLeft) self.label_9.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_9.setObjectName(_fromUtf8("label_9")) self.label_10 = QtGui.QLabel(self.frame_2) self.label_10.setGeometry(QtCore.QRect(150, 140, 131, 21)) font = QtGui.QFont() font.setPointSize(10) self.label_10.setFont(font) self.label_10.setLayoutDirection(QtCore.Qt.RightToLeft) self.label_10.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_10.setObjectName(_fromUtf8("label_10")) self.label_11 = QtGui.QLabel(self.frame_2) self.label_11.setGeometry(QtCore.QRect(150, 80, 131, 21)) font = QtGui.QFont() font.setPointSize(10) self.label_11.setFont(font) self.label_11.setLayoutDirection(QtCore.Qt.RightToLeft) self.label_11.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_11.setObjectName(_fromUtf8("label_11")) self.label_12 = QtGui.QLabel(self.frame_2) self.label_12.setGeometry(QtCore.QRect(170, 100, 111, 21)) font = QtGui.QFont() font.setPointSize(10) self.label_12.setFont(font) self.label_12.setLayoutDirection(QtCore.Qt.RightToLeft) self.label_12.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_12.setObjectName(_fromUtf8("label_12")) self.status_label = QtGui.QLabel(self.frame_2) self.status_label.setGeometry(QtCore.QRect(10, 10, 131, 21)) font = QtGui.QFont() font.setPointSize(12) self.status_label.setFont(font) self.status_label.setFrameShape(QtGui.QFrame.Box) self.status_label.setObjectName(_fromUtf8("status_label")) self.local_time_label = QtGui.QLabel(self.frame_2) self.local_time_label.setGeometry(QtCore.QRect(290, 140, 131, 21)) font = QtGui.QFont() font.setPointSize(12) self.local_time_label.setFont(font) self.local_time_label.setFrameShape(QtGui.QFrame.Box) self.local_time_label.setText(_fromUtf8("")) self.local_time_label.setObjectName(_fromUtf8("local_time_label")) self.utc_label = QtGui.QLabel(self.frame_2) self.utc_label.setGeometry(QtCore.QRect(290, 120, 131, 21)) font = QtGui.QFont() font.setPointSize(12) self.utc_label.setFont(font) self.utc_label.setFrameShape(QtGui.QFrame.Box) self.utc_label.setText(_fromUtf8("")) self.utc_label.setObjectName(_fromUtf8("utc_label")) self.lst_label = QtGui.QLabel(self.frame_2) self.lst_label.setGeometry(QtCore.QRect(290, 100, 131, 21)) font = QtGui.QFont() font.setPointSize(12) self.lst_label.setFont(font) self.lst_label.setFrameShape(QtGui.QFrame.Box) self.lst_label.setText(_fromUtf8("")) self.lst_label.setObjectName(_fromUtf8("lst_label")) self.airmass_label = QtGui.QLabel(self.frame_2) self.airmass_label.setGeometry(QtCore.QRect(290, 80, 131, 21)) font = QtGui.QFont() font.setPointSize(12) self.airmass_label.setFont(font) self.airmass_label.setFrameShape(QtGui.QFrame.Box) self.airmass_label.setText(_fromUtf8("")) self.airmass_label.setObjectName(_fromUtf8("airmass_label")) self.az_label = QtGui.QLabel(self.frame_2) self.az_label.setGeometry(QtCore.QRect(290, 60, 131, 21)) font = QtGui.QFont() font.setPointSize(12) self.az_label.setFont(font) self.az_label.setFrameShape(QtGui.QFrame.Box) self.az_label.setText(_fromUtf8("")) self.az_label.setObjectName(_fromUtf8("az_label")) self.alt_label = QtGui.QLabel(self.frame_2) self.alt_label.setGeometry(QtCore.QRect(290, 40, 131, 21)) font = QtGui.QFont() font.setPointSize(12) self.alt_label.setFont(font) self.alt_label.setFrameShape(QtGui.QFrame.Box) self.alt_label.setText(_fromUtf8("")) self.alt_label.setObjectName(_fromUtf8("alt_label")) self.ra_label = QtGui.QLabel(self.frame_2) self.ra_label.setGeometry(QtCore.QRect(50, 40, 121, 21)) font = QtGui.QFont() font.setPointSize(12) self.ra_label.setFont(font) self.ra_label.setFrameShape(QtGui.QFrame.Box) self.ra_label.setText(_fromUtf8("")) self.ra_label.setObjectName(_fromUtf8("ra_label")) self.dec_label = QtGui.QLabel(self.frame_2) self.dec_label.setGeometry(QtCore.QRect(50, 60, 121, 21)) font = QtGui.QFont() font.setPointSize(12) self.dec_label.setFont(font) self.dec_label.setFrameShape(QtGui.QFrame.Box) self.dec_label.setText(_fromUtf8("")) self.dec_label.setObjectName(_fromUtf8("dec_label")) self.frame_3 = QtGui.QFrame(self.centralwidget) self.frame_3.setGeometry(QtCore.QRect(0, 150, 391, 521)) self.frame_3.setFrameShape(QtGui.QFrame.Box) self.frame_3.setFrameShadow(QtGui.QFrame.Sunken) self.frame_3.setObjectName(_fromUtf8("frame_3")) self.save_raw_checkBox = QtGui.QCheckBox(self.frame_3) self.save_raw_checkBox.setEnabled(False) self.save_raw_checkBox.setGeometry(QtCore.QRect(300, 70, 91, 21)) font = QtGui.QFont() font.setPointSize(12) self.save_raw_checkBox.setFont(font) self.save_raw_checkBox.setObjectName(_fromUtf8("save_raw_checkBox")) self.data_directory_lineEdit = QtGui.QLineEdit(self.frame_3) self.data_directory_lineEdit.setGeometry(QtCore.QRect(110, 40, 201, 21)) self.data_directory_lineEdit.setObjectName(_fromUtf8("data_directory_lineEdit")) self.label_14 = QtGui.QLabel(self.frame_3) self.label_14.setGeometry(QtCore.QRect(10, 40, 91, 21)) font = QtGui.QFont() font.setPointSize(12) self.label_14.setFont(font) self.label_14.setObjectName(_fromUtf8("label_14")) self.label_16 = QtGui.QLabel(self.frame_3) self.label_16.setGeometry(QtCore.QRect(20, 210, 91, 21)) font = QtGui.QFont() font.setPointSize(10) self.label_16.setFont(font) self.label_16.setObjectName(_fromUtf8("label_16")) self.label_13 = QtGui.QLabel(self.frame_3) self.label_13.setGeometry(QtCore.QRect(120, 0, 241, 41)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(18) font.setWeight(75) font.setBold(True) self.label_13.setFont(font) self.label_13.setObjectName(_fromUtf8("label_13")) self.label_15 = QtGui.QLabel(self.frame_3) self.label_15.setGeometry(QtCore.QRect(20, 170, 111, 31)) font = QtGui.QFont() font.setPointSize(10) self.label_15.setFont(font) self.label_15.setObjectName(_fromUtf8("label_15")) self.calibrate_data_checkBox = QtGui.QCheckBox(self.frame_3) self.calibrate_data_checkBox.setEnabled(False) self.calibrate_data_checkBox.setGeometry(QtCore.QRect(280, 100, 121, 21)) font = QtGui.QFont() font.setPointSize(12) self.calibrate_data_checkBox.setFont(font) self.calibrate_data_checkBox.setObjectName(_fromUtf8("calibrate_data_checkBox")) self.stop_observation_pushButton = QtGui.QPushButton(self.frame_3) self.stop_observation_pushButton.setGeometry(QtCore.QRect(200, 200, 181, 41)) font = QtGui.QFont() font.setPointSize(10) self.stop_observation_pushButton.setFont(font) self.stop_observation_pushButton.setObjectName(_fromUtf8("stop_observation_pushButton")) self.start_observation_pushButton = QtGui.QPushButton(self.frame_3) self.start_observation_pushButton.setGeometry(QtCore.QRect(200, 140, 181, 51)) font = QtGui.QFont() font.setPointSize(14) self.start_observation_pushButton.setFont(font) self.start_observation_pushButton.setObjectName(_fromUtf8("start_observation_pushButton")) self.close_pushButton = QtGui.QPushButton(self.frame_3) self.close_pushButton.setGeometry(QtCore.QRect(50, 460, 121, 41)) self.close_pushButton.setObjectName(_fromUtf8("close_pushButton")) self.search_pushButton = QtGui.QPushButton(self.frame_3) self.search_pushButton.setGeometry(QtCore.QRect(320, 40, 61, 21)) self.search_pushButton.setObjectName(_fromUtf8("search_pushButton")) self.obs_time_spinBox = QtGui.QSpinBox(self.frame_3) self.obs_time_spinBox.setGeometry(QtCore.QRect(120, 170, 71, 31)) font = QtGui.QFont() font.setPointSize(12) self.obs_time_spinBox.setFont(font) self.obs_time_spinBox.setMaximum(99999) self.obs_time_spinBox.setProperty(_fromUtf8("value"), 30) self.obs_time_spinBox.setObjectName(_fromUtf8("obs_time_spinBox")) self.remaining_time_lcdNumber = QtGui.QLCDNumber(self.frame_3) self.remaining_time_lcdNumber.setGeometry(QtCore.QRect(120, 210, 61, 21)) self.remaining_time_lcdNumber.setObjectName(_fromUtf8("remaining_time_lcdNumber")) self.frequency_tuneup_pushButton = QtGui.QPushButton(self.frame_3) self.frequency_tuneup_pushButton.setEnabled(False) self.frequency_tuneup_pushButton.setGeometry(QtCore.QRect(50, 400, 121, 51)) self.frequency_tuneup_pushButton.setObjectName(_fromUtf8("frequency_tuneup_pushButton")) self.file_name_lineEdit = QtGui.QLineEdit(self.frame_3) self.file_name_lineEdit.setEnabled(False) self.file_name_lineEdit.setGeometry(QtCore.QRect(82, 70, 211, 22)) self.file_name_lineEdit.setText(_fromUtf8("")) self.file_name_lineEdit.setObjectName(_fromUtf8("file_name_lineEdit")) self.target_lineEdit = QtGui.QLineEdit(self.frame_3) self.target_lineEdit.setGeometry(QtCore.QRect(100, 100, 171, 22)) self.target_lineEdit.setObjectName(_fromUtf8("target_lineEdit")) self.label_20 = QtGui.QLabel(self.frame_3) self.label_20.setGeometry(QtCore.QRect(10, 70, 91, 20)) font = QtGui.QFont() font.setPointSize(12) self.label_20.setFont(font) self.label_20.setObjectName(_fromUtf8("label_20")) self.label_21 = QtGui.QLabel(self.frame_3) self.label_21.setGeometry(QtCore.QRect(10, 100, 91, 17)) font = QtGui.QFont() font.setPointSize(12) self.label_21.setFont(font) self.label_21.setObjectName(_fromUtf8("label_21")) self.frame_6 = QtGui.QFrame(self.frame_3) self.frame_6.setGeometry(QtCore.QRect(210, 390, 141, 111)) self.frame_6.setFrameShape(QtGui.QFrame.StyledPanel) self.frame_6.setFrameShadow(QtGui.QFrame.Raised) self.frame_6.setObjectName(_fromUtf8("frame_6")) self.subtract_sky_radioButton = QtGui.QRadioButton(self.frame_6) self.subtract_sky_radioButton.setGeometry(QtCore.QRect(20, 0, 111, 31)) font = QtGui.QFont() font.setPointSize(12) self.subtract_sky_radioButton.setFont(font) self.subtract_sky_radioButton.setChecked(False) self.subtract_sky_radioButton.setAutoExclusive(False) self.subtract_sky_radioButton.setObjectName(_fromUtf8("subtract_sky_radioButton")) self.flat_field_radioButton = QtGui.QRadioButton(self.frame_6) self.flat_field_radioButton.setEnabled(True) self.flat_field_radioButton.setGeometry(QtCore.QRect(20, 20, 111, 31)) font = QtGui.QFont() font.setPointSize(12) self.flat_field_radioButton.setFont(font) self.flat_field_radioButton.setCheckable(True) self.flat_field_radioButton.setChecked(False) self.flat_field_radioButton.setAutoExclusive(False) self.flat_field_radioButton.setObjectName(_fromUtf8("flat_field_radioButton")) self.int_time_spinBox = QtGui.QSpinBox(self.frame_6) self.int_time_spinBox.setGeometry(QtCore.QRect(10, 50, 51, 22)) self.int_time_spinBox.setMaximum(9999) self.int_time_spinBox.setProperty(_fromUtf8("value"), 1) self.int_time_spinBox.setObjectName(_fromUtf8("int_time_spinBox")) self.label_19 = QtGui.QLabel(self.frame_6) self.label_19.setGeometry(QtCore.QRect(60, 50, 81, 21)) font = QtGui.QFont() font.setPointSize(10) self.label_19.setFont(font) self.label_19.setObjectName(_fromUtf8("label_19")) self.options_radioButton = QtGui.QRadioButton(self.frame_6) self.options_radioButton.setGeometry(QtCore.QRect(10, 80, 131, 21)) font = QtGui.QFont() font.setPointSize(9) self.options_radioButton.setFont(font) self.options_radioButton.setObjectName(_fromUtf8("options_radioButton")) self.textEdit = QtGui.QTextEdit(self.frame_3) self.textEdit.setGeometry(QtCore.QRect(10, 260, 371, 101)) self.textEdit.setObjectName(_fromUtf8("textEdit")) self.label_27 = QtGui.QLabel(self.frame_3) self.label_27.setGeometry(QtCore.QRect(10, 240, 151, 17)) self.label_27.setObjectName(_fromUtf8("label_27")) self.update_description = QtGui.QPushButton(self.frame_3) self.update_description.setGeometry(QtCore.QRect(10, 360, 141, 31)) self.update_description.setObjectName(_fromUtf8("update_description")) self.continuous = QtGui.QCheckBox(self.frame_3) self.continuous.setGeometry(QtCore.QRect(20, 130, 181, 41)) self.continuous.setObjectName(_fromUtf8("continuous")) self.frame_4 = QtGui.QFrame(self.centralwidget) self.frame_4.setGeometry(QtCore.QRect(390, 180, 471, 491)) self.frame_4.setFrameShape(QtGui.QFrame.Box) self.frame_4.setFrameShadow(QtGui.QFrame.Sunken) self.frame_4.setObjectName(_fromUtf8("frame_4")) self.tv_image = QtGui.QGraphicsView(self.frame_4) self.tv_image.setGeometry(QtCore.QRect(10, 10, 444, 464)) self.tv_image.setMouseTracking(True) self.tv_image.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff) self.tv_image.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff) self.tv_image.setAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignTop) self.tv_image.setObjectName(_fromUtf8("tv_image")) self.frame_5 = QtGui.QFrame(self.centralwidget) self.frame_5.setGeometry(QtCore.QRect(0, 670, 861, 231)) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.frame_5.sizePolicy().hasHeightForWidth()) self.frame_5.setSizePolicy(sizePolicy) self.frame_5.setFrameShape(QtGui.QFrame.Box) self.frame_5.setFrameShadow(QtGui.QFrame.Sunken) self.frame_5.setObjectName(_fromUtf8("frame_5")) self.spectra_plot = MPL_Widget(self.frame_5) self.spectra_plot.setGeometry(QtCore.QRect(250, 0, 491, 241)) self.spectra_plot.setObjectName(_fromUtf8("spectra_plot")) self.pixel_number_label = QtGui.QLabel(self.frame_5) self.pixel_number_label.setGeometry(QtCore.QRect(40, 50, 131, 31)) self.pixel_number_label.setFrameShape(QtGui.QFrame.NoFrame) self.pixel_number_label.setAlignment(QtCore.Qt.AlignCenter) self.pixel_number_label.setObjectName(_fromUtf8("pixel_number_label")) self.pixelpath = QtGui.QLabel(self.frame_5) self.pixelpath.setGeometry(QtCore.QRect(40, 90, 141, 31)) font = QtGui.QFont() font.setPointSize(14) self.pixelpath.setFont(font) self.pixelpath.setFrameShape(QtGui.QFrame.Box) self.pixelpath.setText(_fromUtf8("")) self.pixelpath.setObjectName(_fromUtf8("pixelpath")) self.row = QtGui.QLabel(self.frame_5) self.row.setGeometry(QtCore.QRect(40, 150, 61, 31)) self.row.setFrameShape(QtGui.QFrame.Box) self.row.setText(_fromUtf8("")) self.row.setObjectName(_fromUtf8("row")) self.label_32 = QtGui.QLabel(self.frame_5) self.label_32.setGeometry(QtCore.QRect(40, 130, 61, 16)) self.label_32.setObjectName(_fromUtf8("label_32")) self.col = QtGui.QLabel(self.frame_5) self.col.setGeometry(QtCore.QRect(130, 150, 61, 31)) self.col.setFrameShape(QtGui.QFrame.Box) self.col.setText(_fromUtf8("")) self.col.setObjectName(_fromUtf8("col")) self.label_34 = QtGui.QLabel(self.frame_5) self.label_34.setGeometry(QtCore.QRect(130, 130, 61, 16)) self.label_34.setObjectName(_fromUtf8("label_34")) self.groupBox = QtGui.QGroupBox(self.centralwidget) self.groupBox.setGeometry(QtCore.QRect(870, 10, 171, 191)) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.drag_select_radioButton = QtGui.QRadioButton(self.groupBox) self.drag_select_radioButton.setGeometry(QtCore.QRect(10, 30, 141, 31)) self.drag_select_radioButton.setAutoExclusive(False) self.drag_select_radioButton.setObjectName(_fromUtf8("drag_select_radioButton")) self.mode_buttonGroup = QtGui.QButtonGroup(arcons) self.mode_buttonGroup.setObjectName(_fromUtf8("mode_buttonGroup")) self.mode_buttonGroup.addButton(self.drag_select_radioButton) self.rect_select_radioButton = QtGui.QRadioButton(self.groupBox) self.rect_select_radioButton.setGeometry(QtCore.QRect(10, 70, 161, 21)) self.rect_select_radioButton.setChecked(True) self.rect_select_radioButton.setAutoExclusive(False) self.rect_select_radioButton.setObjectName(_fromUtf8("rect_select_radioButton")) self.mode_buttonGroup.addButton(self.rect_select_radioButton) self.rect_x_spinBox = QtGui.QSpinBox(self.groupBox) self.rect_x_spinBox.setGeometry(QtCore.QRect(30, 90, 57, 31)) self.rect_x_spinBox.setMinimum(1) self.rect_x_spinBox.setMaximum(32) self.rect_x_spinBox.setProperty(_fromUtf8("value"), 1) self.rect_x_spinBox.setObjectName(_fromUtf8("rect_x_spinBox")) self.rect_y_spinBox = QtGui.QSpinBox(self.groupBox) self.rect_y_spinBox.setGeometry(QtCore.QRect(110, 90, 57, 31)) self.rect_y_spinBox.setMinimum(1) self.rect_y_spinBox.setMaximum(32) self.rect_y_spinBox.setProperty(_fromUtf8("value"), 1) self.rect_y_spinBox.setObjectName(_fromUtf8("rect_y_spinBox")) self.label_23 = QtGui.QLabel(self.groupBox) self.label_23.setGeometry(QtCore.QRect(20, 90, 16, 31)) self.label_23.setObjectName(_fromUtf8("label_23")) self.label_24 = QtGui.QLabel(self.groupBox) self.label_24.setGeometry(QtCore.QRect(100, 90, 16, 31)) self.label_24.setObjectName(_fromUtf8("label_24")) self.circ_select_radioButton = QtGui.QRadioButton(self.groupBox) self.circ_select_radioButton.setGeometry(QtCore.QRect(10, 130, 151, 21)) self.circ_select_radioButton.setAutoExclusive(False) self.circ_select_radioButton.setObjectName(_fromUtf8("circ_select_radioButton")) self.mode_buttonGroup.addButton(self.circ_select_radioButton) self.circ_r_spinBox = QtGui.QSpinBox(self.groupBox) self.circ_r_spinBox.setGeometry(QtCore.QRect(40, 150, 57, 31)) self.circ_r_spinBox.setMinimum(0) self.circ_r_spinBox.setMaximum(16) self.circ_r_spinBox.setProperty(_fromUtf8("value"), 0) self.circ_r_spinBox.setObjectName(_fromUtf8("circ_r_spinBox")) self.label_25 = QtGui.QLabel(self.groupBox) self.label_25.setGeometry(QtCore.QRect(30, 150, 16, 31)) self.label_25.setObjectName(_fromUtf8("label_25")) self.choose_beamimage = QtGui.QPushButton(self.centralwidget) self.choose_beamimage.setGeometry(QtCore.QRect(1050, 770, 171, 41)) self.choose_beamimage.setObjectName(_fromUtf8("choose_beamimage")) self.choose_bindir = QtGui.QPushButton(self.centralwidget) self.choose_bindir.setGeometry(QtCore.QRect(1050, 740, 171, 41)) self.choose_bindir.setObjectName(_fromUtf8("choose_bindir")) self.brightpix = QtGui.QSpinBox(self.centralwidget) self.brightpix.setGeometry(QtCore.QRect(880, 250, 57, 25)) self.brightpix.setMaximum(2024) self.brightpix.setProperty(_fromUtf8("value"), 50) self.brightpix.setObjectName(_fromUtf8("brightpix")) self.label_22 = QtGui.QLabel(self.centralwidget) self.label_22.setGeometry(QtCore.QRect(940, 250, 121, 21)) self.label_22.setObjectName(_fromUtf8("label_22")) self.takesky = QtGui.QPushButton(self.centralwidget) self.takesky.setGeometry(QtCore.QRect(1050, 700, 171, 51)) self.takesky.setObjectName(_fromUtf8("takesky")) self.frame_7 = QtGui.QFrame(self.centralwidget) self.frame_7.setGeometry(QtCore.QRect(860, 390, 181, 511)) self.frame_7.setFrameShape(QtGui.QFrame.Box) self.frame_7.setFrameShadow(QtGui.QFrame.Sunken) self.frame_7.setObjectName(_fromUtf8("frame_7")) self.label_36 = QtGui.QLabel(self.frame_7) self.label_36.setGeometry(QtCore.QRect(30, 10, 141, 41)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(18) font.setWeight(75) font.setBold(True) self.label_36.setFont(font) self.label_36.setObjectName(_fromUtf8("label_36")) self.cal_time = QtGui.QSpinBox(self.frame_7) self.cal_time.setGeometry(QtCore.QRect(20, 180, 57, 25)) self.cal_time.setMaximum(10000) self.cal_time.setObjectName(_fromUtf8("cal_time")) self.cal_angle = QtGui.QDoubleSpinBox(self.frame_7) self.cal_angle.setGeometry(QtCore.QRect(90, 180, 62, 25)) self.cal_angle.setMaximum(360.0) self.cal_angle.setObjectName(_fromUtf8("cal_angle")) self.goto_angle = QtGui.QDoubleSpinBox(self.frame_7) self.goto_angle.setGeometry(QtCore.QRect(90, 240, 62, 25)) self.goto_angle.setObjectName(_fromUtf8("goto_angle")) self.label_37 = QtGui.QLabel(self.frame_7) self.label_37.setGeometry(QtCore.QRect(90, 220, 62, 17)) self.label_37.setObjectName(_fromUtf8("label_37")) self.label_38 = QtGui.QLabel(self.frame_7) self.label_38.setGeometry(QtCore.QRect(20, 160, 51, 21)) font = QtGui.QFont() font.setPointSize(10) self.label_38.setFont(font) self.label_38.setObjectName(_fromUtf8("label_38")) self.label_39 = QtGui.QLabel(self.frame_7) self.label_39.setGeometry(QtCore.QRect(90, 160, 61, 21)) font = QtGui.QFont() font.setPointSize(10) self.label_39.setFont(font) self.label_39.setObjectName(_fromUtf8("label_39")) self.do_cal_button = QtGui.QPushButton(self.frame_7) self.do_cal_button.setGeometry(QtCore.QRect(10, 120, 151, 41)) self.do_cal_button.setObjectName(_fromUtf8("do_cal_button")) self.go_home_button = QtGui.QPushButton(self.frame_7) self.go_home_button.setGeometry(QtCore.QRect(10, 61, 151, 41)) self.go_home_button.setObjectName(_fromUtf8("go_home_button")) self.goto_button = QtGui.QPushButton(self.frame_7) self.goto_button.setGeometry(QtCore.QRect(10, 220, 71, 51)) self.goto_button.setObjectName(_fromUtf8("goto_button")) self.label_40 = QtGui.QLabel(self.frame_7) self.label_40.setGeometry(QtCore.QRect(20, 310, 151, 41)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(18) font.setWeight(75) font.setBold(True) self.label_40.setFont(font) self.label_40.setObjectName(_fromUtf8("label_40")) self.laser_toggle = QtGui.QCheckBox(self.frame_7) self.laser_toggle.setGeometry(QtCore.QRect(20, 270, 111, 41)) self.laser_toggle.setObjectName(_fromUtf8("laser_toggle")) self.laser_label = QtGui.QLabel(self.frame_7) self.laser_label.setGeometry(QtCore.QRect(120, 270, 51, 41)) self.laser_label.setObjectName(_fromUtf8("laser_label")) self.filter1 = QtGui.QRadioButton(self.frame_7) self.filter1.setGeometry(QtCore.QRect(20, 350, 102, 21)) self.filter1.setAutoExclusive(False) self.filter1.setObjectName(_fromUtf8("filter1")) self.filter_buttonGroup = QtGui.QButtonGroup(arcons) self.filter_buttonGroup.setObjectName(_fromUtf8("filter_buttonGroup")) self.filter_buttonGroup.addButton(self.filter1) self.filter2 = QtGui.QRadioButton(self.frame_7) self.filter2.setGeometry(QtCore.QRect(20, 370, 102, 21)) self.filter2.setAutoExclusive(False) self.filter2.setObjectName(_fromUtf8("filter2")) self.filter_buttonGroup.addButton(self.filter2) self.filter3 = QtGui.QRadioButton(self.frame_7) self.filter3.setGeometry(QtCore.QRect(20, 390, 102, 21)) self.filter3.setAutoExclusive(False) self.filter3.setObjectName(_fromUtf8("filter3")) self.filter_buttonGroup.addButton(self.filter3) self.filter4 = QtGui.QRadioButton(self.frame_7) self.filter4.setGeometry(QtCore.QRect(20, 410, 102, 21)) self.filter4.setAutoExclusive(False) self.filter4.setObjectName(_fromUtf8("filter4")) self.filter_buttonGroup.addButton(self.filter4) self.filter5 = QtGui.QRadioButton(self.frame_7) self.filter5.setGeometry(QtCore.QRect(20, 430, 102, 21)) self.filter5.setAutoExclusive(False) self.filter5.setObjectName(_fromUtf8("filter5")) self.filter_buttonGroup.addButton(self.filter5) self.filter6 = QtGui.QRadioButton(self.frame_7) self.filter6.setGeometry(QtCore.QRect(20, 450, 102, 21)) self.filter6.setChecked(True) self.filter6.setAutoExclusive(False) self.filter6.setObjectName(_fromUtf8("filter6")) self.filter_buttonGroup.addButton(self.filter6) self.label_26 = QtGui.QLabel(self.centralwidget) self.label_26.setGeometry(QtCore.QRect(1060, 810, 101, 17)) self.label_26.setObjectName(_fromUtf8("label_26")) self.label_17 = QtGui.QLabel(self.centralwidget) self.label_17.setGeometry(QtCore.QRect(1060, 830, 46, 13)) self.label_17.setObjectName(_fromUtf8("label_17")) self.label_18 = QtGui.QLabel(self.centralwidget) self.label_18.setGeometry(QtCore.QRect(1060, 863, 46, 20)) self.label_18.setObjectName(_fromUtf8("label_18")) self.RA_lineEdit = QtGui.QLineEdit(self.centralwidget) self.RA_lineEdit.setEnabled(False) self.RA_lineEdit.setGeometry(QtCore.QRect(1060, 840, 113, 20)) self.RA_lineEdit.setObjectName(_fromUtf8("RA_lineEdit")) self.Dec_lineEdit = QtGui.QLineEdit(self.centralwidget) self.Dec_lineEdit.setEnabled(False) self.Dec_lineEdit.setGeometry(QtCore.QRect(1060, 880, 113, 20)) self.Dec_lineEdit.setObjectName(_fromUtf8("Dec_lineEdit")) self.label_41 = QtGui.QLabel(self.centralwidget) self.label_41.setGeometry(QtCore.QRect(900, 210, 141, 41)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(18) font.setWeight(75) font.setBold(True) self.label_41.setFont(font) self.label_41.setObjectName(_fromUtf8("label_41")) self.vmin = QtGui.QSpinBox(self.centralwidget) self.vmin.setGeometry(QtCore.QRect(886, 350, 61, 25)) self.vmin.setMaximum(1000000) self.vmin.setProperty(_fromUtf8("value"), 100) self.vmin.setObjectName(_fromUtf8("vmin")) self.vmax = QtGui.QSpinBox(self.centralwidget) self.vmax.setGeometry(QtCore.QRect(960, 350, 57, 25)) self.vmax.setMaximum(1000000) self.vmax.setProperty(_fromUtf8("value"), 1500) self.vmax.setObjectName(_fromUtf8("vmax")) self.label_28 = QtGui.QLabel(self.centralwidget) self.label_28.setGeometry(QtCore.QRect(940, 280, 62, 17)) self.label_28.setObjectName(_fromUtf8("label_28")) self.contrast_mode = QtGui.QCheckBox(self.centralwidget) self.contrast_mode.setGeometry(QtCore.QRect(880, 300, 161, 31)) self.contrast_mode.setObjectName(_fromUtf8("contrast_mode")) self.label_29 = QtGui.QLabel(self.centralwidget) self.label_29.setGeometry(QtCore.QRect(890, 330, 62, 17)) font = QtGui.QFont() font.setPointSize(12) self.label_29.setFont(font) self.label_29.setObjectName(_fromUtf8("label_29")) self.label_30 = QtGui.QLabel(self.centralwidget) self.label_30.setGeometry(QtCore.QRect(960, 330, 62, 17)) font = QtGui.QFont() font.setPointSize(11) self.label_30.setFont(font) self.label_30.setObjectName(_fromUtf8("label_30")) arcons.setCentralWidget(self.centralwidget) self.statusbar = QtGui.QStatusBar(arcons) self.statusbar.setObjectName(_fromUtf8("statusbar")) arcons.setStatusBar(self.statusbar) self.menubar = QtGui.QMenuBar(arcons) self.menubar.setGeometry(QtCore.QRect(0, 0, 860, 22)) self.menubar.setObjectName(_fromUtf8("menubar")) arcons.setMenuBar(self.menubar) self.retranslateUi(arcons) QtCore.QObject.connect(self.close_pushButton, QtCore.SIGNAL(_fromUtf8("clicked()")), arcons.close) QtCore.QMetaObject.connectSlotsByName(arcons) def retranslateUi(self, arcons): arcons.setWindowTitle(QtGui.QApplication.translate("arcons", "ARCONS", None, QtGui.QApplication.UnicodeUTF8)) self.label.setText(QtGui.QApplication.translate("arcons", "ARCONS Status", None, QtGui.QApplication.UnicodeUTF8)) self.label_3.setText(QtGui.QApplication.translate("arcons", "Array Temp", None, QtGui.QApplication.UnicodeUTF8)) self.label_4.setText(QtGui.QApplication.translate("arcons", "Pulse Tube Temp", None, QtGui.QApplication.UnicodeUTF8)) self.open_shutter_radioButton.setText(QtGui.QApplication.translate("arcons", "Open Shutter", None, QtGui.QApplication.UnicodeUTF8)) self.cycle_fridge_radioButton.setText(QtGui.QApplication.translate("arcons", "Cycle Fridge", None, QtGui.QApplication.UnicodeUTF8)) self.label_2.setText(QtGui.QApplication.translate("arcons", "Telescope Status", None, QtGui.QApplication.UnicodeUTF8)) self.label_5.setText(QtGui.QApplication.translate("arcons", "RA", None, QtGui.QApplication.UnicodeUTF8)) self.label_6.setText(QtGui.QApplication.translate("arcons", "Dec", None, QtGui.QApplication.UnicodeUTF8)) self.label_7.setText(QtGui.QApplication.translate("arcons", "UTC", None, QtGui.QApplication.UnicodeUTF8)) self.label_8.setText(QtGui.QApplication.translate("arcons", "Altitude", None, QtGui.QApplication.UnicodeUTF8)) self.label_9.setText(QtGui.QApplication.translate("arcons", "Azimuth", None, QtGui.QApplication.UnicodeUTF8)) self.label_10.setText(QtGui.QApplication.translate("arcons", "Local Time", None, QtGui.QApplication.UnicodeUTF8)) self.label_11.setText(QtGui.QApplication.translate("arcons", "Airmass", None, QtGui.QApplication.UnicodeUTF8)) self.label_12.setText(QtGui.QApplication.translate("arcons", "LST", None, QtGui.QApplication.UnicodeUTF8)) self.status_label.setText(QtGui.QApplication.translate("arcons", "Status", None, QtGui.QApplication.UnicodeUTF8)) self.save_raw_checkBox.setText(QtGui.QApplication.translate("arcons", " Save Raw", None, QtGui.QApplication.UnicodeUTF8)) self.label_14.setText(QtGui.QApplication.translate("arcons", "Data Directory:", None, QtGui.QApplication.UnicodeUTF8)) self.label_16.setText(QtGui.QApplication.translate("arcons", "Remaining time:", None, QtGui.QApplication.UnicodeUTF8)) self.label_13.setText(QtGui.QApplication.translate("arcons", "SDR Control", None, QtGui.QApplication.UnicodeUTF8)) self.label_15.setText(QtGui.QApplication.translate("arcons", "Exposure Time:", None, QtGui.QApplication.UnicodeUTF8)) self.calibrate_data_checkBox.setText(QtGui.QApplication.translate("arcons", "Calibrate Data", None, QtGui.QApplication.UnicodeUTF8)) self.stop_observation_pushButton.setText(QtGui.QApplication.translate("arcons", "Stop Observation", None, QtGui.QApplication.UnicodeUTF8)) self.start_observation_pushButton.setText(QtGui.QApplication.translate("arcons", "Start Observation", None, QtGui.QApplication.UnicodeUTF8)) self.close_pushButton.setText(QtGui.QApplication.translate("arcons", "Close", None, QtGui.QApplication.UnicodeUTF8)) self.search_pushButton.setText(QtGui.QApplication.translate("arcons", "Browse", None, QtGui.QApplication.UnicodeUTF8)) self.frequency_tuneup_pushButton.setText(QtGui.QApplication.translate("arcons", "Frequency \n" "Tune-up", None, QtGui.QApplication.UnicodeUTF8)) self.target_lineEdit.setText(QtGui.QApplication.translate("arcons", "Target", None, QtGui.QApplication.UnicodeUTF8)) self.label_20.setText(QtGui.QApplication.translate("arcons", "File name:", None, QtGui.QApplication.UnicodeUTF8)) self.label_21.setText(QtGui.QApplication.translate("arcons", "Target name:", None, QtGui.QApplication.UnicodeUTF8)) self.subtract_sky_radioButton.setText(QtGui.QApplication.translate("arcons", "Subtract Sky", None, QtGui.QApplication.UnicodeUTF8)) self.flat_field_radioButton.setText(QtGui.QApplication.translate("arcons", "Flat Field", None, QtGui.QApplication.UnicodeUTF8)) self.label_19.setText(QtGui.QApplication.translate("arcons", " Integration (s)", None, QtGui.QApplication.UnicodeUTF8)) self.options_radioButton.setText(QtGui.QApplication.translate("arcons", "Expand Controls-->", None, QtGui.QApplication.UnicodeUTF8)) self.label_27.setText(QtGui.QApplication.translate("arcons", "Additional Header Info:", None, QtGui.QApplication.UnicodeUTF8)) self.update_description.setText(QtGui.QApplication.translate("arcons", "Update in Header", None, QtGui.QApplication.UnicodeUTF8)) self.continuous.setText(QtGui.QApplication.translate("arcons", " Continuous Observing", None, QtGui.QApplication.UnicodeUTF8)) self.pixel_number_label.setText(QtGui.QApplication.translate("arcons", "Displaying Plot for\n" " Pixel Number:", None, QtGui.QApplication.UnicodeUTF8)) self.label_32.setText(QtGui.QApplication.translate("arcons", "Row:", None, QtGui.QApplication.UnicodeUTF8)) self.label_34.setText(QtGui.QApplication.translate("arcons", "Col:", None, QtGui.QApplication.UnicodeUTF8)) self.groupBox.setTitle(QtGui.QApplication.translate("arcons", "Pixel Selection Mode", None, QtGui.QApplication.UnicodeUTF8)) self.drag_select_radioButton.setText(QtGui.QApplication.translate("arcons", "Click && Drag", None, QtGui.QApplication.UnicodeUTF8)) self.rect_select_radioButton.setText(QtGui.QApplication.translate("arcons", "Single Click Rectangle", None, QtGui.QApplication.UnicodeUTF8)) self.label_23.setText(QtGui.QApplication.translate("arcons", "x", None, QtGui.QApplication.UnicodeUTF8)) self.label_24.setText(QtGui.QApplication.translate("arcons", "y", None, QtGui.QApplication.UnicodeUTF8)) self.circ_select_radioButton.setText(QtGui.QApplication.translate("arcons", "Single Click Circle", None, QtGui.QApplication.UnicodeUTF8)) self.label_25.setText(QtGui.QApplication.translate("arcons", "r", None, QtGui.QApplication.UnicodeUTF8)) self.choose_beamimage.setText(QtGui.QApplication.translate("arcons", "Choose Beamimage", None, QtGui.QApplication.UnicodeUTF8)) self.choose_bindir.setText(QtGui.QApplication.translate("arcons", "Choose Bin Dir.", None, QtGui.QApplication.UnicodeUTF8)) self.label_22.setText(QtGui.QApplication.translate("arcons", "Saturated Pix", None, QtGui.QApplication.UnicodeUTF8)) self.takesky.setText(QtGui.QApplication.translate("arcons", "Take Sky Exposure", None, QtGui.QApplication.UnicodeUTF8)) self.label_36.setText(QtGui.QApplication.translate("arcons", "Calibration", None, QtGui.QApplication.UnicodeUTF8)) self.label_37.setText(QtGui.QApplication.translate("arcons", "Angle", None, QtGui.QApplication.UnicodeUTF8)) self.label_38.setText(QtGui.QApplication.translate("arcons", "Cal Time:", None, QtGui.QApplication.UnicodeUTF8)) self.label_39.setText(QtGui.QApplication.translate("arcons", "Cal Angle:", None, QtGui.QApplication.UnicodeUTF8)) self.do_cal_button.setText(QtGui.QApplication.translate("arcons", "Do Cal", None, QtGui.QApplication.UnicodeUTF8)) self.go_home_button.setText(QtGui.QApplication.translate("arcons", "Go Home", None, QtGui.QApplication.UnicodeUTF8)) self.goto_button.setText(QtGui.QApplication.translate("arcons", "GoTo", None, QtGui.QApplication.UnicodeUTF8)) self.label_40.setText(QtGui.QApplication.translate("arcons", "Filter Wheel", None, QtGui.QApplication.UnicodeUTF8)) self.laser_toggle.setText(QtGui.QApplication.translate("arcons", "Laser Box", None, QtGui.QApplication.UnicodeUTF8)) self.laser_label.setText(QtGui.QApplication.translate("arcons", "OFF", None, QtGui.QApplication.UnicodeUTF8)) self.filter1.setText(QtGui.QApplication.translate("arcons", "Filter 1", None, QtGui.QApplication.UnicodeUTF8)) self.filter2.setText(QtGui.QApplication.translate("arcons", "Filter 2", None, QtGui.QApplication.UnicodeUTF8)) self.filter3.setText(QtGui.QApplication.translate("arcons", "Filter 3", None, QtGui.QApplication.UnicodeUTF8)) self.filter4.setText(QtGui.QApplication.translate("arcons", "Filter 4", None, QtGui.QApplication.UnicodeUTF8)) self.filter5.setText(QtGui.QApplication.translate("arcons", "Filter 5", None, QtGui.QApplication.UnicodeUTF8)) self.filter6.setText(QtGui.QApplication.translate("arcons", "Filter 6", None, QtGui.QApplication.UnicodeUTF8)) self.label_26.setText(QtGui.QApplication.translate("arcons", "Testing Junk", None, QtGui.QApplication.UnicodeUTF8)) self.label_17.setText(QtGui.QApplication.translate("arcons", "RA", None, QtGui.QApplication.UnicodeUTF8)) self.label_18.setText(QtGui.QApplication.translate("arcons", "Dec", None, QtGui.QApplication.UnicodeUTF8)) self.RA_lineEdit.setText(QtGui.QApplication.translate("arcons", "0.0", None, QtGui.QApplication.UnicodeUTF8)) self.Dec_lineEdit.setText(QtGui.QApplication.translate("arcons", "0.0", None, QtGui.QApplication.UnicodeUTF8)) self.label_41.setText(QtGui.QApplication.translate("arcons", "Contrast", None, QtGui.QApplication.UnicodeUTF8)) self.label_28.setText(QtGui.QApplication.translate("arcons", "or", None, QtGui.QApplication.UnicodeUTF8)) self.contrast_mode.setText(QtGui.QApplication.translate("arcons", "Manually", None, QtGui.QApplication.UnicodeUTF8)) self.label_29.setText(QtGui.QApplication.translate("arcons", "Min", None, QtGui.QApplication.UnicodeUTF8)) self.label_30.setText(QtGui.QApplication.translate("arcons", "Max", None, QtGui.QApplication.UnicodeUTF8))
def setupUi(self, MainWindow): MainWindow.setObjectName(_fromUtf8("MainWindow")) MainWindow.resize(715, 639) MainWindow.setMinimumSize(QtCore.QSize(680, 520)) self.centralwidget = QtGui.QWidget(MainWindow) self.centralwidget.setObjectName(_fromUtf8("centralwidget")) self.tabWidget = QtGui.QTabWidget(self.centralwidget) self.tabWidget.setGeometry(QtCore.QRect(20, 0, 691, 601)) self.tabWidget.setMinimumSize(QtCore.QSize(640, 480)) self.tabWidget.setObjectName(_fromUtf8("tabWidget")) self.mainTab = QtGui.QWidget() self.mainTab.setObjectName(_fromUtf8("mainTab")) self.groupBox = QtGui.QGroupBox(self.mainTab) self.groupBox.setGeometry(QtCore.QRect(0, 0, 681, 571)) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth()) self.groupBox.setSizePolicy(sizePolicy) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.label = QtGui.QLabel(self.groupBox) self.label.setGeometry(QtCore.QRect(0, 10, 361, 251)) self.label.setFrameShape(QtGui.QFrame.NoFrame) self.label.setFrameShadow(QtGui.QFrame.Sunken) self.label.setText(_fromUtf8("")) self.label.setPixmap(QtGui.QPixmap(_fromUtf8("../CPW/0.png"))) self.label.setScaledContents(False) self.label.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft) self.label.setObjectName(_fromUtf8("label")) self.wEdit = QtGui.QLineEdit(self.groupBox) self.wEdit.setGeometry(QtCore.QRect(120, 20, 71, 21)) self.wEdit.setObjectName(_fromUtf8("wEdit")) self.hEdit = QtGui.QLineEdit(self.groupBox) self.hEdit.setGeometry(QtCore.QRect(250, 160, 91, 21)) self.hEdit.setObjectName(_fromUtf8("hEdit")) self.eEdit = QtGui.QLineEdit(self.groupBox) self.eEdit.setGeometry(QtCore.QRect(130, 160, 51, 21)) self.eEdit.setObjectName(_fromUtf8("eEdit")) self.tEdit = QtGui.QLineEdit(self.groupBox) self.tEdit.setGeometry(QtCore.QRect(250, 90, 91, 21)) self.tEdit.setObjectName(_fromUtf8("tEdit")) self.label_16 = QtGui.QLabel(self.groupBox) self.label_16.setGeometry(QtCore.QRect(350, 90, 16, 16)) self.label_16.setAlignment(QtCore.Qt.AlignCenter) self.label_16.setObjectName(_fromUtf8("label_16")) self.sEdit = QtGui.QLineEdit(self.groupBox) self.sEdit.setGeometry(QtCore.QRect(170, 50, 61, 21)) self.sEdit.setObjectName(_fromUtf8("sEdit")) self.tgEdit = QtGui.QLineEdit(self.groupBox) self.tgEdit.setGeometry(QtCore.QRect(90, 210, 109, 21)) font = QtGui.QFont() font.setBold(False) font.setWeight(50) self.tgEdit.setFont(font) self.tgEdit.setObjectName(_fromUtf8("tgEdit")) self.label_20 = QtGui.QLabel(self.groupBox) self.label_20.setGeometry(QtCore.QRect(200, 20, 16, 16)) self.label_20.setAlignment(QtCore.Qt.AlignCenter) self.label_20.setObjectName(_fromUtf8("label_20")) self.label_17 = QtGui.QLabel(self.groupBox) self.label_17.setGeometry(QtCore.QRect(350, 160, 16, 16)) self.label_17.setAlignment(QtCore.Qt.AlignCenter) self.label_17.setObjectName(_fromUtf8("label_17")) self.label_15 = QtGui.QLabel(self.groupBox) self.label_15.setGeometry(QtCore.QRect(240, 50, 16, 16)) self.label_15.setAlignment(QtCore.Qt.AlignCenter) self.label_15.setObjectName(_fromUtf8("label_15")) self.label_50 = QtGui.QLabel(self.groupBox) self.label_50.setGeometry(QtCore.QRect(60, 210, 29, 16)) self.label_50.setObjectName(_fromUtf8("label_50")) self.groupBox_3 = QtGui.QGroupBox(self.groupBox) self.groupBox_3.setGeometry(QtCore.QRect(390, 200, 251, 160)) self.groupBox_3.setObjectName(_fromUtf8("groupBox_3")) self.gridLayout = QtGui.QGridLayout(self.groupBox_3) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.label_28 = QtGui.QLabel(self.groupBox_3) self.label_28.setAlignment(QtCore.Qt.AlignCenter) self.label_28.setObjectName(_fromUtf8("label_28")) self.gridLayout.addWidget(self.label_28, 2, 2, 1, 1) self.f0Edit = QtGui.QLineEdit(self.groupBox_3) self.f0Edit.setObjectName(_fromUtf8("f0Edit")) self.gridLayout.addWidget(self.f0Edit, 0, 1, 1, 1) self.label_32 = QtGui.QLabel(self.groupBox_3) self.label_32.setAlignment(QtCore.Qt.AlignCenter) self.label_32.setObjectName(_fromUtf8("label_32")) self.gridLayout.addWidget(self.label_32, 1, 2, 1, 1) self.label_34 = QtGui.QLabel(self.groupBox_3) self.label_34.setAlignment(QtCore.Qt.AlignCenter) self.label_34.setObjectName(_fromUtf8("label_34")) self.gridLayout.addWidget(self.label_34, 3, 2, 1, 1) self.label_44 = QtGui.QLabel(self.groupBox_3) self.label_44.setAlignment(QtCore.Qt.AlignCenter) self.label_44.setObjectName(_fromUtf8("label_44")) self.gridLayout.addWidget(self.label_44, 0, 2, 1, 1) self.CEdit = QtGui.QLineEdit(self.groupBox_3) self.CEdit.setObjectName(_fromUtf8("CEdit")) self.gridLayout.addWidget(self.CEdit, 2, 1, 1, 1) self.label_27 = QtGui.QLabel(self.groupBox_3) self.label_27.setAlignment(QtCore.Qt.AlignCenter) self.label_27.setObjectName(_fromUtf8("label_27")) self.gridLayout.addWidget(self.label_27, 2, 0, 1, 1) self.label_29 = QtGui.QLabel(self.groupBox_3) self.label_29.setAlignment(QtCore.Qt.AlignCenter) self.label_29.setObjectName(_fromUtf8("label_29")) self.gridLayout.addWidget(self.label_29, 1, 0, 1, 1) self.REdit = QtGui.QLineEdit(self.groupBox_3) self.REdit.setObjectName(_fromUtf8("REdit")) self.gridLayout.addWidget(self.REdit, 3, 1, 1, 1) self.label_30 = QtGui.QLabel(self.groupBox_3) self.label_30.setAlignment(QtCore.Qt.AlignCenter) self.label_30.setObjectName(_fromUtf8("label_30")) self.gridLayout.addWidget(self.label_30, 0, 0, 1, 1) self.LEdit = QtGui.QLineEdit(self.groupBox_3) self.LEdit.setObjectName(_fromUtf8("LEdit")) self.gridLayout.addWidget(self.LEdit, 1, 1, 1, 1) self.label_33 = QtGui.QLabel(self.groupBox_3) self.label_33.setAlignment(QtCore.Qt.AlignCenter) self.label_33.setObjectName(_fromUtf8("label_33")) self.gridLayout.addWidget(self.label_33, 3, 0, 1, 1) self.groupBox_4 = QtGui.QGroupBox(self.groupBox) self.groupBox_4.setGeometry(QtCore.QRect(390, 360, 251, 165)) self.groupBox_4.setObjectName(_fromUtf8("groupBox_4")) self.gridLayout_5 = QtGui.QGridLayout(self.groupBox_4) self.gridLayout_5.setObjectName(_fromUtf8("gridLayout_5")) self.label_9 = QtGui.QLabel(self.groupBox_4) self.label_9.setAlignment(QtCore.Qt.AlignCenter) self.label_9.setObjectName(_fromUtf8("label_9")) self.gridLayout_5.addWidget(self.label_9, 2, 0, 1, 2) self.frEdit = QtGui.QLineEdit(self.groupBox_4) self.frEdit.setObjectName(_fromUtf8("frEdit")) self.gridLayout_5.addWidget(self.frEdit, 3, 2, 1, 1) self.qeEdit = QtGui.QLineEdit(self.groupBox_4) self.qeEdit.setObjectName(_fromUtf8("qeEdit")) self.gridLayout_5.addWidget(self.qeEdit, 1, 2, 1, 1) self.label_36 = QtGui.QLabel(self.groupBox_4) self.label_36.setAlignment(QtCore.Qt.AlignCenter) self.label_36.setObjectName(_fromUtf8("label_36")) self.gridLayout_5.addWidget(self.label_36, 0, 0, 1, 1) self.qlEdit = QtGui.QLineEdit(self.groupBox_4) font = QtGui.QFont() font.setFamily(_fromUtf8("Abadi MT Condensed Extra Bold")) font.setBold(False) font.setWeight(50) self.qlEdit.setFont(font) self.qlEdit.setObjectName(_fromUtf8("qlEdit")) self.gridLayout_5.addWidget(self.qlEdit, 2, 2, 1, 1) self.label_35 = QtGui.QLabel(self.groupBox_4) self.label_35.setAlignment(QtCore.Qt.AlignCenter) self.label_35.setObjectName(_fromUtf8("label_35")) self.gridLayout_5.addWidget(self.label_35, 3, 0, 1, 2) self.label_8 = QtGui.QLabel(self.groupBox_4) self.label_8.setAlignment(QtCore.Qt.AlignCenter) self.label_8.setObjectName(_fromUtf8("label_8")) self.gridLayout_5.addWidget(self.label_8, 1, 0, 1, 1) self.label_40 = QtGui.QLabel(self.groupBox_4) self.label_40.setAlignment(QtCore.Qt.AlignCenter) self.label_40.setObjectName(_fromUtf8("label_40")) self.gridLayout_5.addWidget(self.label_40, 1, 3, 1, 1) self.label_41 = QtGui.QLabel(self.groupBox_4) self.label_41.setAlignment(QtCore.Qt.AlignCenter) self.label_41.setObjectName(_fromUtf8("label_41")) self.gridLayout_5.addWidget(self.label_41, 0, 3, 1, 1) self.label_39 = QtGui.QLabel(self.groupBox_4) self.label_39.setAlignment(QtCore.Qt.AlignCenter) self.label_39.setObjectName(_fromUtf8("label_39")) self.gridLayout_5.addWidget(self.label_39, 2, 3, 1, 1) self.qiEdit = QtGui.QLineEdit(self.groupBox_4) self.qiEdit.setObjectName(_fromUtf8("qiEdit")) self.gridLayout_5.addWidget(self.qiEdit, 0, 2, 1, 1) self.label_31 = QtGui.QLabel(self.groupBox_4) self.label_31.setAlignment(QtCore.Qt.AlignCenter) self.label_31.setObjectName(_fromUtf8("label_31")) self.gridLayout_5.addWidget(self.label_31, 3, 3, 1, 1) self.groupBox_5 = QtGui.QGroupBox(self.groupBox) self.groupBox_5.setGeometry(QtCore.QRect(10, 410, 341, 151)) self.groupBox_5.setObjectName(_fromUtf8("groupBox_5")) self.lambdaLabel = QtGui.QLabel(self.groupBox_5) self.lambdaLabel.setGeometry(QtCore.QRect(170, 30, 164, 21)) self.lambdaLabel.setMinimumSize(QtCore.QSize(164, 21)) self.lambdaLabel.setMaximumSize(QtCore.QSize(160, 16777215)) self.lambdaLabel.setObjectName(_fromUtf8("lambdaLabel")) self.alfaLabel = QtGui.QLabel(self.groupBox_5) self.alfaLabel.setGeometry(QtCore.QRect(170, 117, 164, 21)) self.alfaLabel.setMinimumSize(QtCore.QSize(160, 21)) self.alfaLabel.setText(_fromUtf8("")) self.alfaLabel.setObjectName(_fromUtf8("alfaLabel")) self.lambdaLabel_2 = QtGui.QLabel(self.groupBox_5) self.lambdaLabel_2.setGeometry(QtCore.QRect(17, 30, 145, 21)) self.lambdaLabel_2.setMinimumSize(QtCore.QSize(132, 21)) self.lambdaLabel_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.lambdaLabel_2.setObjectName(_fromUtf8("lambdaLabel_2")) self.eeffLabel_2 = QtGui.QLabel(self.groupBox_5) self.eeffLabel_2.setGeometry(QtCore.QRect(17, 88, 145, 21)) self.eeffLabel_2.setMinimumSize(QtCore.QSize(132, 21)) self.eeffLabel_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.eeffLabel_2.setObjectName(_fromUtf8("eeffLabel_2")) self.eeffLabel = QtGui.QLabel(self.groupBox_5) self.eeffLabel.setGeometry(QtCore.QRect(170, 88, 164, 21)) self.eeffLabel.setMinimumSize(QtCore.QSize(160, 21)) self.eeffLabel.setText(_fromUtf8("")) self.eeffLabel.setObjectName(_fromUtf8("eeffLabel")) self.kineticLabel = QtGui.QLabel(self.groupBox_5) self.kineticLabel.setGeometry(QtCore.QRect(170, 59, 164, 21)) self.kineticLabel.setMinimumSize(QtCore.QSize(160, 21)) self.kineticLabel.setText(_fromUtf8("")) self.kineticLabel.setObjectName(_fromUtf8("kineticLabel")) self.alfaLabel_2 = QtGui.QLabel(self.groupBox_5) self.alfaLabel_2.setGeometry(QtCore.QRect(17, 117, 145, 21)) self.alfaLabel_2.setMinimumSize(QtCore.QSize(130, 21)) self.alfaLabel_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.alfaLabel_2.setObjectName(_fromUtf8("alfaLabel_2")) self.kineticLabel_2 = QtGui.QLabel(self.groupBox_5) self.kineticLabel_2.setGeometry(QtCore.QRect(17, 59, 145, 21)) self.kineticLabel_2.setMinimumSize(QtCore.QSize(132, 21)) self.kineticLabel_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.kineticLabel_2.setObjectName(_fromUtf8("kineticLabel_2")) self.groupBox_2 = QtGui.QGroupBox(self.groupBox) self.groupBox_2.setGeometry(QtCore.QRect(390, 30, 252, 163)) self.groupBox_2.setObjectName(_fromUtf8("groupBox_2")) self.gridLayout_2 = QtGui.QGridLayout(self.groupBox_2) self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.label_26 = QtGui.QLabel(self.groupBox_2) self.label_26.setAlignment(QtCore.Qt.AlignCenter) self.label_26.setObjectName(_fromUtf8("label_26")) self.gridLayout_2.addWidget(self.label_26, 3, 2, 1, 1) self.fEdit = QtGui.QLineEdit(self.groupBox_2) self.fEdit.setObjectName(_fromUtf8("fEdit")) self.gridLayout_2.addWidget(self.fEdit, 0, 1, 1, 1) self.label_10 = QtGui.QLabel(self.groupBox_2) self.label_10.setAlignment(QtCore.Qt.AlignCenter) self.label_10.setObjectName(_fromUtf8("label_10")) self.gridLayout_2.addWidget(self.label_10, 0, 0, 1, 1) self.label_22 = QtGui.QLabel(self.groupBox_2) self.label_22.setAlignment(QtCore.Qt.AlignCenter) self.label_22.setObjectName(_fromUtf8("label_22")) self.gridLayout_2.addWidget(self.label_22, 1, 2, 1, 1) self.label_24 = QtGui.QLabel(self.groupBox_2) self.label_24.setAlignment(QtCore.Qt.AlignCenter) self.label_24.setObjectName(_fromUtf8("label_24")) self.gridLayout_2.addWidget(self.label_24, 2, 2, 1, 1) self.label_19 = QtGui.QLabel(self.groupBox_2) self.label_19.setAlignment(QtCore.Qt.AlignCenter) self.label_19.setObjectName(_fromUtf8("label_19")) self.gridLayout_2.addWidget(self.label_19, 0, 2, 1, 1) self.llEdit = QtGui.QLineEdit(self.groupBox_2) self.llEdit.setObjectName(_fromUtf8("llEdit")) self.gridLayout_2.addWidget(self.llEdit, 1, 1, 1, 1) self.clEdit = QtGui.QLineEdit(self.groupBox_2) self.clEdit.setObjectName(_fromUtf8("clEdit")) self.gridLayout_2.addWidget(self.clEdit, 2, 1, 1, 1) self.label_21 = QtGui.QLabel(self.groupBox_2) self.label_21.setAlignment(QtCore.Qt.AlignCenter) self.label_21.setObjectName(_fromUtf8("label_21")) self.gridLayout_2.addWidget(self.label_21, 1, 0, 1, 1) self.z0Edit = QtGui.QLineEdit(self.groupBox_2) self.z0Edit.setObjectName(_fromUtf8("z0Edit")) self.gridLayout_2.addWidget(self.z0Edit, 3, 1, 1, 1) self.label_25 = QtGui.QLabel(self.groupBox_2) self.label_25.setAlignment(QtCore.Qt.AlignCenter) self.label_25.setObjectName(_fromUtf8("label_25")) self.gridLayout_2.addWidget(self.label_25, 3, 0, 1, 1) self.label_23 = QtGui.QLabel(self.groupBox_2) self.label_23.setAlignment(QtCore.Qt.AlignCenter) self.label_23.setObjectName(_fromUtf8("label_23")) self.gridLayout_2.addWidget(self.label_23, 2, 0, 1, 1) self.groupBox_6 = QtGui.QGroupBox(self.groupBox) self.groupBox_6.setGeometry(QtCore.QRect(10, 250, 341, 151)) self.groupBox_6.setObjectName(_fromUtf8("groupBox_6")) self.label_18 = QtGui.QLabel(self.groupBox_6) self.label_18.setGeometry(QtCore.QRect(280, 22, 43, 21)) self.label_18.setAlignment(QtCore.Qt.AlignCenter) self.label_18.setObjectName(_fromUtf8("label_18")) self.label_11 = QtGui.QLabel(self.groupBox_6) self.label_11.setGeometry(QtCore.QRect(6, 90, 47, 21)) self.label_11.setMaximumSize(QtCore.QSize(70, 16777215)) self.label_11.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_11.setObjectName(_fromUtf8("label_11")) self.tcEdit = QtGui.QLineEdit(self.groupBox_6) self.tcEdit.setGeometry(QtCore.QRect(61, 90, 209, 21)) self.tcEdit.setObjectName(_fromUtf8("tcEdit")) self.label_14 = QtGui.QLabel(self.groupBox_6) self.label_14.setGeometry(QtCore.QRect(280, 56, 43, 21)) self.label_14.setAlignment(QtCore.Qt.AlignCenter) self.label_14.setObjectName(_fromUtf8("label_14")) self.label_13 = QtGui.QLabel(self.groupBox_6) self.label_13.setGeometry(QtCore.QRect(280, 90, 43, 21)) self.label_13.setAlignment(QtCore.Qt.AlignCenter) self.label_13.setObjectName(_fromUtf8("label_13")) self.lEdit = QtGui.QLineEdit(self.groupBox_6) self.lEdit.setGeometry(QtCore.QRect(61, 22, 209, 21)) self.lEdit.setObjectName(_fromUtf8("lEdit")) self.rhoEdit = QtGui.QLineEdit(self.groupBox_6) self.rhoEdit.setGeometry(QtCore.QRect(61, 56, 209, 21)) self.rhoEdit.setObjectName(_fromUtf8("rhoEdit")) self.label_12 = QtGui.QLabel(self.groupBox_6) self.label_12.setGeometry(QtCore.QRect(6, 56, 47, 21)) self.label_12.setMaximumSize(QtCore.QSize(70, 16777215)) self.label_12.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_12.setObjectName(_fromUtf8("label_12")) self.label_6 = QtGui.QLabel(self.groupBox_6) self.label_6.setGeometry(QtCore.QRect(6, 22, 47, 21)) self.label_6.setMaximumSize(QtCore.QSize(70, 16777215)) self.label_6.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_6.setObjectName(_fromUtf8("label_6")) self.label_37 = QtGui.QLabel(self.groupBox_6) self.label_37.setGeometry(QtCore.QRect(0, 120, 55, 20)) self.label_37.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_37.setObjectName(_fromUtf8("label_37")) self.label_38 = QtGui.QLabel(self.groupBox_6) self.label_38.setGeometry(QtCore.QRect(290, 120, 16, 16)) self.label_38.setAlignment(QtCore.Qt.AlignCenter) self.label_38.setObjectName(_fromUtf8("label_38")) self.ccEdit = QtGui.QLineEdit(self.groupBox_6) self.ccEdit.setGeometry(QtCore.QRect(65, 120, 201, 21)) self.ccEdit.setObjectName(_fromUtf8("ccEdit")) self.closeButton = QtGui.QPushButton(self.groupBox) self.closeButton.setGeometry(QtCore.QRect(510, 530, 106, 32)) self.closeButton.setObjectName(_fromUtf8("closeButton")) self.runButton = QtGui.QPushButton(self.groupBox) self.runButton.setGeometry(QtCore.QRect(400, 530, 106, 32)) self.runButton.setObjectName(_fromUtf8("runButton")) self.tabWidget.addTab(self.mainTab, _fromUtf8("")) self.plotTab = QtGui.QWidget() self.plotTab.setObjectName(_fromUtf8("plotTab")) self.layoutWidget = QtGui.QWidget(self.plotTab) self.layoutWidget.setGeometry(QtCore.QRect(0, 0, 631, 451)) self.layoutWidget.setObjectName(_fromUtf8("layoutWidget")) self.verticalLayout = QtGui.QVBoxLayout(self.layoutWidget) self.verticalLayout.setMargin(0) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.plotBox = QtGui.QGroupBox(self.layoutWidget) self.plotBox.setObjectName(_fromUtf8("plotBox")) self.plotWidget = MPL_Widget(self.plotBox) self.plotWidget.setGeometry(QtCore.QRect(10, 30, 601, 371)) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.plotWidget.sizePolicy().hasHeightForWidth()) self.plotWidget.setSizePolicy(sizePolicy) self.plotWidget.setMinimumSize(QtCore.QSize(1, 1)) self.plotWidget.setMaximumSize(QtCore.QSize(801, 16777215)) self.plotWidget.setAutoFillBackground(True) self.plotWidget.setObjectName(_fromUtf8("plotWidget")) self.verticalLayout.addWidget(self.plotBox) self.plotBtn = QtGui.QPushButton(self.layoutWidget) self.plotBtn.setObjectName(_fromUtf8("plotBtn")) self.verticalLayout.addWidget(self.plotBtn) self.tabWidget.addTab(self.plotTab, _fromUtf8("")) self.widget = QtGui.QWidget() self.widget.setObjectName(_fromUtf8("widget")) self.tabWidget.addTab(self.widget, _fromUtf8("")) self.dataTab = QtGui.QWidget() self.dataTab.setObjectName(_fromUtf8("dataTab")) self.tableWidget = QtGui.QTableWidget(self.dataTab) self.tableWidget.setGeometry(QtCore.QRect(0, 10, 471, 181)) self.tableWidget.setFrameShape(QtGui.QFrame.WinPanel) self.tableWidget.setObjectName(_fromUtf8("tableWidget")) self.tableWidget.setColumnCount(4) self.tableWidget.setRowCount(5) item = QtGui.QTableWidgetItem() self.tableWidget.setVerticalHeaderItem(0, item) item = QtGui.QTableWidgetItem() self.tableWidget.setVerticalHeaderItem(1, item) item = QtGui.QTableWidgetItem() self.tableWidget.setVerticalHeaderItem(2, item) item = QtGui.QTableWidgetItem() self.tableWidget.setVerticalHeaderItem(3, item) item = QtGui.QTableWidgetItem() self.tableWidget.setVerticalHeaderItem(4, item) item = QtGui.QTableWidgetItem() self.tableWidget.setHorizontalHeaderItem(0, item) item = QtGui.QTableWidgetItem() self.tableWidget.setHorizontalHeaderItem(1, item) item = QtGui.QTableWidgetItem() self.tableWidget.setHorizontalHeaderItem(2, item) item = QtGui.QTableWidgetItem() font = QtGui.QFont() font.setStyleStrategy(QtGui.QFont.PreferDefault) item.setFont(font) self.tableWidget.setHorizontalHeaderItem(3, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(0, 0, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(0, 1, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(0, 2, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(0, 3, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(1, 0, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(1, 1, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(1, 2, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(1, 3, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(2, 0, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(2, 1, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(2, 2, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(2, 3, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(3, 0, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(3, 1, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(3, 2, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(3, 3, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(4, 0, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(4, 1, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(4, 2, item) item = QtGui.QTableWidgetItem() self.tableWidget.setItem(4, 3, item) self.label_43 = QtGui.QLabel(self.dataTab) self.label_43.setGeometry(QtCore.QRect(0, 200, 281, 231)) self.label_43.setFrameShape(QtGui.QFrame.Box) self.label_43.setFrameShadow(QtGui.QFrame.Sunken) self.label_43.setObjectName(_fromUtf8("label_43")) self.tabWidget.addTab(self.dataTab, _fromUtf8("")) self.layoutWidget1 = QtGui.QWidget(self.centralwidget) self.layoutWidget1.setGeometry(QtCore.QRect(0, 0, 2, 2)) self.layoutWidget1.setObjectName(_fromUtf8("layoutWidget1")) self.gridLayout_7 = QtGui.QGridLayout(self.layoutWidget1) self.gridLayout_7.setMargin(0) self.gridLayout_7.setObjectName(_fromUtf8("gridLayout_7")) MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtGui.QMenuBar(MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 715, 22)) self.menubar.setObjectName(_fromUtf8("menubar")) self.menuFile = QtGui.QMenu(self.menubar) self.menuFile.setObjectName(_fromUtf8("menuFile")) self.menuHelp = QtGui.QMenu(self.menubar) self.menuHelp.setObjectName(_fromUtf8("menuHelp")) MainWindow.setMenuBar(self.menubar) self.statusbar = QtGui.QStatusBar(MainWindow) self.statusbar.setObjectName(_fromUtf8("statusbar")) MainWindow.setStatusBar(self.statusbar) self.actionClose = QtGui.QAction(MainWindow) self.actionClose.setObjectName(_fromUtf8("actionClose")) self.actionAbout = QtGui.QAction(MainWindow) self.actionAbout.setObjectName(_fromUtf8("actionAbout")) self.menuFile.addAction(self.actionClose) self.menuHelp.addAction(self.actionAbout) self.menubar.addAction(self.menuFile.menuAction()) self.menubar.addAction(self.menuHelp.menuAction()) self.retranslateUi(MainWindow) self.tabWidget.setCurrentIndex(0) QtCore.QObject.connect(self.actionClose, QtCore.SIGNAL(_fromUtf8("activated()")), MainWindow.close) QtCore.QObject.connect(self.closeButton, QtCore.SIGNAL(_fromUtf8("clicked()")), MainWindow.close) QtCore.QObject.connect(self.ccEdit, QtCore.SIGNAL(_fromUtf8("returnPressed()")), self.runButton.click) QtCore.QMetaObject.connectSlotsByName(MainWindow)
def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(868, 583) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth()) MainWindow.setSizePolicy(sizePolicy) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/editmirror.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) MainWindow.setWindowIcon(icon) MainWindow.setAutoFillBackground(False) self.centralwidget = QtGui.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.horizontalLayout_3 = QtGui.QHBoxLayout(self.centralwidget) self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.tabWidget = QtGui.QTabWidget(self.centralwidget) self.tabWidget.setEnabled(True) self.tabWidget.setTabShape(QtGui.QTabWidget.Rounded) self.tabWidget.setObjectName("tabWidget") self.tabTime = QtGui.QWidget() self.tabTime.setObjectName("tabTime") self.verticalLayout_2 = QtGui.QVBoxLayout(self.tabTime) self.verticalLayout_2.setObjectName("verticalLayout_2") self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.calenderDay = QtGui.QCalendarWidget(self.tabTime) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(2) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.calenderDay.sizePolicy().hasHeightForWidth()) self.calenderDay.setSizePolicy(sizePolicy) self.calenderDay.setMinimumSize(QtCore.QSize(200, 150)) self.calenderDay.setMinimumDate(QtCore.QDate(1752, 9, 15)) self.calenderDay.setFirstDayOfWeek(QtCore.Qt.Wednesday) self.calenderDay.setGridVisible(True) self.calenderDay.setVerticalHeaderFormat(QtGui.QCalendarWidget.NoVerticalHeader) self.calenderDay.setObjectName("calenderDay") self.horizontalLayout.addWidget(self.calenderDay) self.dayChartLabel = MPL_Widget(self.tabTime) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(4) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.dayChartLabel.sizePolicy().hasHeightForWidth()) self.dayChartLabel.setSizePolicy(sizePolicy) self.dayChartLabel.setSizeIncrement(QtCore.QSize(3, 0)) self.dayChartLabel.setObjectName("dayChartLabel") self.horizontalLayout.addWidget(self.dayChartLabel) self.verticalLayout_2.addLayout(self.horizontalLayout) self.label_3 = QtGui.QLabel(self.tabTime) self.label_3.setObjectName("label_3") self.verticalLayout_2.addWidget(self.label_3) self.horizontalLayout_4 = QtGui.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.dailyTimeGP = QtGui.QGroupBox(self.tabTime) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(2) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.dailyTimeGP.sizePolicy().hasHeightForWidth()) self.dailyTimeGP.setSizePolicy(sizePolicy) self.dailyTimeGP.setMinimumSize(QtCore.QSize(0, 140)) self.dailyTimeGP.setObjectName("dailyTimeGP") self.verticalLayout = QtGui.QVBoxLayout(self.dailyTimeGP) self.verticalLayout.setObjectName("verticalLayout") self.gridLayout = QtGui.QGridLayout() self.gridLayout.setObjectName("gridLayout") self.label = QtGui.QLabel(self.dailyTimeGP) self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) self.label.setObjectName("label") self.gridLayout.addWidget(self.label, 0, 0, 1, 1) self.inLineEdit = QtGui.QLineEdit(self.dailyTimeGP) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.inLineEdit.sizePolicy().hasHeightForWidth()) self.inLineEdit.setSizePolicy(sizePolicy) self.inLineEdit.setMinimumSize(QtCore.QSize(50, 27)) self.inLineEdit.setMaximumSize(QtCore.QSize(50, 16777215)) self.inLineEdit.setMaxLength(5) self.inLineEdit.setObjectName("inLineEdit") self.gridLayout.addWidget(self.inLineEdit, 0, 1, 1, 2) self.inComboBox = QtGui.QComboBox(self.dailyTimeGP) self.inComboBox.setObjectName("inComboBox") self.inComboBox.addItem(QtCore.QString()) self.inComboBox.addItem(QtCore.QString()) self.gridLayout.addWidget(self.inComboBox, 0, 4, 1, 1) self.label_2 = QtGui.QLabel(self.dailyTimeGP) self.label_2.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) self.label_2.setObjectName("label_2") self.gridLayout.addWidget(self.label_2, 1, 0, 1, 1) self.outComboBox = QtGui.QComboBox(self.dailyTimeGP) self.outComboBox.setObjectName("outComboBox") self.outComboBox.addItem(QtCore.QString()) self.outComboBox.addItem(QtCore.QString()) self.gridLayout.addWidget(self.outComboBox, 1, 4, 1, 1) self.outLineEdit = QtGui.QLineEdit(self.dailyTimeGP) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.outLineEdit.sizePolicy().hasHeightForWidth()) self.outLineEdit.setSizePolicy(sizePolicy) self.outLineEdit.setMinimumSize(QtCore.QSize(50, 27)) self.outLineEdit.setMaximumSize(QtCore.QSize(50, 16777215)) self.outLineEdit.setMaxLength(5) self.outLineEdit.setObjectName("outLineEdit") self.gridLayout.addWidget(self.outLineEdit, 1, 1, 1, 1) self.verticalLayout.addLayout(self.gridLayout) self.noBreakCheckBox = QtGui.QCheckBox(self.dailyTimeGP) self.noBreakCheckBox.setEnabled(False) self.noBreakCheckBox.setObjectName("noBreakCheckBox") self.verticalLayout.addWidget(self.noBreakCheckBox) self.horizontalLayout_8 = QtGui.QHBoxLayout() self.horizontalLayout_8.setObjectName("horizontalLayout_8") self.leaveCheckBox = QtGui.QCheckBox(self.dailyTimeGP) self.leaveCheckBox.setObjectName("leaveCheckBox") self.horizontalLayout_8.addWidget(self.leaveCheckBox) self.leaveCombo = QtGui.QComboBox(self.dailyTimeGP) self.leaveCombo.setEnabled(False) self.leaveCombo.setObjectName("leaveCombo") self.leaveCombo.addItem(QtCore.QString()) self.leaveCombo.addItem(QtCore.QString()) self.leaveCombo.addItem(QtCore.QString()) self.leaveCombo.addItem(QtCore.QString()) self.leaveCombo.addItem(QtCore.QString()) self.horizontalLayout_8.addWidget(self.leaveCombo) self.verticalLayout.addLayout(self.horizontalLayout_8) self.totalHourdLabel = QtGui.QLabel(self.dailyTimeGP) self.totalHourdLabel.setObjectName("totalHourdLabel") self.verticalLayout.addWidget(self.totalHourdLabel) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.totLineEdit = QtGui.QLineEdit(self.dailyTimeGP) self.totLineEdit.setEnabled(False) self.totLineEdit.setObjectName("totLineEdit") self.horizontalLayout_2.addWidget(self.totLineEdit) spacerItem = QtGui.QSpacerItem(58, 43, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem) self.deleteTimeButton = QtGui.QPushButton(self.dailyTimeGP) icon1 = QtGui.QIcon() icon1.addPixmap(QtGui.QPixmap(":/images/16x16/actions/remove.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.deleteTimeButton.setIcon(icon1) self.deleteTimeButton.setObjectName("deleteTimeButton") self.horizontalLayout_2.addWidget(self.deleteTimeButton) self.editButton = QtGui.QPushButton(self.dailyTimeGP) self.editButton.setEnabled(False) icon2 = QtGui.QIcon() icon2.addPixmap(QtGui.QPixmap(":/images/16x16/actions/fileopen.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.editButton.setIcon(icon2) self.editButton.setObjectName("editButton") self.horizontalLayout_2.addWidget(self.editButton) self.addDailyTimeButton = QtGui.QPushButton(self.dailyTimeGP) self.addDailyTimeButton.setEnabled(False) self.addDailyTimeButton.setMaximumSize(QtCore.QSize(60, 16777215)) icon3 = QtGui.QIcon() icon3.addPixmap(QtGui.QPixmap(":/images/16x16/actions/filesave.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.addDailyTimeButton.setIcon(icon3) self.addDailyTimeButton.setObjectName("addDailyTimeButton") self.horizontalLayout_2.addWidget(self.addDailyTimeButton) self.verticalLayout.addLayout(self.horizontalLayout_2) self.horizontalLayout_4.addWidget(self.dailyTimeGP) self.hourView = QtGui.QTableView(self.tabTime) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(3) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.hourView.sizePolicy().hasHeightForWidth()) self.hourView.setSizePolicy(sizePolicy) self.hourView.setObjectName("hourView") self.horizontalLayout_4.addWidget(self.hourView) self.verticalLayout_3 = QtGui.QVBoxLayout() self.verticalLayout_3.setObjectName("verticalLayout_3") self.label_5 = QtGui.QLabel(self.tabTime) self.label_5.setObjectName("label_5") self.verticalLayout_3.addWidget(self.label_5) self.jobFilterCombo = QtGui.QComboBox(self.tabTime) self.jobFilterCombo.setObjectName("jobFilterCombo") self.jobFilterCombo.addItem(QtCore.QString()) self.jobFilterCombo.addItem(QtCore.QString()) self.jobFilterCombo.addItem(QtCore.QString()) self.verticalLayout_3.addWidget(self.jobFilterCombo) spacerItem1 = QtGui.QSpacerItem(20, 28, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.verticalLayout_3.addItem(spacerItem1) self.buttonDelete = QtGui.QPushButton(self.tabTime) self.buttonDelete.setEnabled(False) self.buttonDelete.setMinimumSize(QtCore.QSize(0, 41)) icon4 = QtGui.QIcon() icon4.addPixmap(QtGui.QPixmap(":/images/32x32/actions/gtk-remove.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.buttonDelete.setIcon(icon4) self.buttonDelete.setIconSize(QtCore.QSize(32, 32)) self.buttonDelete.setObjectName("buttonDelete") self.verticalLayout_3.addWidget(self.buttonDelete) self.buttonNew = QtGui.QPushButton(self.tabTime) self.buttonNew.setEnabled(False) self.buttonNew.setMinimumSize(QtCore.QSize(0, 41)) icon5 = QtGui.QIcon() icon5.addPixmap(QtGui.QPixmap(":/images/32x32/actions/add.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.buttonNew.setIcon(icon5) self.buttonNew.setIconSize(QtCore.QSize(32, 32)) self.buttonNew.setObjectName("buttonNew") self.verticalLayout_3.addWidget(self.buttonNew) self.buttonSave = QtGui.QPushButton(self.tabTime) self.buttonSave.setEnabled(False) self.buttonSave.setMinimumSize(QtCore.QSize(0, 41)) icon6 = QtGui.QIcon() icon6.addPixmap(QtGui.QPixmap(":/images/32x32/actions/document-save.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.buttonSave.setIcon(icon6) self.buttonSave.setIconSize(QtCore.QSize(32, 32)) self.buttonSave.setObjectName("buttonSave") self.verticalLayout_3.addWidget(self.buttonSave) self.horizontalLayout_4.addLayout(self.verticalLayout_3) self.verticalLayout_2.addLayout(self.horizontalLayout_4) icon7 = QtGui.QIcon() icon7.addPixmap(QtGui.QPixmap(":/images/16x16/actions/appointment.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.tabWidget.addTab(self.tabTime, icon7, "") self.tabJobs = QtGui.QWidget() self.tabJobs.setObjectName("tabJobs") self.verticalLayout_5 = QtGui.QVBoxLayout(self.tabJobs) self.verticalLayout_5.setObjectName("verticalLayout_5") self.horizontalLayout_5 = QtGui.QHBoxLayout() self.horizontalLayout_5.setObjectName("horizontalLayout_5") self.label_4 = QtGui.QLabel(self.tabJobs) self.label_4.setObjectName("label_4") self.horizontalLayout_5.addWidget(self.label_4) self.jobSearchEdit = QtGui.QLineEdit(self.tabJobs) self.jobSearchEdit.setObjectName("jobSearchEdit") self.horizontalLayout_5.addWidget(self.jobSearchEdit) self.clearButton = QtGui.QToolButton(self.tabJobs) icon8 = QtGui.QIcon() icon8.addPixmap(QtGui.QPixmap(":/back.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.clearButton.setIcon(icon8) self.clearButton.setObjectName("clearButton") self.horizontalLayout_5.addWidget(self.clearButton) self.allJobsButton = QtGui.QPushButton(self.tabJobs) self.allJobsButton.setObjectName("allJobsButton") self.horizontalLayout_5.addWidget(self.allJobsButton) self.currentJobsButton = QtGui.QPushButton(self.tabJobs) self.currentJobsButton.setObjectName("currentJobsButton") self.horizontalLayout_5.addWidget(self.currentJobsButton) self.customerComboBox = QtGui.QComboBox(self.tabJobs) self.customerComboBox.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToContents) self.customerComboBox.setObjectName("customerComboBox") self.horizontalLayout_5.addWidget(self.customerComboBox) self.statusComboBox = QtGui.QComboBox(self.tabJobs) self.statusComboBox.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToContents) self.statusComboBox.setObjectName("statusComboBox") self.horizontalLayout_5.addWidget(self.statusComboBox) self.verticalLayout_5.addLayout(self.horizontalLayout_5) self.tableViewJob = QtGui.QTableView(self.tabJobs) self.tableViewJob.setObjectName("tableViewJob") self.verticalLayout_5.addWidget(self.tableViewJob) self.horizontalLayout_6 = QtGui.QHBoxLayout() self.horizontalLayout_6.setObjectName("horizontalLayout_6") spacerItem2 = QtGui.QSpacerItem(568, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_6.addItem(spacerItem2) self.openFolderButton = QtGui.QPushButton(self.tabJobs) self.openFolderButton.setObjectName("openFolderButton") self.horizontalLayout_6.addWidget(self.openFolderButton) self.verticalLayout_5.addLayout(self.horizontalLayout_6) icon9 = QtGui.QIcon() icon9.addPixmap(QtGui.QPixmap("../images/16x16/apps/kedit.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.tabWidget.addTab(self.tabJobs, icon9, "") self.tabStat = QtGui.QWidget() self.tabStat.setObjectName("tabStat") self.verticalLayout_6 = QtGui.QVBoxLayout(self.tabStat) self.verticalLayout_6.setObjectName("verticalLayout_6") self.verticalLayout_4 = QtGui.QVBoxLayout() self.verticalLayout_4.setObjectName("verticalLayout_4") self.statChart = MPL_Widget(self.tabStat) self.statChart.setObjectName("statChart") self.verticalLayout_4.addWidget(self.statChart) self.tableWidget = QtGui.QTableWidget(self.tabStat) self.tableWidget.setObjectName("tableWidget") self.tableWidget.setColumnCount(0) self.tableWidget.setRowCount(0) self.verticalLayout_4.addWidget(self.tableWidget) self.verticalLayout_6.addLayout(self.verticalLayout_4) icon10 = QtGui.QIcon() icon10.addPixmap(QtGui.QPixmap("../images/16x16/apps/ksysguard.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.tabWidget.addTab(self.tabStat, icon10, "") self.treeTab = QtGui.QWidget() self.treeTab.setObjectName("treeTab") self.horizontalLayout_9 = QtGui.QHBoxLayout(self.treeTab) self.horizontalLayout_9.setObjectName("horizontalLayout_9") self.dockWidget = QtGui.QDockWidget(self.treeTab) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.dockWidget.sizePolicy().hasHeightForWidth()) self.dockWidget.setSizePolicy(sizePolicy) self.dockWidget.setMinimumSize(QtCore.QSize(380, 97)) self.dockWidget.setMaximumSize(QtCore.QSize(1000000, 524287)) self.dockWidget.setFeatures(QtGui.QDockWidget.NoDockWidgetFeatures) self.dockWidget.setAllowedAreas(QtCore.Qt.LeftDockWidgetArea) self.dockWidget.setObjectName("dockWidget") self.dockWidgetContents = QtGui.QWidget() self.dockWidgetContents.setObjectName("dockWidgetContents") self.horizontalLayout_7 = QtGui.QHBoxLayout(self.dockWidgetContents) self.horizontalLayout_7.setObjectName("horizontalLayout_7") self.treeView = TreeOfTableWidget(self.dockWidgetContents) self.treeView.setObjectName("treeView") self.horizontalLayout_7.addWidget(self.treeView) self.dockWidget.setWidget(self.dockWidgetContents) self.horizontalLayout_9.addWidget(self.dockWidget) spacerItem3 = QtGui.QSpacerItem(565, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_9.addItem(spacerItem3) icon11 = QtGui.QIcon() icon11.addPixmap(QtGui.QPixmap("../images/16x16/apps/kfm.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.tabWidget.addTab(self.treeTab, icon11, "") self.horizontalLayout_3.addWidget(self.tabWidget) MainWindow.setCentralWidget(self.centralwidget) self.statusbar = QtGui.QStatusBar(MainWindow) self.statusbar.setBaseSize(QtCore.QSize(0, 10)) self.statusbar.setObjectName("statusbar") MainWindow.setStatusBar(self.statusbar) self.menuBar = QtGui.QMenuBar(MainWindow) self.menuBar.setGeometry(QtCore.QRect(0, 0, 868, 25)) self.menuBar.setObjectName("menuBar") self.menuExtras = QtGui.QMenu(self.menuBar) self.menuExtras.setObjectName("menuExtras") self.menu_Help = QtGui.QMenu(self.menuBar) self.menu_Help.setObjectName("menu_Help") self.menu_Job = QtGui.QMenu(self.menuBar) self.menu_Job.setObjectName("menu_Job") self.menuSettings = QtGui.QMenu(self.menuBar) self.menuSettings.setObjectName("menuSettings") MainWindow.setMenuBar(self.menuBar) self.actionExit = QtGui.QAction(MainWindow) icon12 = QtGui.QIcon() icon12.addPixmap(QtGui.QPixmap(":/filequit.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionExit.setIcon(icon12) self.actionExit.setObjectName("actionExit") self.actionAbout = QtGui.QAction(MainWindow) icon13 = QtGui.QIcon() icon13.addPixmap(QtGui.QPixmap(":/editzoom.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionAbout.setIcon(icon13) self.actionAbout.setObjectName("actionAbout") self.actionNew_Job = QtGui.QAction(MainWindow) icon14 = QtGui.QIcon() icon14.addPixmap(QtGui.QPixmap(":/filenew.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.actionNew_Job.setIcon(icon14) self.actionNew_Job.setObjectName("actionNew_Job") self.menuExtras.addAction(self.actionExit) self.menuBar.addAction(self.menuExtras.menuAction()) self.menuBar.addAction(self.menu_Job.menuAction()) self.menuBar.addAction(self.menuSettings.menuAction()) self.menuBar.addAction(self.menu_Help.menuAction()) self.label.setBuddy(self.inLineEdit) self.label_2.setBuddy(self.outLineEdit) self.label_4.setBuddy(self.jobSearchEdit) self.retranslateUi(MainWindow) self.tabWidget.setCurrentIndex(0) QtCore.QObject.connect(self.actionExit, QtCore.SIGNAL("triggered()"), MainWindow.close) QtCore.QMetaObject.connectSlotsByName(MainWindow) MainWindow.setTabOrder(self.inLineEdit, self.inComboBox) MainWindow.setTabOrder(self.inComboBox, self.outLineEdit) MainWindow.setTabOrder(self.outLineEdit, self.outComboBox) MainWindow.setTabOrder(self.outComboBox, self.noBreakCheckBox) MainWindow.setTabOrder(self.noBreakCheckBox, self.addDailyTimeButton) MainWindow.setTabOrder(self.addDailyTimeButton, self.buttonSave) MainWindow.setTabOrder(self.buttonSave, self.buttonNew) MainWindow.setTabOrder(self.buttonNew, self.buttonDelete) MainWindow.setTabOrder(self.buttonDelete, self.hourView) MainWindow.setTabOrder(self.hourView, self.calenderDay) MainWindow.setTabOrder(self.calenderDay, self.totLineEdit)
class Ui_Form(object): def setupUi(self, Form): Form.setObjectName("Form") Form.resize(662, 393) self.hboxlayout = QtGui.QHBoxLayout(Form) self.hboxlayout.setObjectName("hboxlayout") self.widget = QtGui.QWidget(Form) self.widget.setObjectName("widget") self.plotBtn = QtGui.QPushButton(self.widget) self.plotBtn.setGeometry(QtCore.QRect(130, 340, 71, 23)) self.plotBtn.setObjectName("plotBtn") self.save_figure_Button = QtGui.QPushButton(self.widget) self.save_figure_Button.setGeometry(QtCore.QRect(210, 340, 61, 23)) self.save_figure_Button.setObjectName("save_figure_Button") self.label = QtGui.QLabel(self.widget) self.label.setGeometry(QtCore.QRect(0, 10, 51, 21)) self.label.setObjectName("label") self.label_2 = QtGui.QLabel(self.widget) self.label_2.setGeometry(QtCore.QRect(0, 320, 71, 21)) self.label_2.setObjectName("label_2") self.funcexp = QtGui.QLineEdit(self.widget) self.funcexp.setGeometry(QtCore.QRect(80, 10, 221, 20)) self.funcexp.setObjectName("funcexp") self.data1 = QtGui.QTextEdit(self.widget) self.data1.setGeometry(QtCore.QRect(60, 130, 211, 181)) self.data1.setObjectName("data1") self.label_3 = QtGui.QLabel(self.widget) self.label_3.setGeometry(QtCore.QRect(0, 130, 31, 21)) self.label_3.setObjectName("label_3") self.plotWidget = MPL_Widget(self.widget) self.plotWidget.setGeometry(QtCore.QRect(300, 0, 361, 381)) self.plotWidget.setObjectName("plotWidget") self.label_6 = QtGui.QLabel(self.plotWidget) self.label_6.setGeometry(QtCore.QRect(130, 360, 111, 16)) self.label_6.setObjectName("label_6") self.comboBox = QtGui.QComboBox(self.widget) self.comboBox.setGeometry(QtCore.QRect(60, 320, 61, 20)) self.comboBox.setAcceptDrops(False) self.comboBox.setObjectName("comboBox") self.comboBox.addItem("") self.comboBox.addItem("") self.comboBox.addItem("") self.comboBox.addItem("") self.label_4 = QtGui.QLabel(self.widget) self.label_4.setGeometry(QtCore.QRect(0, 40, 71, 20)) self.label_4.setObjectName("label_4") self.label_5 = QtGui.QLabel(self.widget) self.label_5.setGeometry(QtCore.QRect(0, 70, 61, 20)) self.label_5.setObjectName("label_5") self.samplefreq = QtGui.QLineEdit(self.widget) self.samplefreq.setGeometry(QtCore.QRect(80, 40, 41, 20)) self.samplefreq.setObjectName("samplefreq") self.samplepoint = QtGui.QLineEdit(self.widget) self.samplepoint.setGeometry(QtCore.QRect(80, 70, 41, 20)) self.samplepoint.setObjectName("samplepoint") self.getdata_Button = QtGui.QPushButton(self.widget) self.getdata_Button.setGeometry(QtCore.QRect(210, 70, 71, 23)) self.getdata_Button.setObjectName("getdata_Button") self.label_8 = QtGui.QLabel(self.widget) self.label_8.setGeometry(QtCore.QRect(290, 280, 16, 16)) self.label_8.setObjectName("label_8") self.label_7 = QtGui.QLabel(self.widget) self.label_7.setGeometry(QtCore.QRect(290, 250, 21, 21)) self.label_7.setObjectName("label_7") self.sample_period_time = QtGui.QLineEdit(self.widget) self.sample_period_time.setGeometry(QtCore.QRect(230, 40, 41, 20)) self.sample_period_time.setObjectName("sample_period_time") self.label_9 = QtGui.QLabel(self.widget) self.label_9.setGeometry(QtCore.QRect(130, 40, 101, 20)) self.label_9.setObjectName("label_9") self.hboxlayout.addWidget(self.widget) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form) def retranslateUi(self, Form): Form.setWindowTitle( QtGui.QApplication.translate("Form", "简易FFT演示程序v0.4", None, QtGui.QApplication.UnicodeUTF8)) self.plotBtn.setText( QtGui.QApplication.translate("Form", "绘图", None, QtGui.QApplication.UnicodeUTF8)) self.save_figure_Button.setText( QtGui.QApplication.translate("Form", "保存图片", None, QtGui.QApplication.UnicodeUTF8)) self.label.setText( QtGui.QApplication.translate("Form", "函数式", None, QtGui.QApplication.UnicodeUTF8)) self.label_2.setText( QtGui.QApplication.translate("Form", "FFT点数", None, QtGui.QApplication.UnicodeUTF8)) self.funcexp.setText( QtGui.QApplication.translate( "Form", "0.5*sin(2*pi*50*x)+0.5*sin(2*pi*30*x)", None, QtGui.QApplication.UnicodeUTF8)) self.data1.setHtml( QtGui.QApplication.translate( "Form", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n" "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" "p, li { white-space: pre-wrap; }\n" "</style></head><body style=\" font-family:\'宋体\'; font-size:9pt; font-weight:400; font-style:normal;\">\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">[ 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1., 1.]</p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) self.label_3.setText( QtGui.QApplication.translate("Form", "数组", None, QtGui.QApplication.UnicodeUTF8)) self.label_6.setText( QtGui.QApplication.translate("Form", "频率(omega/π)", None, QtGui.QApplication.UnicodeUTF8)) self.comboBox.setItemText( 0, QtGui.QApplication.translate("Form", "256", None, QtGui.QApplication.UnicodeUTF8)) self.comboBox.setItemText( 1, QtGui.QApplication.translate("Form", "512", None, QtGui.QApplication.UnicodeUTF8)) self.comboBox.setItemText( 2, QtGui.QApplication.translate("Form", "1024", None, QtGui.QApplication.UnicodeUTF8)) self.comboBox.setItemText( 3, QtGui.QApplication.translate("Form", "2048", None, QtGui.QApplication.UnicodeUTF8)) self.label_4.setText( QtGui.QApplication.translate("Form", "采样频率(Hz)", None, QtGui.QApplication.UnicodeUTF8)) self.label_5.setText( QtGui.QApplication.translate("Form", "采样点数", None, QtGui.QApplication.UnicodeUTF8)) self.samplefreq.setText( QtGui.QApplication.translate("Form", "1000", None, QtGui.QApplication.UnicodeUTF8)) self.samplepoint.setText( QtGui.QApplication.translate("Form", "512", None, QtGui.QApplication.UnicodeUTF8)) self.getdata_Button.setText( QtGui.QApplication.translate("Form", "获取数组", None, QtGui.QApplication.UnicodeUTF8)) self.label_8.setText( QtGui.QApplication.translate("Form", "度", None, QtGui.QApplication.UnicodeUTF8)) self.label_7.setText( QtGui.QApplication.translate("Form", "幅", None, QtGui.QApplication.UnicodeUTF8)) self.sample_period_time.setText( QtGui.QApplication.translate("Form", "0.001", None, QtGui.QApplication.UnicodeUTF8)) self.label_9.setText( QtGui.QApplication.translate("Form", "采样间隔时间(s)", None, QtGui.QApplication.UnicodeUTF8))
class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectName(_fromUtf8("Dialog")) Dialog.resize(418, 580) Dialog.setMaximumSize(QtCore.QSize(800, 580)) Dialog.setModal(False) self.verticalLayout = QtGui.QVBoxLayout(Dialog) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.gridLayout = QtGui.QGridLayout() self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.label = QtGui.QLabel(Dialog) self.label.setObjectName(_fromUtf8("label")) self.gridLayout.addWidget(self.label, 0, 0, 1, 1) self.xval = QtGui.QLabel(Dialog) self.xval.setFrameShape(QtGui.QFrame.StyledPanel) self.xval.setFrameShadow(QtGui.QFrame.Sunken) self.xval.setText(_fromUtf8("")) self.xval.setObjectName(_fromUtf8("xval")) self.gridLayout.addWidget(self.xval, 0, 1, 1, 1) self.label_3 = QtGui.QLabel(Dialog) self.label_3.setObjectName(_fromUtf8("label_3")) self.gridLayout.addWidget(self.label_3, 1, 0, 1, 1) self.label_5 = QtGui.QLabel(Dialog) self.label_5.setObjectName(_fromUtf8("label_5")) self.gridLayout.addWidget(self.label_5, 2, 0, 1, 1) self.counts = QtGui.QLabel(Dialog) self.counts.setFrameShape(QtGui.QFrame.StyledPanel) self.counts.setFrameShadow(QtGui.QFrame.Sunken) self.counts.setText(_fromUtf8("")) self.counts.setObjectName(_fromUtf8("counts")) self.gridLayout.addWidget(self.counts, 2, 1, 1, 1) self.label_7 = QtGui.QLabel(Dialog) self.label_7.setObjectName(_fromUtf8("label_7")) self.gridLayout.addWidget(self.label_7, 3, 0, 1, 1) self.background = QtGui.QLabel(Dialog) self.background.setFrameShape(QtGui.QFrame.StyledPanel) self.background.setFrameShadow(QtGui.QFrame.Sunken) self.background.setText(_fromUtf8("")) self.background.setObjectName(_fromUtf8("background")) self.gridLayout.addWidget(self.background, 3, 1, 1, 1) self.yval = QtGui.QLabel(Dialog) self.yval.setFrameShape(QtGui.QFrame.StyledPanel) self.yval.setFrameShadow(QtGui.QFrame.Sunken) self.yval.setText(_fromUtf8("")) self.yval.setObjectName(_fromUtf8("yval")) self.gridLayout.addWidget(self.yval, 1, 1, 1, 1) self.horizontalLayout.addLayout(self.gridLayout) self.qtframe = QtGui.QFrame(Dialog) self.qtframe.setMinimumSize(QtCore.QSize(200, 200)) self.qtframe.setMaximumSize(QtCore.QSize(200, 200)) self.qtframe.setFrameShape(QtGui.QFrame.StyledPanel) self.qtframe.setFrameShadow(QtGui.QFrame.Raised) self.qtframe.setObjectName(_fromUtf8("qtframe")) self.vis = MPL_Widget1(self.qtframe) self.vis.setGeometry(QtCore.QRect(0, 0, 200, 200)) self.vis.setMinimumSize(QtCore.QSize(200, 200)) self.vis.setMaximumSize(QtCore.QSize(200, 200)) self.vis.setObjectName(_fromUtf8("vis")) self.horizontalLayout.addWidget(self.qtframe) self.verticalLayout.addLayout(self.horizontalLayout) self.tabWidget = QtGui.QTabWidget(Dialog) self.tabWidget.setTabPosition(QtGui.QTabWidget.South) self.tabWidget.setTabShape(QtGui.QTabWidget.Rounded) self.tabWidget.setObjectName(_fromUtf8("tabWidget")) self.tab_3 = QtGui.QWidget() self.tab_3.setObjectName(_fromUtf8("tab_3")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.tab_3) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.radprof = MPL_Widget(self.tab_3) self.radprof.setMinimumSize(QtCore.QSize(300, 0)) self.radprof.setMaximumSize(QtCore.QSize(16777215, 1677215)) self.radprof.setObjectName(_fromUtf8("radprof")) self.verticalLayout_2.addWidget(self.radprof) self.tabWidget.addTab(self.tab_3, _fromUtf8("")) self.tab_4 = QtGui.QWidget() self.tab_4.setObjectName(_fromUtf8("tab_4")) self.verticalLayout_3 = QtGui.QVBoxLayout(self.tab_4) self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3")) self.horcut = MPL_Widget(self.tab_4) self.horcut.setMinimumSize(QtCore.QSize(300, 0)) self.horcut.setMaximumSize(QtCore.QSize(16777215, 1677215)) self.horcut.setObjectName(_fromUtf8("horcut")) self.verticalLayout_3.addWidget(self.horcut) self.tabWidget.addTab(self.tab_4, _fromUtf8("")) self.tab_5 = QtGui.QWidget() self.tab_5.setObjectName(_fromUtf8("tab_5")) self.verticalLayout_4 = QtGui.QVBoxLayout(self.tab_5) self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4")) self.vertcut = MPL_Widget(self.tab_5) self.vertcut.setMinimumSize(QtCore.QSize(300, 0)) self.vertcut.setMaximumSize(QtCore.QSize(16777215, 1677215)) self.vertcut.setObjectName(_fromUtf8("vertcut")) self.verticalLayout_4.addWidget(self.vertcut) self.tabWidget.addTab(self.tab_5, _fromUtf8("")) self.verticalLayout.addWidget(self.tabWidget) self.okbutton = QtGui.QPushButton(Dialog) self.okbutton.setMaximumSize(QtCore.QSize(75, 16777215)) self.okbutton.setObjectName(_fromUtf8("okbutton")) self.verticalLayout.addWidget(self.okbutton) self.retranslateUi(Dialog) self.tabWidget.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(Dialog) def retranslateUi(self, Dialog): Dialog.setWindowTitle(_translate("Dialog", "Details", None)) self.label.setText(_translate("Dialog", "X Center", None)) self.label_3.setText(_translate("Dialog", "Y Center", None)) self.label_5.setText(_translate("Dialog", "Counts", None)) self.label_7.setText(_translate("Dialog", "Background", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("Dialog", "Radial Profile", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_4), _translate("Dialog", "Horizontal", None)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_5), _translate("Dialog", "Vertical", None)) self.okbutton.setText(_translate("Dialog", "ok", None))
def setupUi(self, Form): Form.setObjectName("Form") Form.resize(662, 393) self.hboxlayout = QtGui.QHBoxLayout(Form) self.hboxlayout.setObjectName("hboxlayout") self.widget = QtGui.QWidget(Form) self.widget.setObjectName("widget") self.plotBtn = QtGui.QPushButton(self.widget) self.plotBtn.setGeometry(QtCore.QRect(130, 340, 71, 23)) self.plotBtn.setObjectName("plotBtn") self.save_figure_Button = QtGui.QPushButton(self.widget) self.save_figure_Button.setGeometry(QtCore.QRect(210, 340, 61, 23)) self.save_figure_Button.setObjectName("save_figure_Button") self.label = QtGui.QLabel(self.widget) self.label.setGeometry(QtCore.QRect(0, 10, 51, 21)) self.label.setObjectName("label") self.label_2 = QtGui.QLabel(self.widget) self.label_2.setGeometry(QtCore.QRect(0, 320, 71, 21)) self.label_2.setObjectName("label_2") self.funcexp = QtGui.QLineEdit(self.widget) self.funcexp.setGeometry(QtCore.QRect(80, 10, 221, 20)) self.funcexp.setObjectName("funcexp") self.data1 = QtGui.QTextEdit(self.widget) self.data1.setGeometry(QtCore.QRect(60, 130, 211, 181)) self.data1.setObjectName("data1") self.label_3 = QtGui.QLabel(self.widget) self.label_3.setGeometry(QtCore.QRect(0, 130, 31, 21)) self.label_3.setObjectName("label_3") self.plotWidget = MPL_Widget(self.widget) self.plotWidget.setGeometry(QtCore.QRect(300, 0, 361, 381)) self.plotWidget.setObjectName("plotWidget") self.label_6 = QtGui.QLabel(self.plotWidget) self.label_6.setGeometry(QtCore.QRect(130, 360, 111, 16)) self.label_6.setObjectName("label_6") self.comboBox = QtGui.QComboBox(self.widget) self.comboBox.setGeometry(QtCore.QRect(60, 320, 61, 20)) self.comboBox.setAcceptDrops(False) self.comboBox.setObjectName("comboBox") self.comboBox.addItem("") self.comboBox.addItem("") self.comboBox.addItem("") self.comboBox.addItem("") self.label_4 = QtGui.QLabel(self.widget) self.label_4.setGeometry(QtCore.QRect(0, 40, 71, 20)) self.label_4.setObjectName("label_4") self.label_5 = QtGui.QLabel(self.widget) self.label_5.setGeometry(QtCore.QRect(0, 70, 61, 20)) self.label_5.setObjectName("label_5") self.samplefreq = QtGui.QLineEdit(self.widget) self.samplefreq.setGeometry(QtCore.QRect(80, 40, 41, 20)) self.samplefreq.setObjectName("samplefreq") self.samplepoint = QtGui.QLineEdit(self.widget) self.samplepoint.setGeometry(QtCore.QRect(80, 70, 41, 20)) self.samplepoint.setObjectName("samplepoint") self.getdata_Button = QtGui.QPushButton(self.widget) self.getdata_Button.setGeometry(QtCore.QRect(210, 70, 71, 23)) self.getdata_Button.setObjectName("getdata_Button") self.label_8 = QtGui.QLabel(self.widget) self.label_8.setGeometry(QtCore.QRect(290, 280, 16, 16)) self.label_8.setObjectName("label_8") self.label_7 = QtGui.QLabel(self.widget) self.label_7.setGeometry(QtCore.QRect(290, 250, 21, 21)) self.label_7.setObjectName("label_7") self.sample_period_time = QtGui.QLineEdit(self.widget) self.sample_period_time.setGeometry(QtCore.QRect(230, 40, 41, 20)) self.sample_period_time.setObjectName("sample_period_time") self.label_9 = QtGui.QLabel(self.widget) self.label_9.setGeometry(QtCore.QRect(130, 40, 101, 20)) self.label_9.setObjectName("label_9") self.hboxlayout.addWidget(self.widget) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form)
def setupUi(self, arcons): arcons.setObjectName(_fromUtf8("arcons")) arcons.setEnabled(True) arcons.resize(731, 801) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(arcons.sizePolicy().hasHeightForWidth()) arcons.setSizePolicy(sizePolicy) arcons.setMouseTracking(True) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(_fromUtf8("Archon.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off) arcons.setWindowIcon(icon) arcons.setWindowFilePath(_fromUtf8("")) arcons.setAnimated(True) self.centralwidget = QtGui.QWidget(arcons) self.centralwidget.setObjectName(_fromUtf8("centralwidget")) self.frame = QtGui.QFrame(self.centralwidget) self.frame.setGeometry(QtCore.QRect(0, 0, 391, 151)) self.frame.setFrameShape(QtGui.QFrame.Box) self.frame.setFrameShadow(QtGui.QFrame.Sunken) self.frame.setObjectName(_fromUtf8("frame")) self.label = QtGui.QLabel(self.frame) self.label.setGeometry(QtCore.QRect(130, 10, 141, 21)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(18) font.setWeight(75) font.setBold(True) self.label.setFont(font) self.label.setObjectName(_fromUtf8("label")) self.array_temp_lcd = QtGui.QLCDNumber(self.frame) self.array_temp_lcd.setGeometry(QtCore.QRect(10, 40, 81, 41)) self.array_temp_lcd.setObjectName(_fromUtf8("array_temp_lcd")) self.pulse_tube_temp_lcd = QtGui.QLCDNumber(self.frame) self.pulse_tube_temp_lcd.setGeometry(QtCore.QRect(10, 90, 81, 41)) self.pulse_tube_temp_lcd.setObjectName(_fromUtf8("pulse_tube_temp_lcd")) self.label_3 = QtGui.QLabel(self.frame) self.label_3.setGeometry(QtCore.QRect(100, 50, 101, 21)) font = QtGui.QFont() font.setPointSize(14) self.label_3.setFont(font) self.label_3.setObjectName(_fromUtf8("label_3")) self.label_4 = QtGui.QLabel(self.frame) self.label_4.setGeometry(QtCore.QRect(100, 90, 121, 41)) font = QtGui.QFont() font.setPointSize(14) self.label_4.setFont(font) self.label_4.setObjectName(_fromUtf8("label_4")) self.open_shutter_radioButton = QtGui.QRadioButton(self.frame) self.open_shutter_radioButton.setEnabled(False) self.open_shutter_radioButton.setGeometry(QtCore.QRect(240, 90, 141, 41)) font = QtGui.QFont() font.setPointSize(14) self.open_shutter_radioButton.setFont(font) self.open_shutter_radioButton.setFocusPolicy(QtCore.Qt.NoFocus) self.open_shutter_radioButton.setAutoExclusive(False) self.open_shutter_radioButton.setObjectName(_fromUtf8("open_shutter_radioButton")) self.cycle_fridge_radioButton = QtGui.QRadioButton(self.frame) self.cycle_fridge_radioButton.setEnabled(False) self.cycle_fridge_radioButton.setGeometry(QtCore.QRect(240, 40, 141, 41)) font = QtGui.QFont() font.setPointSize(14) self.cycle_fridge_radioButton.setFont(font) self.cycle_fridge_radioButton.setFocusPolicy(QtCore.Qt.NoFocus) self.cycle_fridge_radioButton.setAutoExclusive(False) self.cycle_fridge_radioButton.setObjectName(_fromUtf8("cycle_fridge_radioButton")) self.lineEdit = QtGui.QLineEdit(self.frame) self.lineEdit.setGeometry(QtCore.QRect(80, 180, 113, 20)) self.lineEdit.setObjectName(_fromUtf8("lineEdit")) self.frame_2 = QtGui.QFrame(self.centralwidget) self.frame_2.setGeometry(QtCore.QRect(390, 0, 341, 181)) self.frame_2.setFrameShape(QtGui.QFrame.Box) self.frame_2.setFrameShadow(QtGui.QFrame.Sunken) self.frame_2.setObjectName(_fromUtf8("frame_2")) self.label_2 = QtGui.QLabel(self.frame_2) self.label_2.setGeometry(QtCore.QRect(120, 0, 261, 41)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(18) font.setWeight(75) font.setBold(True) self.label_2.setFont(font) self.label_2.setObjectName(_fromUtf8("label_2")) self.compass_graphicsView = QtGui.QGraphicsView(self.frame_2) self.compass_graphicsView.setGeometry(QtCore.QRect(50, 90, 81, 81)) self.compass_graphicsView.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff) self.compass_graphicsView.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff) self.compass_graphicsView.setInteractive(False) self.compass_graphicsView.setObjectName(_fromUtf8("compass_graphicsView")) self.label_5 = QtGui.QLabel(self.frame_2) self.label_5.setGeometry(QtCore.QRect(10, 40, 21, 21)) font = QtGui.QFont() font.setPointSize(10) self.label_5.setFont(font) self.label_5.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_5.setObjectName(_fromUtf8("label_5")) self.label_6 = QtGui.QLabel(self.frame_2) self.label_6.setGeometry(QtCore.QRect(10, 60, 21, 21)) font = QtGui.QFont() font.setPointSize(10) self.label_6.setFont(font) self.label_6.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_6.setObjectName(_fromUtf8("label_6")) self.label_7 = QtGui.QLabel(self.frame_2) self.label_7.setGeometry(QtCore.QRect(170, 120, 31, 21)) font = QtGui.QFont() font.setPointSize(10) self.label_7.setFont(font) self.label_7.setLayoutDirection(QtCore.Qt.RightToLeft) self.label_7.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_7.setObjectName(_fromUtf8("label_7")) self.label_8 = QtGui.QLabel(self.frame_2) self.label_8.setGeometry(QtCore.QRect(160, 40, 41, 21)) font = QtGui.QFont() font.setPointSize(10) self.label_8.setFont(font) self.label_8.setLayoutDirection(QtCore.Qt.RightToLeft) self.label_8.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_8.setObjectName(_fromUtf8("label_8")) self.label_9 = QtGui.QLabel(self.frame_2) self.label_9.setGeometry(QtCore.QRect(150, 60, 51, 21)) font = QtGui.QFont() font.setPointSize(10) self.label_9.setFont(font) self.label_9.setLayoutDirection(QtCore.Qt.RightToLeft) self.label_9.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_9.setObjectName(_fromUtf8("label_9")) self.label_10 = QtGui.QLabel(self.frame_2) self.label_10.setGeometry(QtCore.QRect(150, 140, 51, 21)) font = QtGui.QFont() font.setPointSize(10) self.label_10.setFont(font) self.label_10.setLayoutDirection(QtCore.Qt.RightToLeft) self.label_10.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_10.setObjectName(_fromUtf8("label_10")) self.label_11 = QtGui.QLabel(self.frame_2) self.label_11.setGeometry(QtCore.QRect(150, 80, 51, 21)) font = QtGui.QFont() font.setPointSize(10) self.label_11.setFont(font) self.label_11.setLayoutDirection(QtCore.Qt.RightToLeft) self.label_11.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_11.setObjectName(_fromUtf8("label_11")) self.label_12 = QtGui.QLabel(self.frame_2) self.label_12.setGeometry(QtCore.QRect(170, 100, 31, 21)) font = QtGui.QFont() font.setPointSize(10) self.label_12.setFont(font) self.label_12.setLayoutDirection(QtCore.Qt.RightToLeft) self.label_12.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_12.setObjectName(_fromUtf8("label_12")) self.status_label = QtGui.QLabel(self.frame_2) self.status_label.setGeometry(QtCore.QRect(10, 10, 101, 21)) font = QtGui.QFont() font.setPointSize(12) self.status_label.setFont(font) self.status_label.setFrameShape(QtGui.QFrame.Box) self.status_label.setObjectName(_fromUtf8("status_label")) self.local_time_label = QtGui.QLabel(self.frame_2) self.local_time_label.setGeometry(QtCore.QRect(210, 140, 111, 21)) font = QtGui.QFont() font.setPointSize(12) self.local_time_label.setFont(font) self.local_time_label.setFrameShape(QtGui.QFrame.Box) self.local_time_label.setText(_fromUtf8("")) self.local_time_label.setObjectName(_fromUtf8("local_time_label")) self.utc_label = QtGui.QLabel(self.frame_2) self.utc_label.setGeometry(QtCore.QRect(210, 120, 111, 21)) font = QtGui.QFont() font.setPointSize(12) self.utc_label.setFont(font) self.utc_label.setFrameShape(QtGui.QFrame.Box) self.utc_label.setText(_fromUtf8("")) self.utc_label.setObjectName(_fromUtf8("utc_label")) self.lst_label = QtGui.QLabel(self.frame_2) self.lst_label.setGeometry(QtCore.QRect(210, 100, 111, 21)) font = QtGui.QFont() font.setPointSize(12) self.lst_label.setFont(font) self.lst_label.setFrameShape(QtGui.QFrame.Box) self.lst_label.setText(_fromUtf8("")) self.lst_label.setObjectName(_fromUtf8("lst_label")) self.airmass_label = QtGui.QLabel(self.frame_2) self.airmass_label.setGeometry(QtCore.QRect(210, 80, 111, 21)) font = QtGui.QFont() font.setPointSize(12) self.airmass_label.setFont(font) self.airmass_label.setFrameShape(QtGui.QFrame.Box) self.airmass_label.setText(_fromUtf8("")) self.airmass_label.setObjectName(_fromUtf8("airmass_label")) self.az_label = QtGui.QLabel(self.frame_2) self.az_label.setGeometry(QtCore.QRect(210, 60, 111, 21)) font = QtGui.QFont() font.setPointSize(12) self.az_label.setFont(font) self.az_label.setFrameShape(QtGui.QFrame.Box) self.az_label.setText(_fromUtf8("")) self.az_label.setObjectName(_fromUtf8("az_label")) self.alt_label = QtGui.QLabel(self.frame_2) self.alt_label.setGeometry(QtCore.QRect(210, 40, 111, 21)) font = QtGui.QFont() font.setPointSize(12) self.alt_label.setFont(font) self.alt_label.setFrameShape(QtGui.QFrame.Box) self.alt_label.setText(_fromUtf8("")) self.alt_label.setObjectName(_fromUtf8("alt_label")) self.ra_label = QtGui.QLabel(self.frame_2) self.ra_label.setGeometry(QtCore.QRect(40, 40, 101, 21)) font = QtGui.QFont() font.setPointSize(12) self.ra_label.setFont(font) self.ra_label.setFrameShape(QtGui.QFrame.Box) self.ra_label.setText(_fromUtf8("")) self.ra_label.setObjectName(_fromUtf8("ra_label")) self.dec_label = QtGui.QLabel(self.frame_2) self.dec_label.setGeometry(QtCore.QRect(40, 60, 101, 21)) font = QtGui.QFont() font.setPointSize(12) self.dec_label.setFont(font) self.dec_label.setFrameShape(QtGui.QFrame.Box) self.dec_label.setText(_fromUtf8("")) self.dec_label.setObjectName(_fromUtf8("dec_label")) self.frame_3 = QtGui.QFrame(self.centralwidget) self.frame_3.setGeometry(QtCore.QRect(0, 150, 391, 361)) self.frame_3.setFrameShape(QtGui.QFrame.Box) self.frame_3.setFrameShadow(QtGui.QFrame.Sunken) self.frame_3.setObjectName(_fromUtf8("frame_3")) self.save_raw_checkBox = QtGui.QCheckBox(self.frame_3) self.save_raw_checkBox.setEnabled(False) self.save_raw_checkBox.setGeometry(QtCore.QRect(300, 70, 91, 21)) font = QtGui.QFont() font.setPointSize(12) self.save_raw_checkBox.setFont(font) self.save_raw_checkBox.setObjectName(_fromUtf8("save_raw_checkBox")) self.data_directory_lineEdit = QtGui.QLineEdit(self.frame_3) self.data_directory_lineEdit.setGeometry(QtCore.QRect(110, 40, 201, 21)) self.data_directory_lineEdit.setObjectName(_fromUtf8("data_directory_lineEdit")) self.label_14 = QtGui.QLabel(self.frame_3) self.label_14.setGeometry(QtCore.QRect(10, 40, 91, 21)) font = QtGui.QFont() font.setPointSize(12) self.label_14.setFont(font) self.label_14.setObjectName(_fromUtf8("label_14")) self.label_16 = QtGui.QLabel(self.frame_3) self.label_16.setGeometry(QtCore.QRect(20, 190, 91, 31)) font = QtGui.QFont() font.setPointSize(11) self.label_16.setFont(font) self.label_16.setObjectName(_fromUtf8("label_16")) self.label_13 = QtGui.QLabel(self.frame_3) self.label_13.setGeometry(QtCore.QRect(150, 0, 111, 41)) font = QtGui.QFont() font.setFamily(_fromUtf8("Arial")) font.setPointSize(18) font.setWeight(75) font.setBold(True) self.label_13.setFont(font) self.label_13.setObjectName(_fromUtf8("label_13")) self.label_15 = QtGui.QLabel(self.frame_3) self.label_15.setGeometry(QtCore.QRect(20, 150, 111, 31)) font = QtGui.QFont() font.setPointSize(11) self.label_15.setFont(font) self.label_15.setObjectName(_fromUtf8("label_15")) self.calibrate_data_checkBox = QtGui.QCheckBox(self.frame_3) self.calibrate_data_checkBox.setEnabled(False) self.calibrate_data_checkBox.setGeometry(QtCore.QRect(280, 100, 121, 21)) font = QtGui.QFont() font.setPointSize(12) self.calibrate_data_checkBox.setFont(font) self.calibrate_data_checkBox.setObjectName(_fromUtf8("calibrate_data_checkBox")) self.stop_observation_pushButton = QtGui.QPushButton(self.frame_3) self.stop_observation_pushButton.setGeometry(QtCore.QRect(190, 190, 181, 41)) font = QtGui.QFont() font.setPointSize(10) self.stop_observation_pushButton.setFont(font) self.stop_observation_pushButton.setObjectName(_fromUtf8("stop_observation_pushButton")) self.start_observation_pushButton = QtGui.QPushButton(self.frame_3) self.start_observation_pushButton.setGeometry(QtCore.QRect(190, 140, 181, 51)) font = QtGui.QFont() font.setPointSize(14) self.start_observation_pushButton.setFont(font) self.start_observation_pushButton.setObjectName(_fromUtf8("start_observation_pushButton")) self.close_pushButton = QtGui.QPushButton(self.frame_3) self.close_pushButton.setGeometry(QtCore.QRect(50, 310, 121, 41)) self.close_pushButton.setObjectName(_fromUtf8("close_pushButton")) self.search_pushButton = QtGui.QPushButton(self.frame_3) self.search_pushButton.setGeometry(QtCore.QRect(320, 40, 61, 21)) self.search_pushButton.setObjectName(_fromUtf8("search_pushButton")) self.obs_time_spinBox = QtGui.QSpinBox(self.frame_3) self.obs_time_spinBox.setGeometry(QtCore.QRect(110, 150, 71, 31)) font = QtGui.QFont() font.setPointSize(12) self.obs_time_spinBox.setFont(font) self.obs_time_spinBox.setMaximum(99999) self.obs_time_spinBox.setProperty(_fromUtf8("value"), 30) self.obs_time_spinBox.setObjectName(_fromUtf8("obs_time_spinBox")) self.remaining_time_lcdNumber = QtGui.QLCDNumber(self.frame_3) self.remaining_time_lcdNumber.setGeometry(QtCore.QRect(110, 190, 61, 31)) self.remaining_time_lcdNumber.setObjectName(_fromUtf8("remaining_time_lcdNumber")) self.frequency_tuneup_pushButton = QtGui.QPushButton(self.frame_3) self.frequency_tuneup_pushButton.setEnabled(False) self.frequency_tuneup_pushButton.setGeometry(QtCore.QRect(50, 250, 121, 51)) self.frequency_tuneup_pushButton.setObjectName(_fromUtf8("frequency_tuneup_pushButton")) self.file_name_lineEdit = QtGui.QLineEdit(self.frame_3) self.file_name_lineEdit.setEnabled(False) self.file_name_lineEdit.setGeometry(QtCore.QRect(82, 70, 211, 22)) self.file_name_lineEdit.setText(_fromUtf8("")) self.file_name_lineEdit.setObjectName(_fromUtf8("file_name_lineEdit")) self.target_lineEdit = QtGui.QLineEdit(self.frame_3) self.target_lineEdit.setGeometry(QtCore.QRect(100, 100, 171, 22)) self.target_lineEdit.setObjectName(_fromUtf8("target_lineEdit")) self.label_20 = QtGui.QLabel(self.frame_3) self.label_20.setGeometry(QtCore.QRect(10, 70, 91, 20)) font = QtGui.QFont() font.setPointSize(12) self.label_20.setFont(font) self.label_20.setObjectName(_fromUtf8("label_20")) self.label_21 = QtGui.QLabel(self.frame_3) self.label_21.setGeometry(QtCore.QRect(10, 100, 91, 17)) font = QtGui.QFont() font.setPointSize(12) self.label_21.setFont(font) self.label_21.setObjectName(_fromUtf8("label_21")) self.frame_6 = QtGui.QFrame(self.frame_3) self.frame_6.setGeometry(QtCore.QRect(210, 240, 141, 111)) self.frame_6.setFrameShape(QtGui.QFrame.StyledPanel) self.frame_6.setFrameShadow(QtGui.QFrame.Raised) self.frame_6.setObjectName(_fromUtf8("frame_6")) self.subtract_sky_radioButton = QtGui.QRadioButton(self.frame_6) self.subtract_sky_radioButton.setGeometry(QtCore.QRect(20, 0, 111, 31)) font = QtGui.QFont() font.setPointSize(12) self.subtract_sky_radioButton.setFont(font) self.subtract_sky_radioButton.setChecked(False) self.subtract_sky_radioButton.setAutoExclusive(False) self.subtract_sky_radioButton.setObjectName(_fromUtf8("subtract_sky_radioButton")) self.image_color_radioButton = QtGui.QRadioButton(self.frame_6) self.image_color_radioButton.setEnabled(False) self.image_color_radioButton.setGeometry(QtCore.QRect(20, 20, 111, 31)) font = QtGui.QFont() font.setPointSize(12) self.image_color_radioButton.setFont(font) self.image_color_radioButton.setChecked(False) self.image_color_radioButton.setAutoExclusive(False) self.image_color_radioButton.setObjectName(_fromUtf8("image_color_radioButton")) self.int_time_spinBox = QtGui.QSpinBox(self.frame_6) self.int_time_spinBox.setGeometry(QtCore.QRect(10, 50, 51, 22)) self.int_time_spinBox.setMaximum(9999) self.int_time_spinBox.setProperty(_fromUtf8("value"), 1) self.int_time_spinBox.setObjectName(_fromUtf8("int_time_spinBox")) self.label_19 = QtGui.QLabel(self.frame_6) self.label_19.setGeometry(QtCore.QRect(60, 50, 81, 21)) font = QtGui.QFont() font.setPointSize(10) self.label_19.setFont(font) self.label_19.setObjectName(_fromUtf8("label_19")) self.options_radioButton = QtGui.QRadioButton(self.frame_6) self.options_radioButton.setGeometry(QtCore.QRect(10, 80, 121, 21)) font = QtGui.QFont() font.setPointSize(10) self.options_radioButton.setFont(font) self.options_radioButton.setObjectName(_fromUtf8("options_radioButton")) self.frame_4 = QtGui.QFrame(self.centralwidget) self.frame_4.setGeometry(QtCore.QRect(390, 180, 341, 331)) self.frame_4.setFrameShape(QtGui.QFrame.Box) self.frame_4.setFrameShadow(QtGui.QFrame.Sunken) self.frame_4.setObjectName(_fromUtf8("frame_4")) self.tv_image = QtGui.QGraphicsView(self.frame_4) self.tv_image.setGeometry(QtCore.QRect(10, 0, 321, 321)) self.tv_image.setMouseTracking(True) self.tv_image.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff) self.tv_image.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff) self.tv_image.setAlignment(QtCore.Qt.AlignHCenter|QtCore.Qt.AlignTop) self.tv_image.setObjectName(_fromUtf8("tv_image")) self.frame_5 = QtGui.QFrame(self.centralwidget) self.frame_5.setGeometry(QtCore.QRect(0, 510, 731, 241)) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.frame_5.sizePolicy().hasHeightForWidth()) self.frame_5.setSizePolicy(sizePolicy) self.frame_5.setFrameShape(QtGui.QFrame.Box) self.frame_5.setFrameShadow(QtGui.QFrame.Sunken) self.frame_5.setObjectName(_fromUtf8("frame_5")) self.spectra_plot = MPL_Widget(self.frame_5) self.spectra_plot.setGeometry(QtCore.QRect(230, 0, 491, 241)) self.spectra_plot.setObjectName(_fromUtf8("spectra_plot")) self.pixel_number_label = QtGui.QLabel(self.frame_5) self.pixel_number_label.setGeometry(QtCore.QRect(30, 50, 131, 31)) self.pixel_number_label.setFrameShape(QtGui.QFrame.NoFrame) self.pixel_number_label.setAlignment(QtCore.Qt.AlignCenter) self.pixel_number_label.setObjectName(_fromUtf8("pixel_number_label")) self.pixel_no_lcd = QtGui.QLCDNumber(self.frame_5) self.pixel_no_lcd.setGeometry(QtCore.QRect(50, 100, 81, 31)) self.pixel_no_lcd.setObjectName(_fromUtf8("pixel_no_lcd")) self.groupBox = QtGui.QGroupBox(self.centralwidget) self.groupBox.setGeometry(QtCore.QRect(740, 10, 181, 191)) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.drag_select_radioButton = QtGui.QRadioButton(self.groupBox) self.drag_select_radioButton.setGeometry(QtCore.QRect(10, 30, 141, 31)) self.drag_select_radioButton.setAutoExclusive(False) self.drag_select_radioButton.setObjectName(_fromUtf8("drag_select_radioButton")) self.mode_buttonGroup = QtGui.QButtonGroup(arcons) self.mode_buttonGroup.setObjectName(_fromUtf8("mode_buttonGroup")) self.mode_buttonGroup.addButton(self.drag_select_radioButton) self.rect_select_radioButton = QtGui.QRadioButton(self.groupBox) self.rect_select_radioButton.setGeometry(QtCore.QRect(10, 70, 161, 21)) self.rect_select_radioButton.setChecked(True) self.rect_select_radioButton.setAutoExclusive(False) self.rect_select_radioButton.setObjectName(_fromUtf8("rect_select_radioButton")) self.mode_buttonGroup.addButton(self.rect_select_radioButton) self.rect_x_spinBox = QtGui.QSpinBox(self.groupBox) self.rect_x_spinBox.setGeometry(QtCore.QRect(40, 90, 57, 31)) self.rect_x_spinBox.setMinimum(1) self.rect_x_spinBox.setMaximum(32) self.rect_x_spinBox.setProperty(_fromUtf8("value"), 1) self.rect_x_spinBox.setObjectName(_fromUtf8("rect_x_spinBox")) self.rect_y_spinBox = QtGui.QSpinBox(self.groupBox) self.rect_y_spinBox.setGeometry(QtCore.QRect(120, 90, 57, 31)) self.rect_y_spinBox.setMinimum(1) self.rect_y_spinBox.setMaximum(32) self.rect_y_spinBox.setProperty(_fromUtf8("value"), 1) self.rect_y_spinBox.setObjectName(_fromUtf8("rect_y_spinBox")) self.label_23 = QtGui.QLabel(self.groupBox) self.label_23.setGeometry(QtCore.QRect(30, 90, 16, 31)) self.label_23.setObjectName(_fromUtf8("label_23")) self.label_24 = QtGui.QLabel(self.groupBox) self.label_24.setGeometry(QtCore.QRect(110, 90, 16, 31)) self.label_24.setObjectName(_fromUtf8("label_24")) self.circ_select_radioButton = QtGui.QRadioButton(self.groupBox) self.circ_select_radioButton.setGeometry(QtCore.QRect(10, 130, 151, 21)) self.circ_select_radioButton.setAutoExclusive(False) self.circ_select_radioButton.setObjectName(_fromUtf8("circ_select_radioButton")) self.mode_buttonGroup.addButton(self.circ_select_radioButton) self.circ_r_spinBox = QtGui.QSpinBox(self.groupBox) self.circ_r_spinBox.setGeometry(QtCore.QRect(40, 150, 57, 31)) self.circ_r_spinBox.setMinimum(0) self.circ_r_spinBox.setMaximum(16) self.circ_r_spinBox.setProperty(_fromUtf8("value"), 0) self.circ_r_spinBox.setObjectName(_fromUtf8("circ_r_spinBox")) self.label_25 = QtGui.QLabel(self.groupBox) self.label_25.setGeometry(QtCore.QRect(30, 150, 16, 31)) self.label_25.setObjectName(_fromUtf8("label_25")) self.label_18 = QtGui.QLabel(self.centralwidget) self.label_18.setGeometry(QtCore.QRect(740, 680, 46, 13)) self.label_18.setObjectName(_fromUtf8("label_18")) self.label_17 = QtGui.QLabel(self.centralwidget) self.label_17.setGeometry(QtCore.QRect(740, 640, 46, 13)) self.label_17.setObjectName(_fromUtf8("label_17")) self.RA_lineEdit = QtGui.QLineEdit(self.centralwidget) self.RA_lineEdit.setEnabled(False) self.RA_lineEdit.setGeometry(QtCore.QRect(740, 650, 113, 20)) self.RA_lineEdit.setObjectName(_fromUtf8("RA_lineEdit")) self.Dec_lineEdit = QtGui.QLineEdit(self.centralwidget) self.Dec_lineEdit.setEnabled(False) self.Dec_lineEdit.setGeometry(QtCore.QRect(740, 690, 113, 20)) self.Dec_lineEdit.setObjectName(_fromUtf8("Dec_lineEdit")) self.simple_imaging_radioButton = QtGui.QRadioButton(self.centralwidget) self.simple_imaging_radioButton.setEnabled(False) self.simple_imaging_radioButton.setGeometry(QtCore.QRect(740, 720, 211, 21)) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.simple_imaging_radioButton.sizePolicy().hasHeightForWidth()) self.simple_imaging_radioButton.setSizePolicy(sizePolicy) self.simple_imaging_radioButton.setCheckable(True) self.simple_imaging_radioButton.setChecked(False) self.simple_imaging_radioButton.setAutoExclusive(False) self.simple_imaging_radioButton.setObjectName(_fromUtf8("simple_imaging_radioButton")) self.label_26 = QtGui.QLabel(self.centralwidget) self.label_26.setGeometry(QtCore.QRect(740, 610, 101, 17)) self.label_26.setObjectName(_fromUtf8("label_26")) self.choose_beamimage = QtGui.QPushButton(self.centralwidget) self.choose_beamimage.setGeometry(QtCore.QRect(740, 210, 171, 41)) self.choose_beamimage.setObjectName(_fromUtf8("choose_beamimage")) self.choose_bindir = QtGui.QPushButton(self.centralwidget) self.choose_bindir.setGeometry(QtCore.QRect(740, 250, 171, 41)) self.choose_bindir.setObjectName(_fromUtf8("choose_bindir")) self.brightpix = QtGui.QSpinBox(self.centralwidget) self.brightpix.setGeometry(QtCore.QRect(750, 300, 57, 25)) self.brightpix.setMaximum(1024) self.brightpix.setProperty(_fromUtf8("value"), 40) self.brightpix.setObjectName(_fromUtf8("brightpix")) self.label_22 = QtGui.QLabel(self.centralwidget) self.label_22.setGeometry(QtCore.QRect(811, 300, 91, 21)) self.label_22.setObjectName(_fromUtf8("label_22")) self.takesky = QtGui.QPushButton(self.centralwidget) self.takesky.setGeometry(QtCore.QRect(740, 380, 171, 51)) self.takesky.setObjectName(_fromUtf8("takesky")) arcons.setCentralWidget(self.centralwidget) self.menubar = QtGui.QMenuBar(arcons) self.menubar.setGeometry(QtCore.QRect(0, 0, 731, 22)) self.menubar.setObjectName(_fromUtf8("menubar")) arcons.setMenuBar(self.menubar) self.statusbar = QtGui.QStatusBar(arcons) self.statusbar.setObjectName(_fromUtf8("statusbar")) arcons.setStatusBar(self.statusbar) self.retranslateUi(arcons) QtCore.QObject.connect(self.close_pushButton, QtCore.SIGNAL(_fromUtf8("clicked()")), arcons.close) QtCore.QMetaObject.connectSlotsByName(arcons)
class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow.setObjectName("MainWindow") MainWindow.resize(987, 673) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap("games.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) MainWindow.setWindowIcon(icon) MainWindow.setIconSize(QtCore.QSize(30, 30)) self.centralwidget = QtGui.QWidget(MainWindow) self.centralwidget.setObjectName("centralwidget") self.hboxlayout = QtGui.QHBoxLayout(self.centralwidget) self.hboxlayout.setObjectName("hboxlayout") self.tabWidget = QtGui.QTabWidget(self.centralwidget) self.tabWidget.setEnabled(True) self.tabWidget.setObjectName("tabWidget") self.tab = QtGui.QWidget() self.tab.setObjectName("tab") self.vboxlayout = QtGui.QVBoxLayout(self.tab) self.vboxlayout.setObjectName("vboxlayout") self.hboxlayout1 = QtGui.QHBoxLayout() self.hboxlayout1.setObjectName("hboxlayout1") self.vboxlayout1 = QtGui.QVBoxLayout() self.vboxlayout1.setObjectName("vboxlayout1") self.hboxlayout2 = QtGui.QHBoxLayout() self.hboxlayout2.setObjectName("hboxlayout2") self.getFolderBtn = QtGui.QPushButton(self.tab) self.getFolderBtn.setObjectName("getFolderBtn") self.hboxlayout2.addWidget(self.getFolderBtn) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout2.addItem(spacerItem) self.vboxlayout1.addLayout(self.hboxlayout2) self.vboxlayout2 = QtGui.QVBoxLayout() self.vboxlayout2.setObjectName("vboxlayout2") self.hboxlayout3 = QtGui.QHBoxLayout() self.hboxlayout3.setObjectName("hboxlayout3") self.label_25 = QtGui.QLabel(self.tab) self.label_25.setObjectName("label_25") self.hboxlayout3.addWidget(self.label_25) self.curFolderLE = QtGui.QLineEdit(self.tab) self.curFolderLE.setReadOnly(True) self.curFolderLE.setObjectName("curFolderLE") self.hboxlayout3.addWidget(self.curFolderLE) self.vboxlayout2.addLayout(self.hboxlayout3) self.label_21 = QtGui.QLabel(self.tab) self.label_21.setObjectName("label_21") self.vboxlayout2.addWidget(self.label_21) self.dirListWidget = QtGui.QListWidget(self.tab) self.dirListWidget.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection) self.dirListWidget.setObjectName("dirListWidget") self.vboxlayout2.addWidget(self.dirListWidget) self.vboxlayout1.addLayout(self.vboxlayout2) self.hboxlayout1.addLayout(self.vboxlayout1) self.vboxlayout3 = QtGui.QVBoxLayout() self.vboxlayout3.setObjectName("vboxlayout3") self.hboxlayout4 = QtGui.QHBoxLayout() self.hboxlayout4.setObjectName("hboxlayout4") self.label = QtGui.QLabel(self.tab) self.label.setObjectName("label") self.hboxlayout4.addWidget(self.label) self.xcmsMethodCB = QtGui.QComboBox(self.tab) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.xcmsMethodCB.sizePolicy().hasHeightForWidth()) self.xcmsMethodCB.setSizePolicy(sizePolicy) self.xcmsMethodCB.setObjectName("xcmsMethodCB") self.hboxlayout4.addWidget(self.xcmsMethodCB) self.vboxlayout3.addLayout(self.hboxlayout4) self.useRetcor_CB = QtGui.QCheckBox(self.tab) self.useRetcor_CB.setObjectName("useRetcor_CB") self.vboxlayout3.addWidget(self.useRetcor_CB) self.vboxlayout4 = QtGui.QVBoxLayout() self.vboxlayout4.setObjectName("vboxlayout4") self.label_2 = QtGui.QLabel(self.tab) self.label_2.setObjectName("label_2") self.vboxlayout4.addWidget(self.label_2) self.paramTableWidget = CustomTable(self.tab) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.paramTableWidget.sizePolicy().hasHeightForWidth()) self.paramTableWidget.setSizePolicy(sizePolicy) self.paramTableWidget.setRowCount(0) self.paramTableWidget.setColumnCount(0) self.paramTableWidget.setObjectName("paramTableWidget") self.paramTableWidget.setColumnCount(0) self.paramTableWidget.setRowCount(0) self.vboxlayout4.addWidget(self.paramTableWidget) self.vboxlayout3.addLayout(self.vboxlayout4) self.hboxlayout1.addLayout(self.vboxlayout3) self.vboxlayout.addLayout(self.hboxlayout1) self.vboxlayout5 = QtGui.QVBoxLayout() self.vboxlayout5.setObjectName("vboxlayout5") self.hboxlayout5 = QtGui.QHBoxLayout() self.hboxlayout5.setObjectName("hboxlayout5") spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout5.addItem(spacerItem1) self.runXCMSBtn = QtGui.QToolButton(self.tab) icon1 = QtGui.QIcon() icon1.addPixmap(QtGui.QPixmap("applications.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.runXCMSBtn.setIcon(icon1) self.runXCMSBtn.setIconSize(QtCore.QSize(30, 30)) self.runXCMSBtn.setObjectName("runXCMSBtn") self.hboxlayout5.addWidget(self.runXCMSBtn) self.vboxlayout5.addLayout(self.hboxlayout5) self.label_3 = QtGui.QLabel(self.tab) self.label_3.setObjectName("label_3") self.vboxlayout5.addWidget(self.label_3) self.RoutputTE = QtGui.QTextEdit(self.tab) self.RoutputTE.setReadOnly(True) self.RoutputTE.setObjectName("RoutputTE") self.vboxlayout5.addWidget(self.RoutputTE) self.vboxlayout.addLayout(self.vboxlayout5) self.tabWidget.addTab(self.tab, "") self.tab_2 = QtGui.QWidget() self.tab_2.setObjectName("tab_2") self.gridlayout = QtGui.QGridLayout(self.tab_2) self.gridlayout.setObjectName("gridlayout") self.vboxlayout6 = QtGui.QVBoxLayout() self.vboxlayout6.setObjectName("vboxlayout6") self.hboxlayout6 = QtGui.QHBoxLayout() self.hboxlayout6.setObjectName("hboxlayout6") self.label_6 = QtGui.QLabel(self.tab_2) self.label_6.setObjectName("label_6") self.hboxlayout6.addWidget(self.label_6) self.eicIndexSlider = QtGui.QSlider(self.tab_2) self.eicIndexSlider.setMaximum(10000) self.eicIndexSlider.setOrientation(QtCore.Qt.Horizontal) self.eicIndexSlider.setObjectName("eicIndexSlider") self.hboxlayout6.addWidget(self.eicIndexSlider) self.eicIndexSB = QtGui.QSpinBox(self.tab_2) self.eicIndexSB.setMaximum(10000) self.eicIndexSB.setObjectName("eicIndexSB") self.hboxlayout6.addWidget(self.eicIndexSB) self.vboxlayout6.addLayout(self.hboxlayout6) self.plotWidget = MPL_Widget(self.tab_2) self.plotWidget.setObjectName("plotWidget") self.vboxlayout6.addWidget(self.plotWidget) self.gridlayout.addLayout(self.vboxlayout6, 0, 0, 1, 1) self.hboxlayout7 = QtGui.QHBoxLayout() self.hboxlayout7.setObjectName("hboxlayout7") self.vboxlayout7 = QtGui.QVBoxLayout() self.vboxlayout7.setObjectName("vboxlayout7") self.hboxlayout8 = QtGui.QHBoxLayout() self.hboxlayout8.setObjectName("hboxlayout8") self.label_7 = QtGui.QLabel(self.tab_2) self.label_7.setObjectName("label_7") self.hboxlayout8.addWidget(self.label_7) self.eicCurFolderLE = QtGui.QLineEdit(self.tab_2) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.eicCurFolderLE.sizePolicy().hasHeightForWidth()) self.eicCurFolderLE.setSizePolicy(sizePolicy) self.eicCurFolderLE.setReadOnly(True) self.eicCurFolderLE.setObjectName("eicCurFolderLE") self.hboxlayout8.addWidget(self.eicCurFolderLE) self.vboxlayout7.addLayout(self.hboxlayout8) self.hboxlayout9 = QtGui.QHBoxLayout() self.hboxlayout9.setObjectName("hboxlayout9") self.label_5 = QtGui.QLabel(self.tab_2) self.label_5.setLayoutDirection(QtCore.Qt.LeftToRight) self.label_5.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_5.setObjectName("label_5") self.hboxlayout9.addWidget(self.label_5) self.mzStartSB = QtGui.QDoubleSpinBox(self.tab_2) self.mzStartSB.setDecimals(4) self.mzStartSB.setMaximum(100000.0) self.mzStartSB.setSingleStep(0.05) self.mzStartSB.setProperty("value", QtCore.QVariant(215.15)) self.mzStartSB.setObjectName("mzStartSB") self.hboxlayout9.addWidget(self.mzStartSB) self.vboxlayout7.addLayout(self.hboxlayout9) self.hboxlayout10 = QtGui.QHBoxLayout() self.hboxlayout10.setObjectName("hboxlayout10") self.label_4 = QtGui.QLabel(self.tab_2) self.label_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_4.setObjectName("label_4") self.hboxlayout10.addWidget(self.label_4) self.mzStopSB = QtGui.QDoubleSpinBox(self.tab_2) self.mzStopSB.setDecimals(4) self.mzStopSB.setMaximum(100000.0) self.mzStopSB.setSingleStep(0.05) self.mzStopSB.setProperty("value", QtCore.QVariant(227.15)) self.mzStopSB.setObjectName("mzStopSB") self.hboxlayout10.addWidget(self.mzStopSB) self.vboxlayout7.addLayout(self.hboxlayout10) self.hboxlayout11 = QtGui.QHBoxLayout() self.hboxlayout11.setObjectName("hboxlayout11") self.label_11 = QtGui.QLabel(self.tab_2) self.label_11.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_11.setObjectName("label_11") self.hboxlayout11.addWidget(self.label_11) self.rtWidthSB = QtGui.QDoubleSpinBox(self.tab_2) self.rtWidthSB.setDecimals(1) self.rtWidthSB.setMinimum(1.0) self.rtWidthSB.setMaximum(100000.0) self.rtWidthSB.setSingleStep(1.0) self.rtWidthSB.setProperty("value", QtCore.QVariant(200.0)) self.rtWidthSB.setObjectName("rtWidthSB") self.hboxlayout11.addWidget(self.rtWidthSB) self.vboxlayout7.addLayout(self.hboxlayout11) self.hboxlayout12 = QtGui.QHBoxLayout() self.hboxlayout12.setObjectName("hboxlayout12") self.label_12 = QtGui.QLabel(self.tab_2) self.label_12.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) self.label_12.setObjectName("label_12") self.hboxlayout12.addWidget(self.label_12) self.rtWidthSB_Stop = QtGui.QDoubleSpinBox(self.tab_2) self.rtWidthSB_Stop.setDecimals(1) self.rtWidthSB_Stop.setMinimum(-1.0) self.rtWidthSB_Stop.setMaximum(100000.0) self.rtWidthSB_Stop.setSingleStep(1.0) self.rtWidthSB_Stop.setProperty("value", QtCore.QVariant(-1.0)) self.rtWidthSB_Stop.setObjectName("rtWidthSB_Stop") self.hboxlayout12.addWidget(self.rtWidthSB_Stop) self.vboxlayout7.addLayout(self.hboxlayout12) self.rtTypeCB = QtGui.QCheckBox(self.tab_2) self.rtTypeCB.setChecked(True) self.rtTypeCB.setObjectName("rtTypeCB") self.vboxlayout7.addWidget(self.rtTypeCB) self.fillPeaks_CB = QtGui.QCheckBox(self.tab_2) self.fillPeaks_CB.setChecked(False) self.fillPeaks_CB.setObjectName("fillPeaks_CB") self.vboxlayout7.addWidget(self.fillPeaks_CB) self.plotLegendCB = QtGui.QCheckBox(self.tab_2) self.plotLegendCB.setChecked(False) self.plotLegendCB.setObjectName("plotLegendCB") self.vboxlayout7.addWidget(self.plotLegendCB) self.getEICBtn = QtGui.QPushButton(self.tab_2) self.getEICBtn.setObjectName("getEICBtn") self.vboxlayout7.addWidget(self.getEICBtn) spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.vboxlayout7.addItem(spacerItem2) self.hboxlayout7.addLayout(self.vboxlayout7) self.gridlayout.addLayout(self.hboxlayout7, 0, 1, 1, 1) self.tabWidget.addTab(self.tab_2, "") self.tab_4 = QtGui.QWidget() self.tab_4.setObjectName("tab_4") self.vboxlayout8 = QtGui.QVBoxLayout(self.tab_4) self.vboxlayout8.setObjectName("vboxlayout8") self.hboxlayout13 = QtGui.QHBoxLayout() self.hboxlayout13.setObjectName("hboxlayout13") self.loadRPY2BatchBtn = QtGui.QPushButton(self.tab_4) self.loadRPY2BatchBtn.setEnabled(False) self.loadRPY2BatchBtn.setObjectName("loadRPY2BatchBtn") self.hboxlayout13.addWidget(self.loadRPY2BatchBtn) spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout13.addItem(spacerItem3) self.vboxlayout8.addLayout(self.hboxlayout13) self.batchScriptTE = QtGui.QTextEdit(self.tab_4) self.batchScriptTE.setEnabled(False) self.batchScriptTE.setObjectName("batchScriptTE") self.vboxlayout8.addWidget(self.batchScriptTE) self.hboxlayout14 = QtGui.QHBoxLayout() self.hboxlayout14.setObjectName("hboxlayout14") spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.hboxlayout14.addItem(spacerItem4) self.runBatchBtn = QtGui.QPushButton(self.tab_4) self.runBatchBtn.setEnabled(False) self.runBatchBtn.setObjectName("runBatchBtn") self.hboxlayout14.addWidget(self.runBatchBtn) self.vboxlayout8.addLayout(self.hboxlayout14) self.tabWidget.addTab(self.tab_4, "") self.tab_3 = QtGui.QWidget() self.tab_3.setObjectName("tab_3") self.hboxlayout15 = QtGui.QHBoxLayout(self.tab_3) self.hboxlayout15.setObjectName("hboxlayout15") self.gridlayout1 = QtGui.QGridLayout() self.gridlayout1.setObjectName("gridlayout1") self.gridlayout2 = QtGui.QGridLayout() self.gridlayout2.setObjectName("gridlayout2") self.gridlayout3 = QtGui.QGridLayout() self.gridlayout3.setObjectName("gridlayout3") self.killRBtn = QtGui.QPushButton(self.tab_3) self.killRBtn.setEnabled(False) self.killRBtn.setObjectName("killRBtn") self.gridlayout3.addWidget(self.killRBtn, 0, 0, 1, 1) self.useMaxMZ_CB = QtGui.QCheckBox(self.tab_3) self.useMaxMZ_CB.setEnabled(False) self.useMaxMZ_CB.setObjectName("useMaxMZ_CB") self.gridlayout3.addWidget(self.useMaxMZ_CB, 1, 0, 1, 1) self.gridlayout2.addLayout(self.gridlayout3, 0, 0, 1, 1) self.hboxlayout16 = QtGui.QHBoxLayout() self.hboxlayout16.setObjectName("hboxlayout16") self.label_8 = QtGui.QLabel(self.tab_3) self.label_8.setEnabled(False) self.label_8.setObjectName("label_8") self.hboxlayout16.addWidget(self.label_8) self.mzMZCutoff_SB = QtGui.QDoubleSpinBox(self.tab_3) self.mzMZCutoff_SB.setEnabled(False) self.mzMZCutoff_SB.setDecimals(3) self.mzMZCutoff_SB.setMinimum(1.0) self.mzMZCutoff_SB.setMaximum(99999.99) self.mzMZCutoff_SB.setProperty("value", QtCore.QVariant(350.0)) self.mzMZCutoff_SB.setObjectName("mzMZCutoff_SB") self.hboxlayout16.addWidget(self.mzMZCutoff_SB) self.gridlayout2.addLayout(self.hboxlayout16, 1, 0, 1, 1) self.gridlayout1.addLayout(self.gridlayout2, 0, 0, 1, 1) spacerItem5 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridlayout1.addItem(spacerItem5, 0, 1, 1, 1) spacerItem6 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding) self.gridlayout1.addItem(spacerItem6, 1, 0, 1, 1) self.hboxlayout15.addLayout(self.gridlayout1) self.tabWidget.addTab(self.tab_3, "") self.hboxlayout.addWidget(self.tabWidget) MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtGui.QMenuBar(MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 987, 26)) self.menubar.setObjectName("menubar") self.menu_File = QtGui.QMenu(self.menubar) self.menu_File.setObjectName("menu_File") self.menuF_unctions = QtGui.QMenu(self.menubar) self.menuF_unctions.setObjectName("menuF_unctions") MainWindow.setMenuBar(self.menubar) self.statusbar = QtGui.QStatusBar(MainWindow) self.statusbar.setObjectName("statusbar") MainWindow.setStatusBar(self.statusbar) self.action_Open = QtGui.QAction(MainWindow) self.action_Open.setObjectName("action_Open") self.actionSave_Results_Table = QtGui.QAction(MainWindow) self.actionSave_Results_Table.setObjectName("actionSave_Results_Table") self.actionTest_XCMS = QtGui.QAction(MainWindow) self.actionTest_XCMS.setObjectName("actionTest_XCMS") self.actionSave_HDF5 = QtGui.QAction(MainWindow) self.actionSave_HDF5.setObjectName("actionSave_HDF5") self.actionLoad_HDF5 = QtGui.QAction(MainWindow) self.actionLoad_HDF5.setObjectName("actionLoad_HDF5") self.actionRun_XCMS = QtGui.QAction(MainWindow) self.actionRun_XCMS.setObjectName("actionRun_XCMS") self.menu_File.addAction(self.actionSave_HDF5) self.menu_File.addAction(self.actionLoad_HDF5) self.menuF_unctions.addAction(self.actionSave_Results_Table) self.menuF_unctions.addSeparator() self.menuF_unctions.addAction(self.actionRun_XCMS) self.menuF_unctions.addSeparator() self.menuF_unctions.addAction(self.actionTest_XCMS) self.menubar.addAction(self.menu_File.menuAction()) self.menubar.addAction(self.menuF_unctions.menuAction()) self.retranslateUi(MainWindow) self.tabWidget.setCurrentIndex(0) QtCore.QObject.connect(self.eicIndexSlider, QtCore.SIGNAL("valueChanged(int)"), self.eicIndexSB.setValue) QtCore.QObject.connect(self.eicIndexSB, QtCore.SIGNAL("valueChanged(int)"), self.eicIndexSlider.setValue) QtCore.QMetaObject.connectSlotsByName(MainWindow) def retranslateUi(self, MainWindow): MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "pyXCMS", None, QtGui.QApplication.UnicodeUTF8)) self.getFolderBtn.setText(QtGui.QApplication.translate("MainWindow", "Select Folder", None, QtGui.QApplication.UnicodeUTF8)) self.label_25.setText(QtGui.QApplication.translate("MainWindow", "Data Folder:", None, QtGui.QApplication.UnicodeUTF8)) self.label_21.setText(QtGui.QApplication.translate("MainWindow", "Files in Directory:", None, QtGui.QApplication.UnicodeUTF8)) self.label.setText(QtGui.QApplication.translate("MainWindow", "Grouping Method:", None, QtGui.QApplication.UnicodeUTF8)) self.xcmsMethodCB.setToolTip(QtGui.QApplication.translate("MainWindow", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" "p, li { white-space: pre-wrap; }\n" "</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Select XCMS Processing Method</p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) self.useRetcor_CB.setText(QtGui.QApplication.translate("MainWindow", "Use Retention Time Alignment?", None, QtGui.QApplication.UnicodeUTF8)) self.label_2.setText(QtGui.QApplication.translate("MainWindow", "Parameters:", None, QtGui.QApplication.UnicodeUTF8)) self.paramTableWidget.setToolTip(QtGui.QApplication.translate("MainWindow", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" "p, li { white-space: pre-wrap; }\n" "</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Adjust XCMS Parameters</p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) self.runXCMSBtn.setToolTip(QtGui.QApplication.translate("MainWindow", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" "p, li { white-space: pre-wrap; }\n" "</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Make it happen!</p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) self.runXCMSBtn.setText(QtGui.QApplication.translate("MainWindow", "...", None, QtGui.QApplication.UnicodeUTF8)) self.label_3.setText(QtGui.QApplication.translate("MainWindow", "R output:", None, QtGui.QApplication.UnicodeUTF8)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), QtGui.QApplication.translate("MainWindow", "xcms", None, QtGui.QApplication.UnicodeUTF8)) self.label_6.setText(QtGui.QApplication.translate("MainWindow", "EIC Index:", None, QtGui.QApplication.UnicodeUTF8)) self.label_7.setText(QtGui.QApplication.translate("MainWindow", "Current Folder:", None, QtGui.QApplication.UnicodeUTF8)) self.label_5.setText(QtGui.QApplication.translate("MainWindow", "m/z Start:", None, QtGui.QApplication.UnicodeUTF8)) self.mzStartSB.setToolTip(QtGui.QApplication.translate("MainWindow", "Upper bound of the EIC extraction range", None, QtGui.QApplication.UnicodeUTF8)) self.label_4.setText(QtGui.QApplication.translate("MainWindow", "m/z Stop:", None, QtGui.QApplication.UnicodeUTF8)) self.mzStopSB.setToolTip(QtGui.QApplication.translate("MainWindow", "Low bound of the EIC extraction range", None, QtGui.QApplication.UnicodeUTF8)) self.label_11.setText(QtGui.QApplication.translate("MainWindow", "RT Start:", None, QtGui.QApplication.UnicodeUTF8)) self.rtWidthSB.setToolTip(QtGui.QApplication.translate("MainWindow", "Retention time window of the EIC", None, QtGui.QApplication.UnicodeUTF8)) self.label_12.setText(QtGui.QApplication.translate("MainWindow", "RT Stop:", None, QtGui.QApplication.UnicodeUTF8)) self.rtWidthSB_Stop.setToolTip(QtGui.QApplication.translate("MainWindow", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" "p, li { white-space: pre-wrap; }\n" "</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:8pt;\">Set to -1 for the entire spectrum</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) self.rtTypeCB.setToolTip(QtGui.QApplication.translate("MainWindow", "Do you want the corrected EIC or the raw values?", None, QtGui.QApplication.UnicodeUTF8)) self.rtTypeCB.setText(QtGui.QApplication.translate("MainWindow", "Retrieve Corrected EIC?", None, QtGui.QApplication.UnicodeUTF8)) self.fillPeaks_CB.setToolTip(QtGui.QApplication.translate("MainWindow", "Do you want the corrected EIC or the raw values?", None, QtGui.QApplication.UnicodeUTF8)) self.fillPeaks_CB.setText(QtGui.QApplication.translate("MainWindow", "Fill Missing Peaks?", None, QtGui.QApplication.UnicodeUTF8)) self.plotLegendCB.setText(QtGui.QApplication.translate("MainWindow", "Plot Legend?", None, QtGui.QApplication.UnicodeUTF8)) self.getEICBtn.setToolTip(QtGui.QApplication.translate("MainWindow", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n" "p, li { white-space: pre-wrap; }\n" "</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n" "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Do It!</p></body></html>", None, QtGui.QApplication.UnicodeUTF8)) self.getEICBtn.setText(QtGui.QApplication.translate("MainWindow", "Fetch EIC", None, QtGui.QApplication.UnicodeUTF8)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), QtGui.QApplication.translate("MainWindow", "EIC", None, QtGui.QApplication.UnicodeUTF8)) self.loadRPY2BatchBtn.setText(QtGui.QApplication.translate("MainWindow", "Load rpy2 Batch Script", None, QtGui.QApplication.UnicodeUTF8)) self.runBatchBtn.setText(QtGui.QApplication.translate("MainWindow", "Do It!", None, QtGui.QApplication.UnicodeUTF8)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_4), QtGui.QApplication.translate("MainWindow", "Batch Processing", None, QtGui.QApplication.UnicodeUTF8)) self.killRBtn.setText(QtGui.QApplication.translate("MainWindow", "Kill R Process", None, QtGui.QApplication.UnicodeUTF8)) self.useMaxMZ_CB.setText(QtGui.QApplication.translate("MainWindow", "Limit Peaks below a certain m/z?", None, QtGui.QApplication.UnicodeUTF8)) self.label_8.setText(QtGui.QApplication.translate("MainWindow", "Maximum m/z Value for XCMS Processing", None, QtGui.QApplication.UnicodeUTF8)) self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), QtGui.QApplication.translate("MainWindow", "Options", None, QtGui.QApplication.UnicodeUTF8)) self.menu_File.setTitle(QtGui.QApplication.translate("MainWindow", "&File", None, QtGui.QApplication.UnicodeUTF8)) self.menuF_unctions.setTitle(QtGui.QApplication.translate("MainWindow", "F&unctions", None, QtGui.QApplication.UnicodeUTF8)) self.action_Open.setText(QtGui.QApplication.translate("MainWindow", "&Open", None, QtGui.QApplication.UnicodeUTF8)) self.action_Open.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+O", None, QtGui.QApplication.UnicodeUTF8)) self.actionSave_Results_Table.setText(QtGui.QApplication.translate("MainWindow", "Save Results Table", None, QtGui.QApplication.UnicodeUTF8)) self.actionTest_XCMS.setText(QtGui.QApplication.translate("MainWindow", "Test XCMS", None, QtGui.QApplication.UnicodeUTF8)) self.actionTest_XCMS.setToolTip(QtGui.QApplication.translate("MainWindow", "Needs faakho package", None, QtGui.QApplication.UnicodeUTF8)) self.actionTest_XCMS.setWhatsThis(QtGui.QApplication.translate("MainWindow", "Needs faakho package", None, QtGui.QApplication.UnicodeUTF8)) self.actionSave_HDF5.setText(QtGui.QApplication.translate("MainWindow", "Save HDF5", None, QtGui.QApplication.UnicodeUTF8)) self.actionSave_HDF5.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+S", None, QtGui.QApplication.UnicodeUTF8)) self.actionLoad_HDF5.setText(QtGui.QApplication.translate("MainWindow", "Load HDF5", None, QtGui.QApplication.UnicodeUTF8)) self.actionLoad_HDF5.setShortcut(QtGui.QApplication.translate("MainWindow", "Ctrl+L", None, QtGui.QApplication.UnicodeUTF8)) self.actionRun_XCMS.setText(QtGui.QApplication.translate("MainWindow", "Run XCMS", None, QtGui.QApplication.UnicodeUTF8))