class Ui_Form(object): def setupUi(self, Form): Form.setObjectName(_fromUtf8("Form")) Form.resize(608, 673) self.dial = QtGui.QDial(Form) self.dial.setGeometry(QtCore.QRect(110, 490, 111, 141)) self.dial.setObjectName(_fromUtf8("dial")) self.dial_2 = QtGui.QDial(Form) self.dial_2.setGeometry(QtCore.QRect(370, 490, 111, 131)) self.dial_2.setObjectName(_fromUtf8("dial_2")) self.label = QtGui.QLabel(Form) self.label.setGeometry(QtCore.QRect(130, 470, 46, 16)) font = QtGui.QFont() font.setPointSize(24) self.label.setFont(font) self.label.setObjectName(_fromUtf8("label")) self.label_2 = QtGui.QLabel(Form) self.label_2.setGeometry(QtCore.QRect(390, 470, 46, 16)) font = QtGui.QFont() font.setPointSize(24) self.label_2.setFont(font) self.label_2.setObjectName(_fromUtf8("label_2")) self.imagewidget = ImageWidget(Form) self.imagewidget.setGeometry(QtCore.QRect(90, 60, 400, 300)) self.imagewidget.setOrientation(QtCore.Qt.Vertical) self.imagewidget.setObjectName(_fromUtf8("imagewidget")) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form) def retranslateUi(self, Form): Form.setWindowTitle(_translate("Form", "Form", None)) self.label.setText(_translate("Form", "X", None)) self.label_2.setText(_translate("Form", "Y", None))
class Ui_RingBufferViewer(object): def setupUi(self, RingBufferViewer): RingBufferViewer.setObjectName(_fromUtf8("RingBufferViewer")) RingBufferViewer.resize(617, 601) self.verticalLayout = QtGui.QVBoxLayout(RingBufferViewer) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.imageWidget = ImageWidget(RingBufferViewer) self.imageWidget.setOrientation(QtCore.Qt.Vertical) self.imageWidget.setObjectName(_fromUtf8("imageWidget")) self.verticalLayout.addWidget(self.imageWidget) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) self.indexSlider = QtGui.QSlider(RingBufferViewer) self.indexSlider.setOrientation(QtCore.Qt.Horizontal) self.indexSlider.setObjectName(_fromUtf8("indexSlider")) self.horizontalLayout.addWidget(self.indexSlider) self.indexBox = QtGui.QSpinBox(RingBufferViewer) self.indexBox.setObjectName(_fromUtf8("indexBox")) self.horizontalLayout.addWidget(self.indexBox) self.verticalLayout.addLayout(self.horizontalLayout) self.horizontalLayout_2 = QtGui.QHBoxLayout() self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2")) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem) self.closeButton = QtGui.QPushButton(RingBufferViewer) self.closeButton.setObjectName(_fromUtf8("closeButton")) self.horizontalLayout_2.addWidget(self.closeButton) self.verticalLayout.addLayout(self.horizontalLayout_2) self.retranslateUi(RingBufferViewer) QtCore.QObject.connect(self.indexSlider, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), self.indexBox.setValue) QtCore.QObject.connect(self.indexBox, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), self.indexSlider.setValue) QtCore.QMetaObject.connectSlotsByName(RingBufferViewer) def retranslateUi(self, RingBufferViewer): RingBufferViewer.setWindowTitle( QtGui.QApplication.translate("RingBufferViewer", "Ring buffer viewer", None, QtGui.QApplication.UnicodeUTF8)) self.closeButton.setText( QtGui.QApplication.translate("RingBufferViewer", "Close", None, QtGui.QApplication.UnicodeUTF8))
class Ui_NWADirectoryViewerWindow(object): def setupUi(self, NWADirectoryViewerWindow): NWADirectoryViewerWindow.setObjectName("NWADirectoryViewerWindow") NWADirectoryViewerWindow.resize(800, 600) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( NWADirectoryViewerWindow.sizePolicy().hasHeightForWidth()) NWADirectoryViewerWindow.setSizePolicy(sizePolicy) self.centralwidget = QtGui.QWidget(NWADirectoryViewerWindow) self.centralwidget.setObjectName("centralwidget") self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget) self.verticalLayout.setObjectName("verticalLayout") self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.fileLabel = QtGui.QLabel(self.centralwidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.fileLabel.sizePolicy().hasHeightForWidth()) self.fileLabel.setSizePolicy(sizePolicy) self.fileLabel.setObjectName("fileLabel") self.horizontalLayout.addWidget(self.fileLabel) self.watchCheckBox = QtGui.QCheckBox(self.centralwidget) self.watchCheckBox.setChecked(True) self.watchCheckBox.setObjectName("watchCheckBox") self.horizontalLayout.addWidget(self.watchCheckBox) self.autoscaleCheckBox = QtGui.QCheckBox(self.centralwidget) self.autoscaleCheckBox.setChecked(True) self.autoscaleCheckBox.setObjectName("autoscaleCheckBox") self.horizontalLayout.addWidget(self.autoscaleCheckBox) self.linearCheckBox = QtGui.QCheckBox(self.centralwidget) self.linearCheckBox.setObjectName("linearCheckBox") self.horizontalLayout.addWidget(self.linearCheckBox) self.normalizeCheckBox = QtGui.QCheckBox(self.centralwidget) self.normalizeCheckBox.setObjectName("normalizeCheckBox") self.horizontalLayout.addWidget(self.normalizeCheckBox) self.fileButton = QtGui.QPushButton(self.centralwidget) self.fileButton.setObjectName("fileButton") self.horizontalLayout.addWidget(self.fileButton) self.verticalLayout.addLayout(self.horizontalLayout) self.imagewidget = ImageWidget(self.centralwidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.imagewidget.sizePolicy().hasHeightForWidth()) self.imagewidget.setSizePolicy(sizePolicy) self.imagewidget.setOrientation(QtCore.Qt.Vertical) self.imagewidget.setObjectName("imagewidget") self.verticalLayout.addWidget(self.imagewidget) NWADirectoryViewerWindow.setCentralWidget(self.centralwidget) self.menubar = QtGui.QMenuBar(NWADirectoryViewerWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 22)) self.menubar.setObjectName("menubar") NWADirectoryViewerWindow.setMenuBar(self.menubar) self.statusbar = QtGui.QStatusBar(NWADirectoryViewerWindow) self.statusbar.setObjectName("statusbar") NWADirectoryViewerWindow.setStatusBar(self.statusbar) self.retranslateUi(NWADirectoryViewerWindow) QtCore.QMetaObject.connectSlotsByName(NWADirectoryViewerWindow) def retranslateUi(self, NWADirectoryViewerWindow): NWADirectoryViewerWindow.setWindowTitle( QtGui.QApplication.translate("NWADirectoryViewerWindow", "Network Analyzer Directory Viewer ", None, QtGui.QApplication.UnicodeUTF8)) self.watchCheckBox.setText( QtGui.QApplication.translate("NWADirectoryViewerWindow", "Watch Folder", None, QtGui.QApplication.UnicodeUTF8)) self.autoscaleCheckBox.setText( QtGui.QApplication.translate("NWADirectoryViewerWindow", "autoscale", None, QtGui.QApplication.UnicodeUTF8)) self.linearCheckBox.setText( QtGui.QApplication.translate("NWADirectoryViewerWindow", "Linear Scale", None, QtGui.QApplication.UnicodeUTF8)) self.normalizeCheckBox.setText( QtGui.QApplication.translate("NWADirectoryViewerWindow", "Normalize", None, QtGui.QApplication.UnicodeUTF8)) self.fileButton.setText( QtGui.QApplication.translate("NWADirectoryViewerWindow", "Open Directory", None, QtGui.QApplication.UnicodeUTF8))
class Ui_NWADirectoryViewerWindow(object): def setupUi(self, NWADirectoryViewerWindow): NWADirectoryViewerWindow.setObjectName("NWADirectoryViewerWindow") NWADirectoryViewerWindow.resize(800, 600) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(NWADirectoryViewerWindow.sizePolicy().hasHeightForWidth()) NWADirectoryViewerWindow.setSizePolicy(sizePolicy) self.centralwidget = QtGui.QWidget(NWADirectoryViewerWindow) self.centralwidget.setObjectName("centralwidget") self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget) self.verticalLayout.setObjectName("verticalLayout") self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.fileLabel = QtGui.QLabel(self.centralwidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.fileLabel.sizePolicy().hasHeightForWidth()) self.fileLabel.setSizePolicy(sizePolicy) self.fileLabel.setObjectName("fileLabel") self.horizontalLayout.addWidget(self.fileLabel) self.watchCheckBox = QtGui.QCheckBox(self.centralwidget) self.watchCheckBox.setChecked(True) self.watchCheckBox.setObjectName("watchCheckBox") self.horizontalLayout.addWidget(self.watchCheckBox) self.autoscaleCheckBox = QtGui.QCheckBox(self.centralwidget) self.autoscaleCheckBox.setChecked(True) self.autoscaleCheckBox.setObjectName("autoscaleCheckBox") self.horizontalLayout.addWidget(self.autoscaleCheckBox) self.linearCheckBox = QtGui.QCheckBox(self.centralwidget) self.linearCheckBox.setObjectName("linearCheckBox") self.horizontalLayout.addWidget(self.linearCheckBox) self.normalizeCheckBox = QtGui.QCheckBox(self.centralwidget) self.normalizeCheckBox.setObjectName("normalizeCheckBox") self.horizontalLayout.addWidget(self.normalizeCheckBox) self.fileButton = QtGui.QPushButton(self.centralwidget) self.fileButton.setObjectName("fileButton") self.horizontalLayout.addWidget(self.fileButton) self.verticalLayout.addLayout(self.horizontalLayout) self.imagewidget = ImageWidget(self.centralwidget) sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.imagewidget.sizePolicy().hasHeightForWidth()) self.imagewidget.setSizePolicy(sizePolicy) self.imagewidget.setOrientation(QtCore.Qt.Vertical) self.imagewidget.setObjectName("imagewidget") self.verticalLayout.addWidget(self.imagewidget) NWADirectoryViewerWindow.setCentralWidget(self.centralwidget) self.menubar = QtGui.QMenuBar(NWADirectoryViewerWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 22)) self.menubar.setObjectName("menubar") NWADirectoryViewerWindow.setMenuBar(self.menubar) self.statusbar = QtGui.QStatusBar(NWADirectoryViewerWindow) self.statusbar.setObjectName("statusbar") NWADirectoryViewerWindow.setStatusBar(self.statusbar) self.retranslateUi(NWADirectoryViewerWindow) QtCore.QMetaObject.connectSlotsByName(NWADirectoryViewerWindow) def retranslateUi(self, NWADirectoryViewerWindow): NWADirectoryViewerWindow.setWindowTitle(QtGui.QApplication.translate("NWADirectoryViewerWindow", "Network Analyzer Directory Viewer ", None, QtGui.QApplication.UnicodeUTF8)) self.watchCheckBox.setText(QtGui.QApplication.translate("NWADirectoryViewerWindow", "Watch Folder", None, QtGui.QApplication.UnicodeUTF8)) self.autoscaleCheckBox.setText(QtGui.QApplication.translate("NWADirectoryViewerWindow", "autoscale", None, QtGui.QApplication.UnicodeUTF8)) self.linearCheckBox.setText(QtGui.QApplication.translate("NWADirectoryViewerWindow", "Linear Scale", None, QtGui.QApplication.UnicodeUTF8)) self.normalizeCheckBox.setText(QtGui.QApplication.translate("NWADirectoryViewerWindow", "Normalize", None, QtGui.QApplication.UnicodeUTF8)) self.fileButton.setText(QtGui.QApplication.translate("NWADirectoryViewerWindow", "Open Directory", None, QtGui.QApplication.UnicodeUTF8))
class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectName(_fromUtf8("Dialog")) Dialog.resize(905, 675) self.graphicsView = QtGui.QGraphicsView(Dialog) self.graphicsView.setGeometry(QtCore.QRect(9, 9, 256, 192)) self.graphicsView.setObjectName(_fromUtf8("graphicsView")) self.imagewidget = ImageWidget(Dialog) self.imagewidget.setGeometry(QtCore.QRect(290, 10, 291, 191)) self.imagewidget.setOrientation(QtCore.Qt.Vertical) self.imagewidget.setObjectName(_fromUtf8("imagewidget")) self.curvewidget = CurveWidget(Dialog) self.curvewidget.setGeometry(QtCore.QRect(620, 10, 241, 211)) self.curvewidget.setOrientation(QtCore.Qt.Horizontal) self.curvewidget.setObjectName(_fromUtf8("curvewidget")) self.mplwidget = MatplotlibWidget(Dialog) self.mplwidget.setGeometry(QtCore.QRect(0, 230, 311, 231)) self.mplwidget.setObjectName(_fromUtf8("mplwidget")) self.qwtPlot = Qwt5.QwtPlot(Dialog) self.qwtPlot.setGeometry(QtCore.QRect(540, 260, 281, 161)) self.qwtPlot.setObjectName(_fromUtf8("qwtPlot")) self.AnalogClock = Qwt5.QwtAnalogClock(Dialog) self.AnalogClock.setGeometry(QtCore.QRect(30, 500, 151, 151)) self.AnalogClock.setLineWidth(4) self.AnalogClock.setObjectName(_fromUtf8("AnalogClock")) self.Compass = Qwt5.QwtCompass(Dialog) self.Compass.setGeometry(QtCore.QRect(220, 490, 151, 151)) self.Compass.setLineWidth(4) self.Compass.setObjectName(_fromUtf8("Compass")) self.Thermo = Qwt5.QwtThermo(Dialog) self.Thermo.setGeometry(QtCore.QRect(390, 480, 71, 151)) self.Thermo.setObjectName(_fromUtf8("Thermo")) self.Wheel = Qwt5.QwtWheel(Dialog) self.Wheel.setGeometry(QtCore.QRect(510, 470, 151, 31)) self.Wheel.setObjectName(_fromUtf8("Wheel")) self.label = QtGui.QLabel(Dialog) self.label.setGeometry(QtCore.QRect(80, 210, 131, 16)) self.label.setObjectName(_fromUtf8("label")) self.label_2 = QtGui.QLabel(Dialog) self.label_2.setGeometry(QtCore.QRect(370, 210, 131, 16)) self.label_2.setObjectName(_fromUtf8("label_2")) self.label_3 = QtGui.QLabel(Dialog) self.label_3.setGeometry(QtCore.QRect(690, 230, 131, 16)) self.label_3.setObjectName(_fromUtf8("label_3")) self.label_4 = QtGui.QLabel(Dialog) self.label_4.setGeometry(QtCore.QRect(80, 470, 131, 16)) self.label_4.setObjectName(_fromUtf8("label_4")) self.label_5 = QtGui.QLabel(Dialog) self.label_5.setGeometry(QtCore.QRect(370, 420, 131, 16)) self.label_5.setObjectName(_fromUtf8("label_5")) self.label_6 = QtGui.QLabel(Dialog) self.label_6.setGeometry(QtCore.QRect(660, 430, 131, 16)) self.label_6.setObjectName(_fromUtf8("label_6")) self.label_8 = QtGui.QLabel(Dialog) self.label_8.setGeometry(QtCore.QRect(60, 650, 131, 16)) self.label_8.setObjectName(_fromUtf8("label_8")) self.label_9 = QtGui.QLabel(Dialog) self.label_9.setGeometry(QtCore.QRect(250, 650, 131, 16)) self.label_9.setObjectName(_fromUtf8("label_9")) self.label_10 = QtGui.QLabel(Dialog) self.label_10.setGeometry(QtCore.QRect(410, 650, 131, 16)) self.label_10.setObjectName(_fromUtf8("label_10")) self.label_11 = QtGui.QLabel(Dialog) self.label_11.setGeometry(QtCore.QRect(550, 530, 131, 16)) self.label_11.setObjectName(_fromUtf8("label_11")) self.retranslateUi(Dialog) QtCore.QMetaObject.connectSlotsByName(Dialog) def retranslateUi(self, Dialog): Dialog.setWindowTitle(_translate("Dialog", "Dialog", None)) self.label.setText(_translate("Dialog", "Graphics View", None)) self.label_2.setText(_translate("Dialog", "ImageWidget", None)) self.label_3.setText(_translate("Dialog", "CurveWidget", None)) self.label_4.setText(_translate("Dialog", "MatplotlibWidget", None)) self.label_5.setText(_translate("Dialog", "QVTKWidget", None)) self.label_6.setText(_translate("Dialog", "QwtPlot", None)) self.label_8.setText(_translate("Dialog", "QwtAnalogClock", None)) self.label_9.setText(_translate("Dialog", "QwtCompass", None)) self.label_10.setText(_translate("Dialog", "QwtThermo", None)) self.label_11.setText(_translate("Dialog", "QwtWheel", None))
class Ui_MainWindow(object): def setupUi(self, MainWindow): MainWindow.setObjectName(_fromUtf8("MainWindow")) MainWindow.resize(540, 854) self.centralwidget = QtGui.QWidget(MainWindow) self.centralwidget.setObjectName(_fromUtf8("centralwidget")) self.verticalLayout_2 = QtGui.QVBoxLayout(self.centralwidget) self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2")) self.imageWidget = ImageWidget(self.centralwidget) self.imageWidget.setOrientation(QtCore.Qt.Vertical) self.imageWidget.setObjectName(_fromUtf8("imageWidget")) self.verticalLayout_2.addWidget(self.imageWidget) self.groupBox = QtGui.QGroupBox(self.centralwidget) self.groupBox.setObjectName(_fromUtf8("groupBox")) self.verticalLayout = QtGui.QVBoxLayout(self.groupBox) self.verticalLayout.setObjectName(_fromUtf8("verticalLayout")) self.gridLayout_2 = QtGui.QGridLayout() self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2")) self.exposureTimeBox = QtGui.QSpinBox(self.groupBox) self.exposureTimeBox.setMinimum(10) self.exposureTimeBox.setMaximum(5000) self.exposureTimeBox.setSingleStep(10) self.exposureTimeBox.setProperty("value", 100) self.exposureTimeBox.setObjectName(_fromUtf8("exposureTimeBox")) self.gridLayout_2.addWidget(self.exposureTimeBox, 0, 1, 1, 1) self.label = QtGui.QLabel(self.groupBox) self.label.setObjectName(_fromUtf8("label")) self.gridLayout_2.addWidget(self.label, 0, 0, 1, 1) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout_2.addItem(spacerItem, 0, 2, 1, 1) self.verticalLayout.addLayout(self.gridLayout_2) self.verticalLayout_2.addWidget(self.groupBox) self.groupBox_2 = QtGui.QGroupBox(self.centralwidget) self.groupBox_2.setObjectName(_fromUtf8("groupBox_2")) self.gridLayout = QtGui.QGridLayout(self.groupBox_2) self.gridLayout.setObjectName(_fromUtf8("gridLayout")) self.gridLayout_3 = QtGui.QGridLayout() self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3")) self.scaleMinBox = QtGui.QSpinBox(self.groupBox_2) self.scaleMinBox.setMaximum(99999) self.scaleMinBox.setSingleStep(20) self.scaleMinBox.setObjectName(_fromUtf8("scaleMinBox")) self.gridLayout_3.addWidget(self.scaleMinBox, 0, 1, 1, 1) self.autoscaleButton = QtGui.QCheckBox(self.groupBox_2) self.autoscaleButton.setChecked(True) self.autoscaleButton.setObjectName(_fromUtf8("autoscaleButton")) self.gridLayout_3.addWidget(self.autoscaleButton, 2, 1, 1, 1) self.scaleMaxBox = QtGui.QSpinBox(self.groupBox_2) self.scaleMaxBox.setMinimum(1) self.scaleMaxBox.setMaximum(99999) self.scaleMaxBox.setSingleStep(10) self.scaleMaxBox.setProperty("value", 2000) self.scaleMaxBox.setObjectName(_fromUtf8("scaleMaxBox")) self.gridLayout_3.addWidget(self.scaleMaxBox, 1, 1, 1, 1) self.colormapBox = QtGui.QComboBox(self.groupBox_2) self.colormapBox.setObjectName(_fromUtf8("colormapBox")) self.gridLayout_3.addWidget(self.colormapBox, 3, 1, 1, 1) self.label_2 = QtGui.QLabel(self.groupBox_2) self.label_2.setObjectName(_fromUtf8("label_2")) self.gridLayout_3.addWidget(self.label_2, 0, 0, 1, 1) self.label_5 = QtGui.QLabel(self.groupBox_2) self.label_5.setObjectName(_fromUtf8("label_5")) self.gridLayout_3.addWidget(self.label_5, 3, 0, 1, 1) self.label_3 = QtGui.QLabel(self.groupBox_2) self.label_3.setObjectName(_fromUtf8("label_3")) self.gridLayout_3.addWidget(self.label_3, 1, 0, 1, 1) self.rescaleButton = QtGui.QPushButton(self.groupBox_2) self.rescaleButton.setObjectName(_fromUtf8("rescaleButton")) self.gridLayout_3.addWidget(self.rescaleButton, 0, 3, 1, 1) self.rotateCWButton = QtGui.QPushButton(self.groupBox_2) self.rotateCWButton.setEnabled(True) self.rotateCWButton.setObjectName(_fromUtf8("rotateCWButton")) self.gridLayout_3.addWidget(self.rotateCWButton, 1, 3, 1, 1) spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum) self.gridLayout_3.addItem(spacerItem1, 0, 2, 1, 1) self.rotateCCWButton = QtGui.QPushButton(self.groupBox_2) self.rotateCCWButton.setObjectName(_fromUtf8("rotateCCWButton")) self.gridLayout_3.addWidget(self.rotateCCWButton, 1, 2, 1, 1) self.showROIBox = QtGui.QCheckBox(self.groupBox_2) self.showROIBox.setChecked(True) self.showROIBox.setObjectName(_fromUtf8("showROIBox")) self.gridLayout_3.addWidget(self.showROIBox, 3, 3, 1, 1) self.flipVerticalButton = QtGui.QPushButton(self.groupBox_2) self.flipVerticalButton.setObjectName(_fromUtf8("flipVerticalButton")) self.gridLayout_3.addWidget(self.flipVerticalButton, 2, 2, 1, 1) self.flipHorizontalButton = QtGui.QPushButton(self.groupBox_2) self.flipHorizontalButton.setObjectName( _fromUtf8("flipHorizontalButton")) self.gridLayout_3.addWidget(self.flipHorizontalButton, 2, 3, 1, 1) self.gridLayout.addLayout(self.gridLayout_3, 0, 0, 2, 1) self.verticalLayout_2.addWidget(self.groupBox_2) self.horizontalLayout = QtGui.QHBoxLayout() self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout")) spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem2) self.adjustROIButton = QtGui.QPushButton(self.centralwidget) self.adjustROIButton.setObjectName(_fromUtf8("adjustROIButton")) self.horizontalLayout.addWidget(self.adjustROIButton) self.roiStatisticsButton = QtGui.QToolButton(self.centralwidget) self.roiStatisticsButton.setObjectName( _fromUtf8("roiStatisticsButton")) self.horizontalLayout.addWidget(self.roiStatisticsButton) self.cameraSettingsButton = QtGui.QToolButton(self.centralwidget) self.cameraSettingsButton.setObjectName( _fromUtf8("cameraSettingsButton")) self.horizontalLayout.addWidget(self.cameraSettingsButton) self.acquisitionButton = QtGui.QPushButton(self.centralwidget) self.acquisitionButton.setObjectName(_fromUtf8("acquisitionButton")) self.horizontalLayout.addWidget(self.acquisitionButton) self.verticalLayout_2.addLayout(self.horizontalLayout) MainWindow.setCentralWidget(self.centralwidget) self.menubar = QtGui.QMenuBar(MainWindow) self.menubar.setGeometry(QtCore.QRect(0, 0, 540, 29)) 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.menuRing_Buffer = QtGui.QMenu(self.menubar) self.menuRing_Buffer.setObjectName(_fromUtf8("menuRing_Buffer")) MainWindow.setMenuBar(self.menubar) self.statusBar = QtGui.QStatusBar(MainWindow) self.statusBar.setObjectName(_fromUtf8("statusBar")) MainWindow.setStatusBar(self.statusBar) self.actionSaveAs = QtGui.QAction(MainWindow) self.actionSaveAs.setObjectName(_fromUtf8("actionSaveAs")) self.actionExit = QtGui.QAction(MainWindow) self.actionExit.setObjectName(_fromUtf8("actionExit")) self.actionAbout = QtGui.QAction(MainWindow) self.actionAbout.setEnabled(False) self.actionAbout.setObjectName(_fromUtf8("actionAbout")) self.actionEnable = QtGui.QAction(MainWindow) self.actionEnable.setCheckable(True) self.actionEnable.setChecked(True) self.actionEnable.setObjectName(_fromUtf8("actionEnable")) self.actionView = QtGui.QAction(MainWindow) self.actionView.setObjectName(_fromUtf8("actionView")) self.menuFile.addAction(self.actionSaveAs) self.menuFile.addAction(self.actionExit) self.menuHelp.addAction(self.actionAbout) self.menuRing_Buffer.addAction(self.actionEnable) self.menuRing_Buffer.addAction(self.actionView) self.menubar.addAction(self.menuFile.menuAction()) self.menubar.addAction(self.menuRing_Buffer.menuAction()) self.menubar.addAction(self.menuHelp.menuAction()) self.retranslateUi(MainWindow) QtCore.QMetaObject.connectSlotsByName(MainWindow) def retranslateUi(self, MainWindow): MainWindow.setWindowTitle( QtGui.QApplication.translate("MainWindow", "qCamera Viewer", None, QtGui.QApplication.UnicodeUTF8)) self.groupBox.setTitle( QtGui.QApplication.translate("MainWindow", "Exposure settings", None, QtGui.QApplication.UnicodeUTF8)) self.label.setText( QtGui.QApplication.translate("MainWindow", "Exposure time [ms]", None, QtGui.QApplication.UnicodeUTF8)) self.groupBox_2.setTitle( QtGui.QApplication.translate("MainWindow", "Viewing Settings", None, QtGui.QApplication.UnicodeUTF8)) self.autoscaleButton.setText( QtGui.QApplication.translate("MainWindow", "Autoscale", None, QtGui.QApplication.UnicodeUTF8)) self.label_2.setText( QtGui.QApplication.translate("MainWindow", "Scale min", None, QtGui.QApplication.UnicodeUTF8)) self.label_5.setText( QtGui.QApplication.translate("MainWindow", "Colormap", None, QtGui.QApplication.UnicodeUTF8)) self.label_3.setText( QtGui.QApplication.translate("MainWindow", "Scale max", None, QtGui.QApplication.UnicodeUTF8)) self.rescaleButton.setText( QtGui.QApplication.translate("MainWindow", "Rescale", None, QtGui.QApplication.UnicodeUTF8)) self.rotateCWButton.setText( QtGui.QApplication.translate("MainWindow", "Rotate CW", None, QtGui.QApplication.UnicodeUTF8)) self.rotateCCWButton.setText( QtGui.QApplication.translate("MainWindow", "Rotate CCW", None, QtGui.QApplication.UnicodeUTF8)) self.showROIBox.setText( QtGui.QApplication.translate("MainWindow", "Show ROI", None, QtGui.QApplication.UnicodeUTF8)) self.flipVerticalButton.setText( QtGui.QApplication.translate("MainWindow", "Flip vertical", None, QtGui.QApplication.UnicodeUTF8)) self.flipHorizontalButton.setText( QtGui.QApplication.translate("MainWindow", "Flip horizontal", None, QtGui.QApplication.UnicodeUTF8)) self.adjustROIButton.setText( QtGui.QApplication.translate("MainWindow", "Adjust ROI", None, QtGui.QApplication.UnicodeUTF8)) self.roiStatisticsButton.setText( QtGui.QApplication.translate("MainWindow", "ROI statistics...", None, QtGui.QApplication.UnicodeUTF8)) self.cameraSettingsButton.setText( QtGui.QApplication.translate("MainWindow", "Camera settings...", None, QtGui.QApplication.UnicodeUTF8)) self.acquisitionButton.setText( QtGui.QApplication.translate("MainWindow", "Begin acquisition", None, QtGui.QApplication.UnicodeUTF8)) self.menuFile.setTitle( QtGui.QApplication.translate("MainWindow", "File", None, QtGui.QApplication.UnicodeUTF8)) self.menuHelp.setTitle( QtGui.QApplication.translate("MainWindow", "Help", None, QtGui.QApplication.UnicodeUTF8)) self.menuRing_Buffer.setTitle( QtGui.QApplication.translate("MainWindow", "Ring Buffer", None, QtGui.QApplication.UnicodeUTF8)) self.actionSaveAs.setText( QtGui.QApplication.translate("MainWindow", "Save image as...", None, QtGui.QApplication.UnicodeUTF8)) self.actionExit.setText( QtGui.QApplication.translate("MainWindow", "Exit", None, QtGui.QApplication.UnicodeUTF8)) self.actionAbout.setText( QtGui.QApplication.translate("MainWindow", "About", None, QtGui.QApplication.UnicodeUTF8)) self.actionEnable.setText( QtGui.QApplication.translate("MainWindow", "Enabled", None, QtGui.QApplication.UnicodeUTF8)) self.actionView.setText( QtGui.QApplication.translate("MainWindow", "View", None, QtGui.QApplication.UnicodeUTF8))