Esempio n. 1
0
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(800, 600)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.gridLayout = QtGui.QGridLayout(self.centralwidget)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.mplwidget = MplWidget(self.centralwidget)
        self.mplwidget.setObjectName(_fromUtf8("mplwidget"))
        self.gridLayout.addWidget(self.mplwidget, 0, 0, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 21))
        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 retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None))
Esempio n. 2
0
    def setupUi(self, WidgetTiff):
        WidgetTiff.setObjectName("WidgetTiff")
        WidgetTiff.resize(566, 438)
        self.verticalLayout = QtWidgets.QVBoxLayout(WidgetTiff)
        self.verticalLayout.setObjectName("verticalLayout")
        self.mpl = MplWidget(WidgetTiff)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.mpl.sizePolicy().hasHeightForWidth())
        self.mpl.setSizePolicy(sizePolicy)
        self.mpl.setObjectName("mpl")
        self.verticalLayout.addWidget(self.mpl)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.horizontalScrollBar = QtWidgets.QScrollBar(WidgetTiff)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.horizontalScrollBar.sizePolicy().hasHeightForWidth())
        self.horizontalScrollBar.setSizePolicy(sizePolicy)
        self.horizontalScrollBar.setOrientation(QtCore.Qt.Horizontal)
        self.horizontalScrollBar.setObjectName("horizontalScrollBar")
        self.horizontalLayout.addWidget(self.horizontalScrollBar)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.lcdNumber = QtWidgets.QLCDNumber(WidgetTiff)
        self.lcdNumber.setSegmentStyle(QtWidgets.QLCDNumber.Flat)
        self.lcdNumber.setObjectName("lcdNumber")
        self.horizontalLayout.addWidget(self.lcdNumber)
        self.verticalLayout.addLayout(self.horizontalLayout)

        self.retranslateUi(WidgetTiff)
        self.horizontalScrollBar.valueChanged['int'].connect(self.lcdNumber.display)
        QtCore.QMetaObject.connectSlotsByName(WidgetTiff)
Esempio n. 3
0
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(800, 600)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.MplWidget = MplWidget(self.centralwidget)
        self.MplWidget.setObjectName(_fromUtf8("MplWidget"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.MplWidget)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.verticalLayout.addWidget(self.MplWidget)
        self.pushButton = QtGui.QPushButton(self.centralwidget)
        self.pushButton.setObjectName(_fromUtf8("pushButton"))
        self.verticalLayout.addWidget(self.pushButton)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 22))
        self.menubar.setNativeMenuBar(False)
        self.menubar.setObjectName(_fromUtf8("menubar"))
        self.menuFile = QtGui.QMenu(self.menubar)
        self.menuFile.setObjectName(_fromUtf8("menuFile"))
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        MainWindow.setStatusBar(self.statusbar)
        self.actionLoad_Grid = QtGui.QAction(MainWindow)
        self.actionLoad_Grid.setObjectName(_fromUtf8("actionLoad_Grid"))
        self.menuFile.addAction(self.actionLoad_Grid)
        self.menubar.addAction(self.menuFile.menuAction())

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
Esempio n. 4
0
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(900, 585)
        MainWindow.setStyleSheet("font: 12pt \"Ubuntu\";")
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.open_dir_btn = QtWidgets.QPushButton(self.centralwidget)
        self.open_dir_btn.setGeometry(QtCore.QRect(10, 10, 211, 51))
        self.open_dir_btn.setStyleSheet("")
        self.open_dir_btn.setObjectName("open_dir_btn")
        self.train_w2v_btn = QtWidgets.QPushButton(self.centralwidget)
        self.train_w2v_btn.setGeometry(QtCore.QRect(240, 10, 211, 51))
        self.train_w2v_btn.setObjectName("train_w2v_btn")
        self.extract_dgh_btn = QtWidgets.QPushButton(self.centralwidget)
        self.extract_dgh_btn.setGeometry(QtCore.QRect(470, 10, 201, 51))
        self.extract_dgh_btn.setObjectName("extract_dgh_btn")
        self.help_btn = QtWidgets.QPushButton(self.centralwidget)
        self.help_btn.setGeometry(QtCore.QRect(690, 10, 201, 51))
        self.help_btn.setObjectName("help_btn")
        self.date_hsd = QtWidgets.QSlider(self.centralwidget)
        self.date_hsd.setGeometry(QtCore.QRect(10, 130, 281, 16))
        self.date_hsd.setOrientation(QtCore.Qt.Horizontal)
        self.date_hsd.setObjectName("date_hsd")
        self.result_btn = QtWidgets.QPushButton(self.centralwidget)
        self.result_btn.setGeometry(QtCore.QRect(10, 70, 211, 51))
        self.result_btn.setObjectName("result_btn")
        self.log_lbl = QtWidgets.QLabel(self.centralwidget)
        self.log_lbl.setGeometry(QtCore.QRect(10, 180, 281, 16))
        self.log_lbl.setObjectName("log_lbl")
        self.log_txt = QtWidgets.QTextBrowser(self.centralwidget)
        self.log_txt.setGeometry(QtCore.QRect(10, 200, 281, 321))
        self.log_txt.setObjectName("log_txt")
        self.first_date_lbl = QtWidgets.QLabel(self.centralwidget)
        self.first_date_lbl.setGeometry(QtCore.QRect(10, 150, 141, 16))
        self.first_date_lbl.setText("")
        self.first_date_lbl.setObjectName("first_date_lbl")
        self.first_date_lbl.setStyleSheet(
            "font-size: 11px; qproperty-alignment: AlignLeft;")
        self.last_date_lbl = QtWidgets.QLabel(self.centralwidget)
        self.last_date_lbl.setGeometry(QtCore.QRect(180, 150, 111, 16))
        self.last_date_lbl.setText("")
        self.last_date_lbl.setObjectName("last_date_lbl")
        self.last_date_lbl.setStyleSheet(
            "font-size: 11px; qproperty-alignment: AlignRight;")
        self.img_wdg = MplWidget(self.centralwidget)
        self.img_wdg.setGeometry(QtCore.QRect(300, 70, 601, 461))
        self.img_wdg.setStyleSheet("background-color: rgb(250, 250, 250);")
        self.img_wdg.setObjectName("img_wdg")
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 900, 25))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
Esempio n. 5
0
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(809, 437)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/wordcloud/wc.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        MainWindow.setWindowIcon(icon)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout = QtWidgets.QGridLayout(self.centralwidget)
        self.gridLayout.setObjectName("gridLayout")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.label = QtWidgets.QLabel(self.centralwidget)
        font = QtGui.QFont()
        font.setPointSize(13)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.verticalLayout.addWidget(self.label)
        self.textInput = QtWidgets.QPlainTextEdit(self.centralwidget)
        self.textInput.setMaximumSize(QtCore.QSize(1000, 400))
        self.textInput.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.textInput.setObjectName("textInput")
        self.verticalLayout.addWidget(self.textInput)
        self.makeCloud = QtWidgets.QPushButton(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.makeCloud.sizePolicy().hasHeightForWidth())
        self.makeCloud.setSizePolicy(sizePolicy)
        self.makeCloud.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.makeCloud.setObjectName("makeCloud")
        self.verticalLayout.addWidget(self.makeCloud)
        self.gridLayout.addLayout(self.verticalLayout, 0, 0, 1, 1)
        self.mpl = MplWidget(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.mpl.sizePolicy().hasHeightForWidth())
        self.mpl.setSizePolicy(sizePolicy)
        self.mpl.setObjectName("mpl")
        self.gridLayout.addWidget(self.mpl, 1, 0, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 809, 21))
        self.menubar.setObjectName("menubar")
        self.menuFile = QtWidgets.QMenu(self.menubar)
        self.menuFile.setObjectName("menuFile")
        MainWindow.setMenuBar(self.menubar)
        self.actionOpen = QtWidgets.QAction(MainWindow)
        self.actionOpen.setObjectName("actionOpen")
        self.actionExit = QtWidgets.QAction(MainWindow)
        self.actionExit.setObjectName("actionExit")
        self.menuFile.addAction(self.actionOpen)
        self.menuFile.addAction(self.actionExit)
        self.menubar.addAction(self.menuFile.menuAction())

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(1056, 687)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.confWidget1 = MplWidget(self.centralwidget)
        self.confWidget1.setGeometry(QtCore.QRect(10, 30, 501, 51))
        self.confWidget1.setObjectName("confWidget1")
        self.btn_redraw = QtGui.QPushButton(self.centralwidget)
        self.btn_redraw.setGeometry(QtCore.QRect(740, 390, 94, 24))
        self.btn_redraw.setObjectName("btn_redraw")
        self.confWidget2 = MplWidget(self.centralwidget)
        self.confWidget2.setGeometry(QtCore.QRect(10, 80, 501, 51))
        self.confWidget2.setObjectName("confWidget2")
        self.confWidget3 = MplWidget(self.centralwidget)
        self.confWidget3.setGeometry(QtCore.QRect(10, 130, 501, 51))
        self.confWidget3.setObjectName("confWidget3")
        self.confWidget4 = MplWidget(self.centralwidget)
        self.confWidget4.setGeometry(QtCore.QRect(10, 180, 501, 51))
        self.confWidget4.setObjectName("confWidget4")
        self.verticalLayoutWidget = QtGui.QWidget(self.centralwidget)
        self.verticalLayoutWidget.setGeometry(QtCore.QRect(110, 330, 521, 171))
        self.verticalLayoutWidget.setObjectName("verticalLayoutWidget")
        self.verticalLayout = QtGui.QVBoxLayout(self.verticalLayoutWidget)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.btn_generateData = QtGui.QPushButton(self.centralwidget)
        self.btn_generateData.setGeometry(QtCore.QRect(740, 320, 94, 24))
        self.btn_generateData.setObjectName("btn_generateData")
        self.btn_loadData = QtGui.QPushButton(self.centralwidget)
        self.btn_loadData.setGeometry(QtCore.QRect(740, 360, 94, 24))
        self.btn_loadData.setObjectName("btn_loadData")
        self.w_colourbar = MplWidget(self.centralwidget)
        self.w_colourbar.setGeometry(QtCore.QRect(510, 30, 31, 201))
        self.w_colourbar.setObjectName("w_colourbar")
        self.le_max = QtGui.QLineEdit(self.centralwidget)
        self.le_max.setGeometry(QtCore.QRect(540, 60, 61, 23))
        self.le_max.setObjectName("le_max")
        self.le_min = QtGui.QLineEdit(self.centralwidget)
        self.le_min.setGeometry(QtCore.QRect(540, 180, 61, 23))
        self.le_min.setObjectName("le_min")
        self.btn_set = QtGui.QPushButton(self.centralwidget)
        self.btn_set.setGeometry(QtCore.QRect(550, 90, 41, 41))
        self.btn_set.setObjectName("btn_set")
        self.btn_clear = QtGui.QPushButton(self.centralwidget)
        self.btn_clear.setGeometry(QtCore.QRect(550, 130, 41, 41))
        self.btn_clear.setObjectName("btn_clear")
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1056, 21))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
Esempio n. 7
0
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(1056, 687)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.confWidget1 = MplWidget(self.centralwidget)
        self.confWidget1.setGeometry(QtCore.QRect(10, 30, 501, 51))
        self.confWidget1.setObjectName("confWidget1")
        self.btn_redraw = QtGui.QPushButton(self.centralwidget)
        self.btn_redraw.setGeometry(QtCore.QRect(740, 390, 94, 24))
        self.btn_redraw.setObjectName("btn_redraw")
        self.confWidget2 = MplWidget(self.centralwidget)
        self.confWidget2.setGeometry(QtCore.QRect(10, 80, 501, 51))
        self.confWidget2.setObjectName("confWidget2")
        self.confWidget3 = MplWidget(self.centralwidget)
        self.confWidget3.setGeometry(QtCore.QRect(10, 130, 501, 51))
        self.confWidget3.setObjectName("confWidget3")
        self.confWidget4 = MplWidget(self.centralwidget)
        self.confWidget4.setGeometry(QtCore.QRect(10, 180, 501, 51))
        self.confWidget4.setObjectName("confWidget4")
        self.verticalLayoutWidget = QtGui.QWidget(self.centralwidget)
        self.verticalLayoutWidget.setGeometry(QtCore.QRect(110, 330, 521, 171))
        self.verticalLayoutWidget.setObjectName("verticalLayoutWidget")
        self.verticalLayout = QtGui.QVBoxLayout(self.verticalLayoutWidget)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.btn_generateData = QtGui.QPushButton(self.centralwidget)
        self.btn_generateData.setGeometry(QtCore.QRect(740, 320, 94, 24))
        self.btn_generateData.setObjectName("btn_generateData")
        self.btn_loadData = QtGui.QPushButton(self.centralwidget)
        self.btn_loadData.setGeometry(QtCore.QRect(740, 360, 94, 24))
        self.btn_loadData.setObjectName("btn_loadData")
        self.w_colourbar = MplWidget(self.centralwidget)
        self.w_colourbar.setGeometry(QtCore.QRect(510, 30, 31, 201))
        self.w_colourbar.setObjectName("w_colourbar")
        self.le_max = QtGui.QLineEdit(self.centralwidget)
        self.le_max.setGeometry(QtCore.QRect(540, 60, 61, 23))
        self.le_max.setObjectName("le_max")
        self.le_min = QtGui.QLineEdit(self.centralwidget)
        self.le_min.setGeometry(QtCore.QRect(540, 180, 61, 23))
        self.le_min.setObjectName("le_min")
        self.btn_set = QtGui.QPushButton(self.centralwidget)
        self.btn_set.setGeometry(QtCore.QRect(550, 90, 41, 41))
        self.btn_set.setObjectName("btn_set")
        self.btn_clear = QtGui.QPushButton(self.centralwidget)
        self.btn_clear.setGeometry(QtCore.QRect(550, 130, 41, 41))
        self.btn_clear.setObjectName("btn_clear")
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1056, 21))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
Esempio n. 8
0
class Ui_MplMainWindow(object):
    def setupUi(self, MplMainWindow):
        MplMainWindow.setObjectName("MplMainWindow")
        MplMainWindow.resize(800, 600)
        self.centralwidget = QtWidgets.QWidget(MplMainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.centralwidget)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.mpllineEdit = QtWidgets.QLineEdit(self.centralwidget)
        self.mpllineEdit.setObjectName("mpllineEdit")
        self.horizontalLayout.addWidget(self.mpllineEdit)
        self.mplpushButton = QtWidgets.QPushButton(self.centralwidget)
        self.mplpushButton.setObjectName("mplpushButton")
        self.horizontalLayout.addWidget(self.mplpushButton, 0,
                                        QtCore.Qt.AlignRight)
        self.verticalLayout_3.addLayout(self.horizontalLayout)
        self.mpl = MplWidget(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.mpl.sizePolicy().hasHeightForWidth())
        self.mpl.setSizePolicy(sizePolicy)
        self.mpl.setObjectName("mpl")
        self.verticalLayout_3.addWidget(self.mpl)
        MplMainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MplMainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 21))
        self.menubar.setObjectName("menubar")
        self.menuFile = QtWidgets.QMenu(self.menubar)
        self.menuFile.setObjectName("menuFile")
        MplMainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MplMainWindow)
        self.statusbar.setObjectName("statusbar")
        MplMainWindow.setStatusBar(self.statusbar)
        self.mplactionOpen = QtWidgets.QAction(MplMainWindow)
        self.mplactionOpen.setObjectName("mplactionOpen")
        self.mplactionQuit = QtWidgets.QAction(MplMainWindow)
        self.mplactionQuit.setObjectName("mplactionQuit")
        self.menuFile.addAction(self.mplactionOpen)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.mplactionQuit)
        self.menubar.addAction(self.menuFile.menuAction())

        self.retranslateUi(MplMainWindow)
        QtCore.QMetaObject.connectSlotsByName(MplMainWindow)

    def retranslateUi(self, MplMainWindow):
        _translate = QtCore.QCoreApplication.translate
        MplMainWindow.setWindowTitle(_translate("MplMainWindow", "MainWindow"))
        self.mplpushButton.setText(
            _translate("MplMainWindow", "Parse the file"))
        self.menuFile.setTitle(_translate("MplMainWindow", "File"))
        self.mplactionOpen.setText(_translate("MplMainWindow", "Open"))
        self.mplactionQuit.setText(_translate("MplMainWindow", "Quit"))
Esempio n. 9
0
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(800, 600)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.TimeButton = QtWidgets.QPushButton(self.centralwidget)
        self.TimeButton.setGeometry(QtCore.QRect(610, 30, 131, 31))
        self.TimeButton.setObjectName("TimeButton")
        self.FreqButton = QtWidgets.QPushButton(self.centralwidget)
        self.FreqButton.setGeometry(QtCore.QRect(610, 90, 131, 31))
        self.FreqButton.setObjectName("FreqButton")
        self.Display = MplWidget(self.centralwidget)
        self.Display.setGeometry(QtCore.QRect(10, 10, 591, 521))
        self.Display.setObjectName("Display")
        self.CutAt0 = QtWidgets.QCheckBox(self.centralwidget)
        self.CutAt0.setGeometry(QtCore.QRect(760, 100, 16, 16))
        self.CutAt0.setText("")
        self.CutAt0.setChecked(False)
        self.CutAt0.setTristate(False)
        self.CutAt0.setObjectName("CutAt0")
        self.STFTButton = QtWidgets.QPushButton(self.centralwidget)
        self.STFTButton.setGeometry(QtCore.QRect(610, 150, 131, 31))
        self.STFTButton.setObjectName("STFTButton")
        self.CWTButton = QtWidgets.QPushButton(self.centralwidget)
        self.CWTButton.setGeometry(QtCore.QRect(610, 210, 131, 31))
        self.CWTButton.setObjectName("CWTButton")
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 26))
        self.menubar.setObjectName("menubar")
        self.menuMenu = QtWidgets.QMenu(self.menubar)
        self.menuMenu.setObjectName("menuMenu")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)
        self.newFunc = QtWidgets.QAction(MainWindow)
        self.newFunc.setObjectName("newFunc")
        self.actionFreq = QtWidgets.QAction(MainWindow)
        self.actionFreq.setObjectName("actionFreq")
        self.menuMenu.addAction(self.newFunc)
        self.menubar.addAction(self.menuMenu.menuAction())

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
        self.TimeButton.setText(_translate("MainWindow", "Time domain"))
        self.FreqButton.setText(_translate("MainWindow", "Frequency domain"))
        self.STFTButton.setText(_translate("MainWindow", "STFT"))
        self.CWTButton.setText(_translate("MainWindow", "CWT"))
        self.menuMenu.setTitle(_translate("MainWindow", "Menu"))
        self.newFunc.setText(_translate("MainWindow", "New"))
        self.actionFreq.setText(_translate("MainWindow", "Freq"))
Esempio n. 10
0
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(800, 600)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.Simulation = QtWidgets.QPushButton(self.centralwidget)
        self.Simulation.setGeometry(QtCore.QRect(70, 440, 101, 23))
        self.Simulation.setObjectName("Simulation")
        self.Microphone = QtWidgets.QPushButton(self.centralwidget)
        self.Microphone.setGeometry(QtCore.QRect(70, 470, 101, 23))
        self.Microphone.setObjectName("Microphone")
        self.Quitter = QtWidgets.QPushButton(self.centralwidget)
        self.Quitter.setGeometry(QtCore.QRect(70, 500, 101, 23))
        self.Quitter.setObjectName("Quitter")
        self.VFrequence = QtWidgets.QTextEdit(self.centralwidget)
        self.VFrequence.setGeometry(QtCore.QRect(380, 400, 91, 31))
        self.VFrequence.setObjectName("VFrequence")
        self.Frequence = QtWidgets.QLabel(self.centralwidget)
        self.Frequence.setGeometry(QtCore.QRect(300, 400, 81, 31))
        self.Frequence.setObjectName("Frequence")
        self.Amplitude = QtWidgets.QLabel(self.centralwidget)
        self.Amplitude.setGeometry(QtCore.QRect(570, 450, 81, 31))
        self.Amplitude.setObjectName("Amplitude")
        self.Bruit = QtWidgets.QLabel(self.centralwidget)
        self.Bruit.setGeometry(QtCore.QRect(570, 500, 81, 31))
        self.Bruit.setObjectName("Bruit")
        self.Note = QtWidgets.QLabel(self.centralwidget)
        self.Note.setGeometry(QtCore.QRect(310, 330, 81, 31))
        self.Note.setObjectName("Note")
        self.VAmplitude = QtWidgets.QTextEdit(self.centralwidget)
        self.VAmplitude.setGeometry(QtCore.QRect(650, 450, 91, 31))
        self.VAmplitude.setObjectName("VAmplitude")
        self.VBruit = QtWidgets.QTextEdit(self.centralwidget)
        self.VBruit.setGeometry(QtCore.QRect(650, 500, 91, 31))
        self.VBruit.setObjectName("VBruit")
        self.Vnote = QtWidgets.QTextEdit(self.centralwidget)
        self.Vnote.setGeometry(QtCore.QRect(380, 330, 91, 31))
        self.Vnote.setObjectName("Vnote")
        self.Visualisation = MplWidget(self.centralwidget)
        self.Visualisation.setGeometry(QtCore.QRect(30, 10, 721, 301))
        self.Visualisation.setObjectName("Visualisation")
        self.progressBar = QtWidgets.QProgressBar(self.centralwidget)
        self.progressBar.setGeometry(QtCore.QRect(120, 370, 621, 23))
        self.progressBar.setProperty("value", 24)
        self.progressBar.setObjectName("progressBar")
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 22))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        self.Quitter.clicked.connect(MainWindow.close)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
Esempio n. 11
0
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(1029, 437)
        self.mplwidget = MplWidget(Dialog)
        self.mplwidget.setGeometry(QtCore.QRect(30, 70, 971, 341))
        self.mplwidget.setObjectName("mplwidget")
        self.label = QtWidgets.QLabel(Dialog)
        self.label.setGeometry(QtCore.QRect(480, 10, 67, 17))
        self.label.setObjectName("label")

        self.retranslateUi(Dialog)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(909, 836)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.frequencySlider = QtWidgets.QSlider(self.centralwidget)
        self.frequencySlider.setEnabled(False)
        self.frequencySlider.setGeometry(QtCore.QRect(480, 40, 160, 22))
        self.frequencySlider.setMaximum(1000)
        self.frequencySlider.setOrientation(QtCore.Qt.Horizontal)
        self.frequencySlider.setObjectName("frequencySlider")
        self.maxFrequencylineEdit = QtWidgets.QLineEdit(self.centralwidget)
        self.maxFrequencylineEdit.setEnabled(True)
        self.maxFrequencylineEdit.setGeometry(QtCore.QRect(660, 40, 71, 20))
        self.maxFrequencylineEdit.setObjectName("maxFrequencylineEdit")
        self.minFrequencyLineEdit = QtWidgets.QLineEdit(self.centralwidget)
        self.minFrequencyLineEdit.setEnabled(True)
        self.minFrequencyLineEdit.setGeometry(QtCore.QRect(390, 40, 81, 21))
        self.minFrequencyLineEdit.setObjectName("minFrequencyLineEdit")
        self.frequencyLabel = QtWidgets.QLabel(self.centralwidget)
        self.frequencyLabel.setGeometry(QtCore.QRect(520, 10, 101, 21))
        self.frequencyLabel.setTextFormat(QtCore.Qt.AutoText)
        self.frequencyLabel.setScaledContents(False)
        self.frequencyLabel.setObjectName("frequencyLabel")
        self.checkBox_sweep = QtWidgets.QCheckBox(self.centralwidget)
        self.checkBox_sweep.setEnabled(False)
        self.checkBox_sweep.setGeometry(QtCore.QRect(300, 20, 70, 17))
        self.checkBox_sweep.setObjectName("checkBox_sweep")
        self.MplWidget_phase = MplWidget(self.centralwidget)
        self.MplWidget_phase.setGeometry(QtCore.QRect(29, 140, 841, 641))
        self.MplWidget_phase.setMinimumSize(QtCore.QSize(480, 240))
        self.MplWidget_phase.setCursor(QtGui.QCursor(QtCore.Qt.CrossCursor))
        self.MplWidget_phase.setObjectName("MplWidget_phase")
        self.comportComboBox = QtWidgets.QComboBox(self.centralwidget)
        self.comportComboBox.setGeometry(QtCore.QRect(30, 60, 81, 22))
        self.comportComboBox.setEditable(True)
        self.comportComboBox.setObjectName("comportComboBox")
        self.startStopButton = QtWidgets.QPushButton(self.centralwidget)
        self.startStopButton.setGeometry(QtCore.QRect(30, 30, 81, 23))
        self.startStopButton.setObjectName("startStopButton")
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 909, 21))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
Esempio n. 13
0
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(800, 600)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.plotCanvas = MplWidget(self.centralwidget)
        self.plotCanvas.setObjectName(_fromUtf8("plotCanvas"))
        self.verticalLayout.addWidget(self.plotCanvas)
        MainWindow.setCentralWidget(self.centralwidget)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
Esempio n. 14
0
class Ui_MplMainWindow(object):
    def setupUi(self, MplMainWindow):
        MplMainWindow.setObjectName(_fromUtf8("MplMainWindow"))
        MplMainWindow.resize(800, 600)
        self.mplcentralwidget = QtGui.QWidget(MplMainWindow)
        self.mplcentralwidget.setObjectName(_fromUtf8("mplcentralwidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.mplcentralwidget)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.mplhorizontalLayout = QtGui.QHBoxLayout()
        self.mplhorizontalLayout.setObjectName(_fromUtf8("mplhorizontalLayout"))
        self.mpllineEdit = QtGui.QLineEdit(self.mplcentralwidget)
        self.mpllineEdit.setObjectName(_fromUtf8("mpllineEdit"))
        self.mplhorizontalLayout.addWidget(self.mpllineEdit)
        self.mplpushButton = QtGui.QPushButton(self.mplcentralwidget)
        self.mplpushButton.setObjectName(_fromUtf8("mplpushButton"))
        self.mplhorizontalLayout.addWidget(self.mplpushButton)
        self.verticalLayout.addLayout(self.mplhorizontalLayout)
        self.mpl = MplWidget(self.mplcentralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.mpl.sizePolicy().hasHeightForWidth())
        self.mpl.setSizePolicy(sizePolicy)
        self.mpl.setObjectName(_fromUtf8("mpl"))
        self.verticalLayout.addWidget(self.mpl)
        MplMainWindow.setCentralWidget(self.mplcentralwidget)
        self.mplmenubar = QtGui.QMenuBar(MplMainWindow)
        self.mplmenubar.setGeometry(QtCore.QRect(0, 0, 800, 25))
        self.mplmenubar.setObjectName(_fromUtf8("mplmenubar"))
        self.mplmenuFile = QtGui.QMenu(self.mplmenubar)
        self.mplmenuFile.setObjectName(_fromUtf8("mplmenuFile"))
        MplMainWindow.setMenuBar(self.mplmenubar)
        self.mplactionOpen = QtGui.QAction(MplMainWindow)
        self.mplactionOpen.setObjectName(_fromUtf8("mplactionOpen"))
        self.mplactionQuit = QtGui.QAction(MplMainWindow)
        self.mplactionQuit.setObjectName(_fromUtf8("mplactionQuit"))
        self.mplmenuFile.addAction(self.mplactionOpen)
        self.mplmenuFile.addSeparator()
        self.mplmenuFile.addAction(self.mplactionQuit)
        self.mplmenubar.addAction(self.mplmenuFile.menuAction())

        self.retranslateUi(MplMainWindow)
        QtCore.QMetaObject.connectSlotsByName(MplMainWindow)

    def retranslateUi(self, MplMainWindow):
        MplMainWindow.setWindowTitle(_translate("MplMainWindow", "MainWindow", None))
        self.mplpushButton.setText(_translate("MplMainWindow", "PushButton", None))
        self.mplmenuFile.setTitle(_translate("MplMainWindow", "File", None))
        self.mplactionOpen.setText(_translate("MplMainWindow", "Open", None))
        self.mplactionQuit.setText(_translate("MplMainWindow", "Quit", None))
Esempio n. 15
0
class Ui_GpMainWindow(object):
    def setupUi(self, GpMainWindow):
        GpMainWindow.setObjectName("GpMainWindow")
        GpMainWindow.resize(567, 497)
        self.Gpcentralwidget = QtGui.QWidget(GpMainWindow)
        self.Gpcentralwidget.setObjectName("Gpcentralwidget")
        self.verticalLayout = QtGui.QVBoxLayout(self.Gpcentralwidget)
        self.verticalLayout.setObjectName("verticalLayout")
        self.GpgridLayout = QtGui.QGridLayout()
        self.GpgridLayout.setObjectName("GpgridLayout")
        self.GppushButton = QtGui.QPushButton(self.Gpcentralwidget)
        self.GppushButton.setObjectName("GppushButton")
        self.GpgridLayout.addWidget(self.GppushButton, 1, 2, 1, 1)
        self.GpradioButton2 = QtGui.QRadioButton(self.Gpcentralwidget)
        self.GpradioButton2.setEnabled(False)
        self.GpradioButton2.setObjectName("GpradioButton2")
        self.GpgridLayout.addWidget(self.GpradioButton2, 1, 1, 1, 1)
        self.GpradioButton = QtGui.QRadioButton(self.Gpcentralwidget)
        self.GpradioButton.setChecked(True)
        self.GpradioButton.setObjectName("GpradioButton")
        self.GpgridLayout.addWidget(self.GpradioButton, 1, 0, 1, 1)
        self.GplineEdit = QtGui.QLineEdit(self.Gpcentralwidget)
        self.GplineEdit.setObjectName("GplineEdit")
        self.GpgridLayout.addWidget(self.GplineEdit, 0, 0, 1, 1)
        self.GplineEdit_2 = QtGui.QLineEdit(self.Gpcentralwidget)
        self.GplineEdit_2.setObjectName("GplineEdit_2")
        self.GpgridLayout.addWidget(self.GplineEdit_2, 0, 1, 1, 1)
        self.GplineEdit_3 = QtGui.QLineEdit(self.Gpcentralwidget)
        self.GplineEdit_3.setEnabled(False)
        self.GplineEdit_3.setObjectName("GplineEdit_3")
        self.GpgridLayout.addWidget(self.GplineEdit_3, 0, 2, 1, 1)
        self.verticalLayout.addLayout(self.GpgridLayout)
        self.Mpl = MplWidget(self.Gpcentralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.Mpl.sizePolicy().hasHeightForWidth())
        self.Mpl.setSizePolicy(sizePolicy)
        self.Mpl.setObjectName("Mpl")
        self.verticalLayout.addWidget(self.Mpl)
        GpMainWindow.setCentralWidget(self.Gpcentralwidget)

        self.retranslateUi(GpMainWindow)
        QtCore.QMetaObject.connectSlotsByName(GpMainWindow)

    def retranslateUi(self, GpMainWindow):
        GpMainWindow.setWindowTitle(QtGui.QApplication.translate("GpMainWindow", "Graph Plotter", None, QtGui.QApplication.UnicodeUTF8))
        self.GppushButton.setText(QtGui.QApplication.translate("GpMainWindow", "Draw", None, QtGui.QApplication.UnicodeUTF8))
        self.GpradioButton2.setText(QtGui.QApplication.translate("GpMainWindow", "Plot 3D", None, QtGui.QApplication.UnicodeUTF8))
        self.GpradioButton.setText(QtGui.QApplication.translate("GpMainWindow", "Plot 2D", None, QtGui.QApplication.UnicodeUTF8))
Esempio n. 16
0
class Ui_Grapheur(object):
    def setupUi(self, Grapheur):
        Grapheur.setObjectName("Grapheur")
        Grapheur.resize(748, 279)
        self.centralwidget = QtWidgets.QWidget(Grapheur)
        self.centralwidget.setObjectName("centralwidget")
        self.lblFreq = QtWidgets.QLabel(self.centralwidget)
        self.lblFreq.setGeometry(QtCore.QRect(20, 20, 71, 16))
        self.lblFreq.setObjectName("lblFreq")
        self.txtFreq = QtWidgets.QLineEdit(self.centralwidget)
        self.txtFreq.setGeometry(QtCore.QRect(130, 20, 113, 21))
        self.txtFreq.setObjectName("txtFreq")
        self.lblBruit = QtWidgets.QLabel(self.centralwidget)
        self.lblBruit.setGeometry(QtCore.QRect(20, 60, 111, 16))
        self.lblBruit.setObjectName("lblBruit")
        self.txtBruit = QtWidgets.QLineEdit(self.centralwidget)
        self.txtBruit.setGeometry(QtCore.QRect(130, 60, 113, 21))
        self.txtBruit.setObjectName("txtBruit")
        self.btValider = QtWidgets.QPushButton(self.centralwidget)
        self.btValider.setGeometry(QtCore.QRect(10, 100, 113, 32))
        self.btValider.setObjectName("btValider")
        self.wdGraph = MplWidget(self.centralwidget)
        self.wdGraph.setGeometry(QtCore.QRect(260, 20, 461, 191))
        self.wdGraph.setObjectName("wdGraph")
        self.btQuitter = QtWidgets.QPushButton(self.centralwidget)
        self.btQuitter.setGeometry(QtCore.QRect(130, 100, 113, 32))
        self.btQuitter.setObjectName("btQuitter")
        Grapheur.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(Grapheur)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 748, 22))
        self.menubar.setObjectName("menubar")
        Grapheur.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(Grapheur)
        self.statusbar.setObjectName("statusbar")
        Grapheur.setStatusBar(self.statusbar)

        self.retranslateUi(Grapheur)
        self.btQuitter.clicked.connect(Grapheur.close)
        QtCore.QMetaObject.connectSlotsByName(Grapheur)

    def retranslateUi(self, Grapheur):
        _translate = QtCore.QCoreApplication.translate
        Grapheur.setWindowTitle(_translate("Grapheur", "Grapheur"))
        self.lblFreq.setText(_translate("Grapheur", "Fréquence :"))
        self.txtFreq.setText(_translate("Grapheur", "1000"))
        self.lblBruit.setText(_translate("Grapheur", "Amplitude bruit :"))
        self.txtBruit.setText(_translate("Grapheur", "0.1"))
        self.btValider.setText(_translate("Grapheur", "Valider"))
        self.btQuitter.setText(_translate("Grapheur", "Quitter"))
Esempio n. 17
0
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(348, 432)
        self.lineEdit = QtWidgets.QLineEdit(Dialog)
        self.lineEdit.setGeometry(QtCore.QRect(81, 260, 113, 20))
        self.lineEdit.setObjectName("lineEdit")
        self.textBrowser = QtWidgets.QTextBrowser(Dialog)
        self.textBrowser.setGeometry(QtCore.QRect(50, 10, 241, 31))
        self.textBrowser.setObjectName("textBrowser")
        self.splitter_2 = QtWidgets.QSplitter(Dialog)
        self.splitter_2.setGeometry(QtCore.QRect(81, 210, 149, 41))
        self.splitter_2.setOrientation(QtCore.Qt.Vertical)
        self.splitter_2.setObjectName("splitter_2")
        self.pushButton = QtWidgets.QPushButton(self.splitter_2)
        self.pushButton.setObjectName("pushButton")
        self.splitter = QtWidgets.QSplitter(self.splitter_2)
        self.splitter.setOrientation(QtCore.Qt.Horizontal)
        self.splitter.setObjectName("splitter")
        self.checkBox = QtWidgets.QCheckBox(self.splitter)
        self.checkBox.setChecked(False)
        self.checkBox.setObjectName("checkBox")
        self.radioButton = QtWidgets.QRadioButton(self.splitter)
        self.radioButton.setObjectName("radioButton")
        self.tabWidget = QtWidgets.QTabWidget(Dialog)
        self.tabWidget.setGeometry(QtCore.QRect(51, 310, 191, 111))
        self.tabWidget.setObjectName("tabWidget")
        self.tab = QtWidgets.QWidget()
        self.tab.setObjectName("tab")
        self.comboBox = QtWidgets.QComboBox(self.tab)
        self.comboBox.setGeometry(QtCore.QRect(10, 20, 59, 22))
        self.comboBox.setObjectName("comboBox")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.comboBox.addItem("")
        self.tabWidget.addTab(self.tab, "")
        self.tab_2 = QtWidgets.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.progressBar = QtWidgets.QProgressBar(self.tab_2)
        self.progressBar.setGeometry(QtCore.QRect(40, 30, 118, 23))
        self.progressBar.setProperty("value", 24)
        self.progressBar.setObjectName("progressBar")
        self.tabWidget.addTab(self.tab_2, "")
        self.MplWidget = MplWidget(Dialog)
        self.MplWidget.setGeometry(QtCore.QRect(30, 50, 281, 141))
        self.MplWidget.setObjectName("MplWidget")

        self.retranslateUi(Dialog)
        self.tabWidget.setCurrentIndex(1)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
Esempio n. 18
0
class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(889, 643)
        self.label = QtWidgets.QLabel(Form)
        self.label.setGeometry(QtCore.QRect(290, 30, 341, 21))
        font = QtGui.QFont()
        font.setPointSize(24)
        self.label.setFont(font)
        self.label.setAlignment(QtCore.Qt.AlignCenter)
        self.label.setObjectName("label")
        self.label_2 = QtWidgets.QLabel(Form)
        self.label_2.setGeometry(QtCore.QRect(680, 40, 141, 16))
        self.label_2.setObjectName("label_2")
        self.btopenfile = QtWidgets.QPushButton(Form)
        self.btopenfile.setGeometry(QtCore.QRect(390, 60, 114, 32))
        self.btopenfile.setObjectName("btopenfile")
        self.filenamelabel = QtWidgets.QLabel(Form)
        self.filenamelabel.setGeometry(QtCore.QRect(400, 100, 101, 16))
        self.filenamelabel.setAlignment(QtCore.Qt.AlignCenter)
        self.filenamelabel.setObjectName("filenamelabel")
        self.mplwidget1 = MplWidget(Form)
        self.mplwidget1.setGeometry(QtCore.QRect(20, 150, 411, 411))
        self.mplwidget1.setObjectName("mplwidget1")
        self.mplwidget2 = MplWidget(Form)
        self.mplwidget2.setGeometry(QtCore.QRect(460, 150, 411, 411))
        self.mplwidget2.setObjectName("mplwidget2")
        self.label_3 = QtWidgets.QLabel(Form)
        self.label_3.setGeometry(QtCore.QRect(200, 120, 91, 21))
        font = QtGui.QFont()
        font.setPointSize(18)
        self.label_3.setFont(font)
        self.label_3.setAlignment(QtCore.Qt.AlignCenter)
        self.label_3.setObjectName("label_3")
        self.label_4 = QtWidgets.QLabel(Form)
        self.label_4.setGeometry(QtCore.QRect(560, 120, 201, 21))
        font = QtGui.QFont()
        font.setPointSize(18)
        self.label_4.setFont(font)
        self.label_4.setAlignment(QtCore.Qt.AlignCenter)
        self.label_4.setObjectName("label_4")
        self.btrun = QtWidgets.QPushButton(Form)
        self.btrun.setGeometry(QtCore.QRect(390, 580, 111, 41))
        self.btrun.setObjectName("btrun")

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate("Form", "Form"))
        self.label.setText(_translate("Form", "Neural Networks HW3 - SOM"))
        self.label_2.setText(_translate("Form", "104103025許嘉茵"))
        self.btopenfile.setText(_translate("Form", "Open file"))
        self.filenamelabel.setText(_translate("Form", "filename"))
        self.label_3.setText(_translate("Form", "Result"))
        self.label_4.setText(_translate("Form", "Result- Normalized"))
        self.btrun.setText(_translate("Form", "Run"))
Esempio n. 19
0
    def setupUi(self, Plotterui):
        Plotterui.setObjectName(_fromUtf8("Plotterui"))
        Plotterui.resize(803, 586)
        self.MPLArea = MplWidget(Plotterui)
        self.MPLArea.setGeometry(QtCore.QRect(150, 10, 641, 561))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.MPLArea.sizePolicy().hasHeightForWidth())
        self.MPLArea.setSizePolicy(sizePolicy)
        self.MPLArea.setFocusPolicy(QtCore.Qt.NoFocus)
        self.MPLArea.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
        self.MPLArea.setObjectName(_fromUtf8("MPLArea"))
        self.PLOT_Button = QtGui.QPushButton(Plotterui)
        self.PLOT_Button.setGeometry(QtCore.QRect(20, 190, 75, 23))
        self.PLOT_Button.setObjectName(_fromUtf8("PLOT_Button"))
        self.checkTotalInt = QtGui.QCheckBox(Plotterui)
        self.checkTotalInt.setGeometry(QtCore.QRect(11, 101, 62, 17))
        self.checkTotalInt.setChecked(True)
        self.checkTotalInt.setObjectName(_fromUtf8("checkTotalInt"))
        self.checkFlammenhoehe = QtGui.QCheckBox(Plotterui)
        self.checkFlammenhoehe.setGeometry(QtCore.QRect(11, 124, 95, 17))
        self.checkFlammenhoehe.setChecked(True)
        self.checkFlammenhoehe.setObjectName(_fromUtf8("checkFlammenhoehe"))
        self.checkFlammenhoeheGauss = QtGui.QCheckBox(Plotterui)
        self.checkFlammenhoeheGauss.setGeometry(QtCore.QRect(10, 150, 131, 17))
        self.checkFlammenhoeheGauss.setChecked(True)
        self.checkFlammenhoeheGauss.setObjectName(_fromUtf8("checkFlammenhoeheGauss"))

        self.retranslateUi(Plotterui)
        QtCore.QObject.connect(self.PLOT_Button, QtCore.SIGNAL(_fromUtf8("clicked()")), Plotterui.myPlot)
        QtCore.QMetaObject.connectSlotsByName(Plotterui)
Esempio n. 20
0
 def __init__(self, title="what is my name?"):
     super().__init__()
     self.setWindowTitle(title)
     layout = QVBoxLayout()
     self.mpl_graph = MplWidget()
     layout.addWidget(self.mpl_graph)
     self.setLayout(layout)
Esempio n. 21
0
File: plotter.py Progetto: P1R/STM32
    def setupUi(self, GpMainWindow):
        GpMainWindow.setObjectName(_fromUtf8("GpMainWindow"))
        GpMainWindow.resize(567, 497)
        self.Gpcentralwidget = QtGui.QWidget(GpMainWindow)
        self.Gpcentralwidget.setObjectName(_fromUtf8("Gpcentralwidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.Gpcentralwidget)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.Mpl = MplWidget(self.Gpcentralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.Mpl.sizePolicy().hasHeightForWidth())
        self.Mpl.setSizePolicy(sizePolicy)
        self.Mpl.setObjectName(_fromUtf8("Mpl"))
        self.verticalLayout.addWidget(self.Mpl)
        self.GpgridLayout = QtGui.QGridLayout()
        self.GpgridLayout.setObjectName(_fromUtf8("GpgridLayout"))
        self.pushButton = QtGui.QPushButton(self.Gpcentralwidget)
        self.pushButton.setObjectName(_fromUtf8("pushButton"))
        self.GpgridLayout.addWidget(self.pushButton, 0, 1, 1, 1)
        self.GppushButton = QtGui.QPushButton(self.Gpcentralwidget)
        self.GppushButton.setObjectName(_fromUtf8("GppushButton"))
        self.GpgridLayout.addWidget(self.GppushButton, 0, 0, 1, 1)
        self.pushButton_2 = QtGui.QPushButton(self.Gpcentralwidget)
        self.pushButton_2.setObjectName(_fromUtf8("pushButton_2"))
        self.GpgridLayout.addWidget(self.pushButton_2, 0, 2, 1, 1)
        self.verticalLayout.addLayout(self.GpgridLayout)
        GpMainWindow.setCentralWidget(self.Gpcentralwidget)

        self.retranslateUi(GpMainWindow)
        QtCore.QObject.connect(self.GppushButton, QtCore.SIGNAL(_fromUtf8("clicked()")), GpMainWindow.slot1)
        QtCore.QObject.connect(self.pushButton, QtCore.SIGNAL(_fromUtf8("clicked()")), GpMainWindow.slot1)
        QtCore.QObject.connect(self.pushButton_2, QtCore.SIGNAL(_fromUtf8("clicked()")), GpMainWindow.slot1)
        QtCore.QMetaObject.connectSlotsByName(GpMainWindow)
Esempio n. 22
0
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(889, 643)
        self.label = QtWidgets.QLabel(Form)
        self.label.setGeometry(QtCore.QRect(290, 30, 341, 21))
        font = QtGui.QFont()
        font.setPointSize(24)
        self.label.setFont(font)
        self.label.setAlignment(QtCore.Qt.AlignCenter)
        self.label.setObjectName("label")
        self.label_2 = QtWidgets.QLabel(Form)
        self.label_2.setGeometry(QtCore.QRect(680, 40, 141, 16))
        self.label_2.setObjectName("label_2")
        self.btopenfile = QtWidgets.QPushButton(Form)
        self.btopenfile.setGeometry(QtCore.QRect(390, 60, 114, 32))
        self.btopenfile.setObjectName("btopenfile")
        self.filenamelabel = QtWidgets.QLabel(Form)
        self.filenamelabel.setGeometry(QtCore.QRect(400, 100, 101, 16))
        self.filenamelabel.setAlignment(QtCore.Qt.AlignCenter)
        self.filenamelabel.setObjectName("filenamelabel")
        self.mplwidget1 = MplWidget(Form)
        self.mplwidget1.setGeometry(QtCore.QRect(20, 150, 411, 411))
        self.mplwidget1.setObjectName("mplwidget1")
        self.mplwidget2 = MplWidget(Form)
        self.mplwidget2.setGeometry(QtCore.QRect(460, 150, 411, 411))
        self.mplwidget2.setObjectName("mplwidget2")
        self.label_3 = QtWidgets.QLabel(Form)
        self.label_3.setGeometry(QtCore.QRect(200, 120, 91, 21))
        font = QtGui.QFont()
        font.setPointSize(18)
        self.label_3.setFont(font)
        self.label_3.setAlignment(QtCore.Qt.AlignCenter)
        self.label_3.setObjectName("label_3")
        self.label_4 = QtWidgets.QLabel(Form)
        self.label_4.setGeometry(QtCore.QRect(560, 120, 201, 21))
        font = QtGui.QFont()
        font.setPointSize(18)
        self.label_4.setFont(font)
        self.label_4.setAlignment(QtCore.Qt.AlignCenter)
        self.label_4.setObjectName("label_4")
        self.btrun = QtWidgets.QPushButton(Form)
        self.btrun.setGeometry(QtCore.QRect(390, 580, 111, 41))
        self.btrun.setObjectName("btrun")

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)
Esempio n. 23
0
 def __init__(self):
     QtWidgets.QMainWindow.__init__(self)
     Ui_MainWindow.__init__(self)
     self.setupUi(self)
     self.MplWidget = MplWidget(self.MplWidget)
     self.cargar.clicked.connect(self.getCSV)
     self.df = pd.read_csv('./data/covid_data.csv', parse_dates=['Country'], sep=',', na_values='')
     self.aux=[]
Esempio n. 24
0
    def setupUi(self, Form):
        Form.setObjectName(_fromUtf8("Form"))
        Form.resize(580, 462)
        self.verticalLayout = QtGui.QVBoxLayout(Form)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.mpl = MplWidget(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.mpl.sizePolicy().hasHeightForWidth())
        self.mpl.setSizePolicy(sizePolicy)
        self.mpl.setMaximumSize(QtCore.QSize(821, 630))
        self.mpl.setObjectName(_fromUtf8("mpl"))
        self.verticalLayout.addWidget(self.mpl)
        self.horizontalLayout_22 = QtGui.QHBoxLayout()
        self.horizontalLayout_22.setSpacing(1)
        self.horizontalLayout_22.setSizeConstraint(QtGui.QLayout.SetMinimumSize)
        self.horizontalLayout_22.setObjectName(_fromUtf8("horizontalLayout_22"))
        self.mplactionCut_by_line = QtGui.QPushButton(Form)
        self.mplactionCut_by_line.setCheckable(True)
        self.mplactionCut_by_line.setFlat(True)
        self.mplactionCut_by_line.setObjectName(_fromUtf8("mplactionCut_by_line"))
        self.horizontalLayout_22.addWidget(self.mplactionCut_by_line)
        self.mplactionCut_by_rect = QtGui.QPushButton(Form)
        self.mplactionCut_by_rect.setCheckable(True)
        self.mplactionCut_by_rect.setFlat(True)
        self.mplactionCut_by_rect.setObjectName(_fromUtf8("mplactionCut_by_rect"))
        self.horizontalLayout_22.addWidget(self.mplactionCut_by_rect)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_22.addItem(spacerItem)
        self.label_2 = QtGui.QLabel(Form)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.horizontalLayout_22.addWidget(self.label_2)
        self.mplhorizontalSlider = QtGui.QSlider(Form)
        self.mplhorizontalSlider.setProperty("value", 3)
        self.mplhorizontalSlider.setOrientation(QtCore.Qt.Horizontal)
        self.mplhorizontalSlider.setObjectName(_fromUtf8("mplhorizontalSlider"))
        self.horizontalLayout_22.addWidget(self.mplhorizontalSlider)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_22.addItem(spacerItem1)
        self.autoScale = QtGui.QCheckBox(Form)
        self.autoScale.setObjectName(_fromUtf8("autoScale"))
        self.horizontalLayout_22.addWidget(self.autoScale)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_22.addItem(spacerItem2)
        self.label = QtGui.QLabel(Form)
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout_22.addWidget(self.label)
        self.xLogScale = QtGui.QCheckBox(Form)
        self.xLogScale.setObjectName(_fromUtf8("xLogScale"))
        self.horizontalLayout_22.addWidget(self.xLogScale)
        self.yLogScale = QtGui.QCheckBox(Form)
        self.yLogScale.setObjectName(_fromUtf8("yLogScale"))
        self.horizontalLayout_22.addWidget(self.yLogScale)
        self.verticalLayout.addLayout(self.horizontalLayout_22)

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)
Esempio n. 25
0
    def __init__(self):
        QtWidgets.QMainWindow.__init__(self)
        Ui_MainWindow.__init__(self)
        self.setupUi(self)
        self.MplWidget = MplWidget(self.MplWidget)
        self.cargar.clicked.connect(self.getCSV)

        self.graficar.clicked.connect(self.presentarTabla)
        self.estadistica.clicked.connect(self.estadisticas)
Esempio n. 26
0
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(800, 600)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.plotCanvas = MplWidget(self.centralwidget)
        self.plotCanvas.setObjectName(_fromUtf8("plotCanvas"))
        self.verticalLayout.addWidget(self.plotCanvas)
        MainWindow.setCentralWidget(self.centralwidget)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "Plots", None, QtGui.QApplication.UnicodeUTF8))
Esempio n. 27
0
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(1029, 437)
        self.mplwidget = MplWidget(Dialog)
        self.mplwidget.setGeometry(QtCore.QRect(30, 70, 971, 341))
        self.mplwidget.setObjectName("mplwidget")
        self.label = QtWidgets.QLabel(Dialog)
        self.label.setGeometry(QtCore.QRect(480, 10, 67, 17))
        self.label.setObjectName("label")

        self.retranslateUi(Dialog)
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        _translate = QtCore.QCoreApplication.translate
        Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
        self.label.setText(_translate("Dialog", "Data"))
Esempio n. 28
0
    def __init__(self, parent=None):
        global logger, log_formatter
        # Initialization of the superclass
        super(MainWindow, self).__init__(parent)

        # Load the UI
        uic.loadUi(UI_FILE, self)
        # Default window parameters
        self.setMinimumSize(QSize(480, 240))  # Set sizes
        self.resize(QSize(640, 480))
        self.move(QPoint(50, 50))
        self.setWindowTitle(APPLICATION_NAME)  # Set a title
        # self.setWindowIcon(QtGui.QIcon('icon.png'))

        # Create new plot widget
        self.mplw = MplWidget()
        # self.mplw.ntb.setIconSize(QSize(18, 18))
        # self.mplw.ntb.setFixedSize(300, 24)
        layout = self.frame_3.layout()
        layout.addWidget(self.mplw)
        axes = self.mplw.canvas.ax
        #axes.clear()
        #axes.set_xlabel('Time, s')
        #axes.set_ylabel('Signal, V')
        #axes.grid(color='k', linestyle='--')
        #x = numpy.arange(100.0)
        #y = numpy.sin(x)
        #axes.plot(x, y)

        # Class members definition
        self.folder = None

        # Connect signals with slots
        self.pushButton.clicked.connect(self.erase)
        self.comboBox.currentIndexChanged.connect(self.processing_changed)
        self.listWidget.itemSelectionChanged.connect(
            self.list_selection_changed)
        self.pushButton_2.clicked.connect(self.select_folder)
        self.comboBox_2.currentIndexChanged.connect(self.folder_changed)
        # Menu actions connection
        self.actionQuit.triggered.connect(qApp.quit)
        self.actionAbout.triggered.connect(self.show_about)
        # Additional decorations
        # self.radioButton.setStyleSheet('QRadioButton {background-color: red}')
        #self.lineEdit.setStyleSheet('QLineEdit {background-color: red}')
        # self.doubleSpinBox_4.setSingleStep(0.1)
        # Clock at status bar
        self.clock = QLabel(" ")
        # self.clock.setFont(QFont('Open Sans Bold', 14, weight=QFont.Bold))
        self.clock.setFont(QFont('Open Sans Bold', 12))
        self.statusBar().addPermanentWidget(self.clock)

        print(APPLICATION_NAME + ' version ' + APPLICATION_VERSION +
              ' started')

        self.restore_settings()
    def setupUi(self, MplMainWindow):
        MplMainWindow.setObjectName("MplMainWindow")
        MplMainWindow.resize(607, 434)
        self.mplcentralwidget = QtGui.QWidget(MplMainWindow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.mplcentralwidget.sizePolicy().hasHeightForWidth())
        self.mplcentralwidget.setSizePolicy(sizePolicy)
        self.mplcentralwidget.setObjectName("mplcentralwidget")
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.mplcentralwidget)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.mplhorizontalLayout = QtGui.QHBoxLayout()
        self.mplhorizontalLayout.setSizeConstraint(QtGui.QLayout.SetNoConstraint)
        self.mplhorizontalLayout.setObjectName("mplhorizontalLayout")
        self.mpllineEdit = QtGui.QLineEdit(self.mplcentralwidget)
        self.mpllineEdit.setMinimumSize(QtCore.QSize(489, 21))
        self.mpllineEdit.setObjectName("mpllineEdit")
        self.mplhorizontalLayout.addWidget(self.mpllineEdit)
        self.mplpushButton = QtGui.QPushButton(self.mplcentralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.mplpushButton.sizePolicy().hasHeightForWidth())
        self.mplpushButton.setSizePolicy(sizePolicy)
        self.mplpushButton.setMinimumSize(QtCore.QSize(91, 25))
        self.mplpushButton.setObjectName("mplpushButton")
        self.mplhorizontalLayout.addWidget(self.mplpushButton)
        self.verticalLayout_2.addLayout(self.mplhorizontalLayout)
        self.mpl = MplWidget(self.mplcentralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.mpl.sizePolicy().hasHeightForWidth())
        self.mpl.setSizePolicy(sizePolicy)
        self.mpl.setObjectName("mpl")
        self.verticalLayout_2.addWidget(self.mpl)
        MplMainWindow.setCentralWidget(self.mplcentralwidget)
        self.mplmenuBar = QtGui.QMenuBar(MplMainWindow)
        self.mplmenuBar.setGeometry(QtCore.QRect(0, 0, 607, 25))
        self.mplmenuBar.setObjectName("mplmenuBar")
        self.mplmenuFile = QtGui.QMenu(self.mplmenuBar)
        self.mplmenuFile.setObjectName("mplmenuFile")
        MplMainWindow.setMenuBar(self.mplmenuBar)
        self.mplactionOpen = QtGui.QAction(MplMainWindow)
        self.mplactionOpen.setIconVisibleInMenu(False)
        self.mplactionOpen.setObjectName("mplactionOpen")
        self.mplactionQuit = QtGui.QAction(MplMainWindow)
        self.mplactionQuit.setObjectName("mplactionQuit")
        self.mplmenuFile.addAction(self.mplactionOpen)
        self.mplmenuFile.addSeparator()
        self.mplmenuFile.addAction(self.mplactionQuit)
        self.mplmenuBar.addAction(self.mplmenuFile.menuAction())

        self.retranslateUi(MplMainWindow)
        QtCore.QMetaObject.connectSlotsByName(MplMainWindow)
Esempio n. 30
0
    def setupUi(self, MplMainWindow):
        MplMainWindow.setObjectName("MplMainWindow")
        MplMainWindow.resize(800, 600)
        self.mplcentralwidget = QtGui.QWidget(MplMainWindow)
        self.mplcentralwidget.setObjectName("mplcentralwidget")
        self.verticalLayout = QtGui.QVBoxLayout(self.mplcentralwidget)
        self.verticalLayout.setObjectName("verticalLayout")
        self.mplhorizontalLayout = QtGui.QHBoxLayout()
        self.mplhorizontalLayout.setObjectName("mplhorizontalLayout")
        self.mpllineEdit = QtGui.QLineEdit(self.mplcentralwidget)
        self.mpllineEdit.setObjectName("mpllineEdit")
        self.mplhorizontalLayout.addWidget(self.mpllineEdit)
        self.mplpushButton = QtGui.QPushButton(self.mplcentralwidget)
        self.mplpushButton.setObjectName("mplpushButton")
        self.mplhorizontalLayout.addWidget(self.mplpushButton)
        self.verticalLayout.addLayout(self.mplhorizontalLayout)
        self.mpl = MplWidget(self.mplcentralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.mpl.sizePolicy().hasHeightForWidth())
        self.mpl.setSizePolicy(sizePolicy)
        self.mpl.setObjectName("mpl")
        self.verticalLayout.addWidget(self.mpl)
        MplMainWindow.setCentralWidget(self.mplcentralwidget)
        self.mplmenubar = QtGui.QMenuBar(MplMainWindow)
        self.mplmenubar.setGeometry(QtCore.QRect(0, 0, 800, 25))
        self.mplmenubar.setObjectName("mplmenubar")
        self.mplmenuFile = QtGui.QMenu(self.mplmenubar)
        self.mplmenuFile.setObjectName("mplmenuFile")
        MplMainWindow.setMenuBar(self.mplmenubar)
        self.mplactionOpen = QtGui.QAction(MplMainWindow)
        self.mplactionOpen.setObjectName("mplactionOpen")
        self.mplactionQuit = QtGui.QAction(MplMainWindow)
        self.mplactionQuit.setObjectName("mplactionQuit")
        self.mplmenuFile.addAction(self.mplactionOpen)
        self.mplmenuFile.addSeparator()
        self.mplmenuFile.addAction(self.mplactionQuit)
        self.mplmenubar.addAction(self.mplmenuFile.menuAction())

        self.retranslateUi(MplMainWindow)
        QtCore.QMetaObject.connectSlotsByName(MplMainWindow)
Esempio n. 31
0
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(471, 384)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.MplWidget = MplWidget(self.centralwidget)
        self.MplWidget.setGeometry(QtCore.QRect(20, 20, 431, 321))
        self.MplWidget.setObjectName("MplWidget")
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 471, 21))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
Esempio n. 32
0
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(610, 513)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.centralwidget)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.MplWidget = MplWidget(self.centralwidget)
        self.MplWidget.setMinimumSize(QtCore.QSize(500, 500))
        self.MplWidget.setBaseSize(QtCore.QSize(1000, 1000))
        self.MplWidget.setObjectName("output_field")
        self.verticalLayout_2.addWidget(self.MplWidget)
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.labelFX = QtWidgets.QLabel(self.centralwidget)
        self.labelFX.setObjectName("labelFX")
        self.horizontalLayout.addWidget(self.labelFX)
        self.input_function = QtWidgets.QLineEdit(self.centralwidget)
        self.input_function.setObjectName("input_function")
        self.horizontalLayout.addWidget(self.input_function)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.labelARR = QtWidgets.QLabel(self.centralwidget)
        self.labelARR.setObjectName("labelARR")
        self.horizontalLayout_2.addWidget(self.labelARR)
        self.input_array = QtWidgets.QLineEdit(self.centralwidget)
        self.input_array.setObjectName("input_array")
        self.horizontalLayout_2.addWidget(self.input_array)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.button_print = QtWidgets.QPushButton(self.centralwidget)
        self.button_print.setObjectName("button_print")
        self.verticalLayout.addWidget(self.button_print)
        self.button_clear = QtWidgets.QPushButton(self.centralwidget)
        self.button_clear.setObjectName("button_clear")
        self.verticalLayout.addWidget(self.button_clear)
        self.verticalLayout_2.addLayout(self.verticalLayout)
        MainWindow.setCentralWidget(self.centralwidget)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
Esempio n. 33
0
class Ui_Accordeur(object):
    def setupUi(self, Accordeur):
        Accordeur.setObjectName("Accordeur")
        Accordeur.resize(294, 398)
        self.centralwidget = QtWidgets.QWidget(Accordeur)
        self.centralwidget.setObjectName("centralwidget")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.centralwidget)
        self.verticalLayout.setObjectName("verticalLayout")
        self.Courbe = MplWidget(self.centralwidget)
        self.Courbe.setObjectName("Courbe")
        self.verticalLayout.addWidget(self.Courbe)
        self.Note = QtWidgets.QLabel(self.centralwidget)
        self.Note.setMaximumSize(QtCore.QSize(16777215, 20))
        self.Note.setAlignment(QtCore.Qt.AlignCenter)
        self.Note.setObjectName("Note")
        self.verticalLayout.addWidget(self.Note)
        self.Ajustement = QtWidgets.QProgressBar(self.centralwidget)
        self.Ajustement.setMinimum(-50)
        self.Ajustement.setMaximum(50)
        self.Ajustement.setProperty("value", 0)
        self.Ajustement.setObjectName("Ajustement")
        self.verticalLayout.addWidget(self.Ajustement)
        self.Demarrer = QtWidgets.QPushButton(self.centralwidget)
        self.Demarrer.setObjectName("Demarrer")
        self.verticalLayout.addWidget(self.Demarrer)
        self.Quitter = QtWidgets.QPushButton(self.centralwidget)
        self.Quitter.setObjectName("Quitter")
        self.verticalLayout.addWidget(self.Quitter)
        Accordeur.setCentralWidget(self.centralwidget)
        self.statusbar = QtWidgets.QStatusBar(Accordeur)
        self.statusbar.setObjectName("statusbar")
        Accordeur.setStatusBar(self.statusbar)

        self.retranslateUi(Accordeur)
        QtCore.QMetaObject.connectSlotsByName(Accordeur)

    def retranslateUi(self, Accordeur):
        _translate = QtCore.QCoreApplication.translate
        Accordeur.setWindowTitle(_translate("Accordeur", "Accordeur"))
        self.Note.setText(_translate("Accordeur", "Pause : Pas de note"))
        self.Demarrer.setText(_translate("Accordeur", "Démarrer"))
        self.Quitter.setText(_translate("Accordeur", "Quitter"))
Esempio n. 34
0
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(800, 600)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.plotCanvas = MplWidget(self.centralwidget)
        self.plotCanvas.setObjectName(_fromUtf8("plotCanvas"))
        self.verticalLayout.addWidget(self.plotCanvas)
        MainWindow.setCentralWidget(self.centralwidget)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(
            QtGui.QApplication.translate("MainWindow", "Plots", None,
                                         QtGui.QApplication.UnicodeUTF8))
Esempio n. 35
0
    def setupUi(self, Grapheur):
        Grapheur.setObjectName("Grapheur")
        Grapheur.resize(748, 279)
        self.centralwidget = QtWidgets.QWidget(Grapheur)
        self.centralwidget.setObjectName("centralwidget")
        self.lblFreq = QtWidgets.QLabel(self.centralwidget)
        self.lblFreq.setGeometry(QtCore.QRect(20, 20, 71, 16))
        self.lblFreq.setObjectName("lblFreq")
        self.txtFreq = QtWidgets.QLineEdit(self.centralwidget)
        self.txtFreq.setGeometry(QtCore.QRect(130, 20, 113, 21))
        self.txtFreq.setObjectName("txtFreq")
        self.lblBruit = QtWidgets.QLabel(self.centralwidget)
        self.lblBruit.setGeometry(QtCore.QRect(20, 60, 111, 16))
        self.lblBruit.setObjectName("lblBruit")
        self.txtBruit = QtWidgets.QLineEdit(self.centralwidget)
        self.txtBruit.setGeometry(QtCore.QRect(130, 60, 113, 21))
        self.txtBruit.setObjectName("txtBruit")
        self.btValider = QtWidgets.QPushButton(self.centralwidget)
        self.btValider.setGeometry(QtCore.QRect(10, 100, 113, 32))
        self.btValider.setObjectName("btValider")
        self.wdGraph = MplWidget(self.centralwidget)
        self.wdGraph.setGeometry(QtCore.QRect(260, 20, 461, 191))
        self.wdGraph.setObjectName("wdGraph")
        self.btQuitter = QtWidgets.QPushButton(self.centralwidget)
        self.btQuitter.setGeometry(QtCore.QRect(130, 100, 113, 32))
        self.btQuitter.setObjectName("btQuitter")
        Grapheur.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(Grapheur)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 748, 22))
        self.menubar.setObjectName("menubar")
        Grapheur.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(Grapheur)
        self.statusbar.setObjectName("statusbar")
        Grapheur.setStatusBar(self.statusbar)

        self.retranslateUi(Grapheur)
        self.btQuitter.clicked.connect(Grapheur.close)
        QtCore.QMetaObject.connectSlotsByName(Grapheur)
Esempio n. 36
0
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(561, 383)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout = QtWidgets.QGridLayout(self.centralwidget)
        self.gridLayout.setObjectName("gridLayout")
        self.lineEdit = QtWidgets.QLineEdit(self.centralwidget)
        self.lineEdit.setObjectName("lineEdit")
        self.gridLayout.addWidget(self.lineEdit, 0, 0, 1, 1)
        self.pushButton = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton.setObjectName("pushButton")
        self.gridLayout.addWidget(self.pushButton, 1, 0, 1, 1)
        self.pushButton_2 = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_2.setObjectName("pushButton_2")
        self.gridLayout.addWidget(self.pushButton_2, 1, 1, 1, 1)
        self.widget = MplWidget(self.centralwidget)
        self.widget.setMinimumSize(QtCore.QSize(259, 200))
        self.widget.setObjectName("widget")
        self.gridLayout.addWidget(self.widget, 0, 2, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 561, 23))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
        self.pushButton.setText(_translate("MainWindow", "PushButton"))
        self.pushButton_2.setText(_translate("MainWindow", "PushButton"))
Esempio n. 37
0
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(800, 600)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.plotCanvas = MplWidget(self.centralwidget)
        self.plotCanvas.setObjectName(_fromUtf8("plotCanvas"))
        self.verticalLayout.addWidget(self.plotCanvas)
        MainWindow.setCentralWidget(self.centralwidget)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
Esempio n. 38
0
    def setupUi(self, Plotterui):
        Plotterui.setObjectName(_fromUtf8("Plotterui"))
        Plotterui.resize(803, 586)
        self.MPLArea = MplWidget(Plotterui)
        self.MPLArea.setGeometry(QtCore.QRect(150, 10, 641, 561))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum,
                                       QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.MPLArea.sizePolicy().hasHeightForWidth())
        self.MPLArea.setSizePolicy(sizePolicy)
        self.MPLArea.setFocusPolicy(QtCore.Qt.NoFocus)
        self.MPLArea.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
        self.MPLArea.setObjectName(_fromUtf8("MPLArea"))
        self.PLOT_Button = QtGui.QPushButton(Plotterui)
        self.PLOT_Button.setGeometry(QtCore.QRect(20, 190, 75, 23))
        self.PLOT_Button.setObjectName(_fromUtf8("PLOT_Button"))
        self.checkTotalInt = QtGui.QCheckBox(Plotterui)
        self.checkTotalInt.setGeometry(QtCore.QRect(11, 101, 62, 17))
        self.checkTotalInt.setChecked(True)
        self.checkTotalInt.setObjectName(_fromUtf8("checkTotalInt"))
        self.checkFlammenhoehe = QtGui.QCheckBox(Plotterui)
        self.checkFlammenhoehe.setGeometry(QtCore.QRect(11, 124, 95, 17))
        self.checkFlammenhoehe.setChecked(True)
        self.checkFlammenhoehe.setObjectName(_fromUtf8("checkFlammenhoehe"))
        self.checkFlammenhoeheGauss = QtGui.QCheckBox(Plotterui)
        self.checkFlammenhoeheGauss.setGeometry(QtCore.QRect(10, 150, 131, 17))
        self.checkFlammenhoeheGauss.setChecked(True)
        self.checkFlammenhoeheGauss.setObjectName(
            _fromUtf8("checkFlammenhoeheGauss"))

        self.retranslateUi(Plotterui)
        QtCore.QObject.connect(self.PLOT_Button,
                               QtCore.SIGNAL(_fromUtf8("clicked()")),
                               Plotterui.myPlot)
        QtCore.QMetaObject.connectSlotsByName(Plotterui)
Esempio n. 39
0
    def setupUi(self, FrameViewWidget):
        FrameViewWidget.setObjectName("FrameViewWidget")
        FrameViewWidget.resize(603, 221)
        self.confWidget1 = MplWidget(FrameViewWidget)
        self.confWidget1.setGeometry(QtCore.QRect(0, 10, 501, 51))
        self.confWidget1.setObjectName("confWidget1")
        self.confWidget3 = MplWidget(FrameViewWidget)
        self.confWidget3.setGeometry(QtCore.QRect(0, 110, 501, 51))
        self.confWidget3.setObjectName("confWidget3")
        self.le_max = QtGui.QLineEdit(FrameViewWidget)
        self.le_max.setGeometry(QtCore.QRect(530, 10, 61, 23))
        self.le_max.setObjectName("le_max")
        self.confWidget4 = MplWidget(FrameViewWidget)
        self.confWidget4.setGeometry(QtCore.QRect(0, 160, 501, 51))
        self.confWidget4.setObjectName("confWidget4")
        self.btn_set = QtGui.QPushButton(FrameViewWidget)
        self.btn_set.setGeometry(QtCore.QRect(540, 40, 41, 41))
        self.btn_set.setObjectName("btn_set")
        self.w_colourbar = MplWidget(FrameViewWidget)
        self.w_colourbar.setGeometry(QtCore.QRect(500, 10, 31, 201))
        self.w_colourbar.setObjectName("w_colourbar")
        self.le_min = QtGui.QLineEdit(FrameViewWidget)
        self.le_min.setGeometry(QtCore.QRect(530, 130, 61, 23))
        self.le_min.setObjectName("le_min")
        self.btn_clear = QtGui.QPushButton(FrameViewWidget)
        self.btn_clear.setGeometry(QtCore.QRect(540, 80, 41, 41))
        self.btn_clear.setObjectName("btn_clear")
        self.confWidget2 = MplWidget(FrameViewWidget)
        self.confWidget2.setGeometry(QtCore.QRect(0, 60, 501, 51))
        self.confWidget2.setObjectName("confWidget2")
        self.pb_open = QtGui.QPushButton(FrameViewWidget)
        self.pb_open.setGeometry(QtCore.QRect(540, 160, 41, 41))
        self.pb_open.setObjectName("pb_open")

        self.retranslateUi(FrameViewWidget)
        QtCore.QMetaObject.connectSlotsByName(FrameViewWidget)
Esempio n. 40
0
    def __init__(self, parent=None):
        super().__init__(parent)
        self.setupUi(self)
        self.mplWidget = MplWidget.warp_a_widget(self.matplotlibWidget)
        self.model = DataModel(self.mplWidget.canvas)
        self.tableView.setModel(self.model)
        validator = QDoubleValidator(0, 1000, 5)

        self.leastIntLineEdit.setValidator(validator)
        self.maxZDiffLineEdit.setValidator(validator)
        self.leastIntLineEdit.setText('200')
        self.maxZDiffLineEdit.setText('1')

        # Signals-Slots
        self.actionImportData.triggered.connect(self.setSampleFile)
        self.startFindButton.clicked.connect(self.startSearch)
    def setupUi(self, MplMainWindow):
        MplMainWindow.setObjectName(_fromUtf8("MplMainWindow"))
        MplMainWindow.resize(646, 600)
        self.centralWidget = QtGui.QWidget(MplMainWindow)
        self.centralWidget.setObjectName(_fromUtf8("centralWidget"))
        self.horizontalLayoutWidget = QtGui.QWidget(self.centralWidget)
        self.horizontalLayoutWidget.setGeometry(QtCore.QRect(20, 20, 581, 51))
        self.horizontalLayoutWidget.setObjectName(_fromUtf8("horizontalLayoutWidget"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.horizontalLayoutWidget)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.mpllineEdit = QtGui.QLineEdit(self.horizontalLayoutWidget)
        self.mpllineEdit.setObjectName(_fromUtf8("mpllineEdit"))
        self.horizontalLayout.addWidget(self.mpllineEdit)
        self.mplpushButton = QtGui.QPushButton(self.horizontalLayoutWidget)
        self.mplpushButton.setObjectName(_fromUtf8("mplpushButton"))
        self.horizontalLayout.addWidget(self.mplpushButton)
        self.mpl = MplWidget(self.centralWidget)
        self.mpl.setGeometry(QtCore.QRect(20, 90, 571, 441))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.mpl.sizePolicy().hasHeightForWidth())
        self.mpl.setSizePolicy(sizePolicy)
        self.mpl.setObjectName(_fromUtf8("mpl"))
        MplMainWindow.setCentralWidget(self.centralWidget)
        self.menuBar = QtGui.QMenuBar(MplMainWindow)
        self.menuBar.setGeometry(QtCore.QRect(0, 0, 646, 23))
        self.menuBar.setObjectName(_fromUtf8("menuBar"))
        self.mplmenuFile = QtGui.QMenu(self.menuBar)
        self.mplmenuFile.setObjectName(_fromUtf8("mplmenuFile"))
        MplMainWindow.setMenuBar(self.menuBar)
        self.mplactionOpen = QtGui.QAction(MplMainWindow)
        self.mplactionOpen.setObjectName(_fromUtf8("mplactionOpen"))
        self.mplactionQuit = QtGui.QAction(MplMainWindow)
        self.mplactionQuit.setObjectName(_fromUtf8("mplactionQuit"))
        self.mplmenuFile.addAction(self.mplactionOpen)
        self.mplmenuFile.addSeparator()
        self.mplmenuFile.addAction(self.mplactionQuit)
        self.menuBar.addAction(self.mplmenuFile.menuAction())

        self.retranslateUi(MplMainWindow)
        QtCore.QMetaObject.connectSlotsByName(MplMainWindow)
Esempio n. 42
0
    def setupUi(self, Plotterui):
        Plotterui.setObjectName(_fromUtf8("Plotterui"))
        Plotterui.setEnabled(True)
        Plotterui.resize(687, 624)
        self.MPLArea = MplWidget(Plotterui)
        self.MPLArea.setGeometry(QtCore.QRect(20, 40, 651, 561))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.MPLArea.sizePolicy().hasHeightForWidth())
        self.MPLArea.setSizePolicy(sizePolicy)
        self.MPLArea.setFocusPolicy(QtCore.Qt.NoFocus)
        self.MPLArea.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
        self.MPLArea.setObjectName(_fromUtf8("MPLArea"))
        self.Plot_comboBox = QtGui.QComboBox(Plotterui)
        self.Plot_comboBox.setGeometry(QtCore.QRect(20, 10, 141, 22))
        self.Plot_comboBox.setMaxVisibleItems(100)
        self.Plot_comboBox.setSizeAdjustPolicy(QtGui.QComboBox.AdjustToMinimumContentsLength)
        self.Plot_comboBox.setObjectName(_fromUtf8("Plot_comboBox"))

        self.retranslateUi(Plotterui)
        QtCore.QObject.connect(self.Plot_comboBox, QtCore.SIGNAL(_fromUtf8("activated(int)")), Plotterui.myPlot)
        QtCore.QMetaObject.connectSlotsByName(Plotterui)
Esempio n. 43
0
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(1161, 726)
        self.centralwidget = QtGui.QWidget(MainWindow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.centralwidget.sizePolicy().hasHeightForWidth())
        self.centralwidget.setSizePolicy(sizePolicy)
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout_2 = QtGui.QGridLayout(self.centralwidget)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.widget = MplWidget(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.widget.sizePolicy().hasHeightForWidth())
        self.widget.setSizePolicy(sizePolicy)
        self.widget.setObjectName("widget")
        self.verticalLayout.addWidget(self.widget)
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setVerticalSpacing(0)
        self.gridLayout.setObjectName("gridLayout")
        self.x1_label = QtGui.QLabel(self.centralwidget)
        self.x1_label.setObjectName("x1_label")
        self.gridLayout.addWidget(self.x1_label, 1, 0, 1, 1)
        self.x1 = QtGui.QLabel(self.centralwidget)
        self.x1.setObjectName("x1")
        self.gridLayout.addWidget(self.x1, 1, 1, 1, 1)
        self.x2_label = QtGui.QLabel(self.centralwidget)
        self.x2_label.setObjectName("x2_label")
        self.gridLayout.addWidget(self.x2_label, 1, 2, 1, 1)
        self.x2 = QtGui.QLabel(self.centralwidget)
        self.x2.setObjectName("x2")
        self.gridLayout.addWidget(self.x2, 1, 3, 1, 1)
        self.diffx_label = QtGui.QLabel(self.centralwidget)
        self.diffx_label.setObjectName("diffx_label")
        self.gridLayout.addWidget(self.diffx_label, 1, 4, 1, 1)
        self.y1_label = QtGui.QLabel(self.centralwidget)
        self.y1_label.setObjectName("y1_label")
        self.gridLayout.addWidget(self.y1_label, 3, 0, 1, 1)
        self.y1 = QtGui.QLabel(self.centralwidget)
        self.y1.setObjectName("y1")
        self.gridLayout.addWidget(self.y1, 3, 1, 1, 1)
        self.y2_label = QtGui.QLabel(self.centralwidget)
        self.y2_label.setObjectName("y2_label")
        self.gridLayout.addWidget(self.y2_label, 3, 2, 1, 1)
        self.y2 = QtGui.QLabel(self.centralwidget)
        self.y2.setObjectName("y2")
        self.gridLayout.addWidget(self.y2, 3, 3, 1, 1)
        self.diffy_label = QtGui.QLabel(self.centralwidget)
        self.diffy_label.setObjectName("diffy_label")
        self.gridLayout.addWidget(self.diffy_label, 3, 4, 1, 1)
        self.diffy = QtGui.QLabel(self.centralwidget)
        self.diffy.setObjectName("diffy")
        self.gridLayout.addWidget(self.diffy, 3, 5, 1, 1)
        self.radioButton_2 = QtGui.QRadioButton(self.centralwidget)
        self.radioButton_2.setObjectName("radioButton_2")
        self.gridLayout.addWidget(self.radioButton_2, 3, 7, 1, 1)
        self.radioButton_1 = QtGui.QRadioButton(self.centralwidget)
        self.radioButton_1.setObjectName("radioButton_1")
        self.gridLayout.addWidget(self.radioButton_1, 3, 6, 1, 1)
        self.loglinbutton = QtGui.QPushButton(self.centralwidget)
        self.loglinbutton.setMaximumSize(QtCore.QSize(40, 16777215))
        self.loglinbutton.setObjectName("loglinbutton")
        self.gridLayout.addWidget(self.loglinbutton, 1, 9, 1, 1)
        self.buttonLegend = QtGui.QPushButton(self.centralwidget)
        self.buttonLegend.setObjectName("buttonLegend")
        self.gridLayout.addWidget(self.buttonLegend, 1, 7, 1, 1)
        self.buttonPrint = QtGui.QPushButton(self.centralwidget)
        self.buttonPrint.setObjectName("buttonPrint")
        self.gridLayout.addWidget(self.buttonPrint, 1, 6, 1, 1)
        self.diffx = QtGui.QLabel(self.centralwidget)
        self.diffx.setObjectName("diffx")
        self.gridLayout.addWidget(self.diffx, 1, 5, 1, 1)
        self.loglinbutton_x = QtGui.QPushButton(self.centralwidget)
        self.loglinbutton_x.setMaximumSize(QtCore.QSize(40, 16777215))
        self.loglinbutton_x.setObjectName("loglinbutton_x")
        self.gridLayout.addWidget(self.loglinbutton_x, 1, 8, 1, 1)
        self.radioButton_3 = QtGui.QRadioButton(self.centralwidget)
        self.radioButton_3.setObjectName("radioButton_3")
        self.gridLayout.addWidget(self.radioButton_3, 3, 8, 1, 2)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label = QtGui.QLabel(self.centralwidget)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.spinBox_last = QtGui.QSpinBox(self.centralwidget)
        self.spinBox_last.setObjectName("spinBox_last")
        self.horizontalLayout.addWidget(self.spinBox_last)
        self.gridLayout.addLayout(self.horizontalLayout, 3, 10, 1, 1)
        self.buttonMore = QtGui.QPushButton(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.buttonMore.sizePolicy().hasHeightForWidth())
        self.buttonMore.setSizePolicy(sizePolicy)
        self.buttonMore.setMinimumSize(QtCore.QSize(0, 0))
        self.buttonMore.setMaximumSize(QtCore.QSize(23, 12))
        font = QtGui.QFont()
        font.setPointSize(4)
        self.buttonMore.setFont(font)
        self.buttonMore.setIconSize(QtCore.QSize(16, 16))
        self.buttonMore.setCheckable(False)
        self.buttonMore.setAutoExclusive(False)
        self.buttonMore.setAutoDefault(False)
        self.buttonMore.setDefault(False)
        self.buttonMore.setFlat(False)
        self.buttonMore.setObjectName("buttonMore")
        self.gridLayout.addWidget(self.buttonMore, 1, 10, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.gridLayout_2.addLayout(self.verticalLayout, 0, 0, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1161, 21))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
Esempio n. 44
0
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(1070, 600)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.horizontalLayout_9 = QtGui.QHBoxLayout()
        self.horizontalLayout_9.setObjectName("horizontalLayout_9")
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.targetLabel = QtGui.QLabel(self.centralwidget)
        self.targetLabel.setObjectName("targetLabel")
        self.verticalLayout.addWidget(self.targetLabel)
        self.table = QtGui.QTableWidget(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.table.sizePolicy().hasHeightForWidth())
        self.table.setSizePolicy(sizePolicy)
        self.table.setAcceptDrops(False)
        self.table.setColumnCount(2)
        self.table.setObjectName("table")
        self.table.setColumnCount(2)
        self.table.setRowCount(0)
        self.verticalLayout.addWidget(self.table)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.updateTargetButton = QtGui.QPushButton(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.updateTargetButton.sizePolicy().hasHeightForWidth())
        self.updateTargetButton.setSizePolicy(sizePolicy)
        self.updateTargetButton.setObjectName("updateTargetButton")
        self.horizontalLayout.addWidget(self.updateTargetButton)
        self.optimizePushButton = QtGui.QPushButton(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.optimizePushButton.sizePolicy().hasHeightForWidth())
        self.optimizePushButton.setSizePolicy(sizePolicy)
        self.optimizePushButton.setObjectName("optimizePushButton")
        self.horizontalLayout.addWidget(self.optimizePushButton)
        self.maxPowerButton = QtGui.QPushButton(self.centralwidget)
        self.maxPowerButton.setObjectName("maxPowerButton")
        self.horizontalLayout.addWidget(self.maxPowerButton)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.horizontalLayout_9.addLayout(self.verticalLayout)
        self.line = QtGui.QFrame(self.centralwidget)
        self.line.setFrameShape(QtGui.QFrame.VLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.horizontalLayout_9.addWidget(self.line)
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.ledListLabel = QtGui.QLabel(self.centralwidget)
        self.ledListLabel.setObjectName("ledListLabel")
        self.verticalLayout_2.addWidget(self.ledListLabel)
        self.LEDtable = QtGui.QTableWidget(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.LEDtable.sizePolicy().hasHeightForWidth())
        self.LEDtable.setSizePolicy(sizePolicy)
        self.LEDtable.setColumnCount(3)
        self.LEDtable.setObjectName("LEDtable")
        self.LEDtable.setColumnCount(3)
        self.LEDtable.setRowCount(0)
        self.verticalLayout_2.addWidget(self.LEDtable)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.sendPushButton = QtGui.QPushButton(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.sendPushButton.sizePolicy().hasHeightForWidth())
        self.sendPushButton.setSizePolicy(sizePolicy)
        self.sendPushButton.setObjectName("sendPushButton")
        self.horizontalLayout_4.addWidget(self.sendPushButton)
        self.onPushButton = QtGui.QPushButton(self.centralwidget)
        self.onPushButton.setObjectName("onPushButton")
        self.horizontalLayout_4.addWidget(self.onPushButton)
        self.offPushButton = QtGui.QPushButton(self.centralwidget)
        self.offPushButton.setObjectName("offPushButton")
        self.horizontalLayout_4.addWidget(self.offPushButton)
        self.testPushButton = QtGui.QPushButton(self.centralwidget)
        self.testPushButton.setObjectName("testPushButton")
        self.horizontalLayout_4.addWidget(self.testPushButton)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_4.addItem(spacerItem1)
        self.verticalLayout_2.addLayout(self.horizontalLayout_4)
        self.horizontalLayout_9.addLayout(self.verticalLayout_2)
        self.line_3 = QtGui.QFrame(self.centralwidget)
        self.line_3.setFrameShape(QtGui.QFrame.VLine)
        self.line_3.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_3.setObjectName("line_3")
        self.horizontalLayout_9.addWidget(self.line_3)
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.numGenLabel = QtGui.QLabel(self.centralwidget)
        self.numGenLabel.setObjectName("numGenLabel")
        self.horizontalLayout_3.addWidget(self.numGenLabel)
        self.numGenLineEdit = QtGui.QLineEdit(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.numGenLineEdit.sizePolicy().hasHeightForWidth())
        self.numGenLineEdit.setSizePolicy(sizePolicy)
        self.numGenLineEdit.setObjectName("numGenLineEdit")
        self.horizontalLayout_3.addWidget(self.numGenLineEdit)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem2)
        self.verticalLayout_3.addLayout(self.horizontalLayout_3)
        self.statusLabel = QtGui.QLabel(self.centralwidget)
        self.statusLabel.setObjectName("statusLabel")
        self.verticalLayout_3.addWidget(self.statusLabel)
        self.dataLabel = QtGui.QLabel(self.centralwidget)
        self.dataLabel.setObjectName("dataLabel")
        self.verticalLayout_3.addWidget(self.dataLabel)
        self.dataTextBrowser = QtGui.QTextBrowser(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.dataTextBrowser.sizePolicy().hasHeightForWidth())
        self.dataTextBrowser.setSizePolicy(sizePolicy)
        self.dataTextBrowser.setObjectName("dataTextBrowser")
        self.verticalLayout_3.addWidget(self.dataTextBrowser)
        self.horizontalLayout_9.addLayout(self.verticalLayout_3)
        self.line_4 = QtGui.QFrame(self.centralwidget)
        self.line_4.setFrameShape(QtGui.QFrame.VLine)
        self.line_4.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_4.setObjectName("line_4")
        self.horizontalLayout_9.addWidget(self.line_4)
        self.verticalLayout_4 = QtGui.QVBoxLayout()
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.singleLEDLabel = QtGui.QLabel(self.centralwidget)
        self.singleLEDLabel.setObjectName("singleLEDLabel")
        self.verticalLayout_4.addWidget(self.singleLEDLabel)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.ledNumLabel = QtGui.QLabel(self.centralwidget)
        self.ledNumLabel.setObjectName("ledNumLabel")
        self.horizontalLayout_5.addWidget(self.ledNumLabel)
        self.ledNumSpinBox = QtGui.QSpinBox(self.centralwidget)
        self.ledNumSpinBox.setMaximum(31)
        self.ledNumSpinBox.setObjectName("ledNumSpinBox")
        self.horizontalLayout_5.addWidget(self.ledNumSpinBox)
        self.verticalLayout_4.addLayout(self.horizontalLayout_5)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.dutyCycleLabel = QtGui.QLabel(self.centralwidget)
        self.dutyCycleLabel.setObjectName("dutyCycleLabel")
        self.horizontalLayout_6.addWidget(self.dutyCycleLabel)
        self.dutyCycleSpinBox = QtGui.QSpinBox(self.centralwidget)
        self.dutyCycleSpinBox.setMaximum(100)
        self.dutyCycleSpinBox.setObjectName("dutyCycleSpinBox")
        self.horizontalLayout_6.addWidget(self.dutyCycleSpinBox)
        self.verticalLayout_4.addLayout(self.horizontalLayout_6)
        self.horizontalLayout_8 = QtGui.QHBoxLayout()
        self.horizontalLayout_8.setObjectName("horizontalLayout_8")
        self.label = QtGui.QLabel(self.centralwidget)
        self.label.setObjectName("label")
        self.horizontalLayout_8.addWidget(self.label)
        self.led2SpinBox = QtGui.QSpinBox(self.centralwidget)
        self.led2SpinBox.setMaximum(31)
        self.led2SpinBox.setObjectName("led2SpinBox")
        self.horizontalLayout_8.addWidget(self.led2SpinBox)
        self.verticalLayout_4.addLayout(self.horizontalLayout_8)
        self.horizontalLayout_7 = QtGui.QHBoxLayout()
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.label_2 = QtGui.QLabel(self.centralwidget)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_7.addWidget(self.label_2)
        self.dutyCycle2SpinBox = QtGui.QSpinBox(self.centralwidget)
        self.dutyCycle2SpinBox.setMaximum(100)
        self.dutyCycle2SpinBox.setObjectName("dutyCycle2SpinBox")
        self.horizontalLayout_7.addWidget(self.dutyCycle2SpinBox)
        self.verticalLayout_4.addLayout(self.horizontalLayout_7)
        self.singleLEDButton = QtGui.QPushButton(self.centralwidget)
        self.singleLEDButton.setObjectName("singleLEDButton")
        self.verticalLayout_4.addWidget(self.singleLEDButton)
        spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_4.addItem(spacerItem3)
        self.horizontalLayout_9.addLayout(self.verticalLayout_4)
        self.verticalLayout_5.addLayout(self.horizontalLayout_9)
        self.line_2 = QtGui.QFrame(self.centralwidget)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.verticalLayout_5.addWidget(self.line_2)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.plot_1 = MplWidget(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.plot_1.sizePolicy().hasHeightForWidth())
        self.plot_1.setSizePolicy(sizePolicy)
        self.plot_1.setObjectName("plot_1")
        self.horizontalLayout_2.addWidget(self.plot_1)
        self.plot_2 = MplWidget(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.plot_2.sizePolicy().hasHeightForWidth())
        self.plot_2.setSizePolicy(sizePolicy)
        self.plot_2.setObjectName("plot_2")
        self.horizontalLayout_2.addWidget(self.plot_2)
        self.verticalLayout_5.addLayout(self.horizontalLayout_2)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1070, 21))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)
        self.targetLabel.setBuddy(self.table)
        self.ledListLabel.setBuddy(self.LEDtable)
        self.numGenLabel.setBuddy(self.numGenLineEdit)
        self.dataLabel.setBuddy(self.dataTextBrowser)
        self.ledNumLabel.setBuddy(self.ledNumSpinBox)
        self.dutyCycleLabel.setBuddy(self.dutyCycleSpinBox)
        self.label.setBuddy(self.led2SpinBox)
        self.label_2.setBuddy(self.dutyCycle2SpinBox)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
        MainWindow.setTabOrder(self.table, self.LEDtable)
        MainWindow.setTabOrder(self.LEDtable, self.optimizePushButton)
        MainWindow.setTabOrder(self.optimizePushButton, self.sendPushButton)
Esempio n. 45
0
    def setupUi(self, Dialog):
        Dialog.setObjectName(_fromUtf8("Dialog"))
        Dialog.resize(1232, 727)
        Dialog.setMinimumSize(QtCore.QSize(1232, 727))
        Dialog.setMaximumSize(QtCore.QSize(1232, 727))
        self.g_naglowek = QtGui.QGroupBox(Dialog)
        self.g_naglowek.setGeometry(QtCore.QRect(10, 40, 281, 681))
        self.g_naglowek.setMinimumSize(QtCore.QSize(281, 681))
        self.g_naglowek.setObjectName(_fromUtf8("g_naglowek"))
        self.n_dane = QtGui.QTableWidget(self.g_naglowek)
        self.n_dane.setGeometry(QtCore.QRect(10, 20, 261, 651))
        self.n_dane.setObjectName(_fromUtf8("n_dane"))
        self.n_dane.setColumnCount(0)
        self.n_dane.setRowCount(0)
        self.g_pomiary = QtGui.QGroupBox(Dialog)
        self.g_pomiary.setGeometry(QtCore.QRect(830, 40, 391, 301))
        self.g_pomiary.setMinimumSize(QtCore.QSize(391, 301))
        self.g_pomiary.setObjectName(_fromUtf8("g_pomiary"))
        self.m_odczyt = QtGui.QPushButton(self.g_pomiary)
        self.m_odczyt.setGeometry(QtCore.QRect(10, 20, 261, 101))
        self.m_odczyt.setAutoDefault(True)
        self.m_odczyt.setDefault(True)
        self.m_odczyt.setFlat(False)
        self.m_odczyt.setObjectName(_fromUtf8("m_odczyt"))
        self.m_koniec = QtGui.QPushButton(self.g_pomiary)
        self.m_koniec.setGeometry(QtCore.QRect(90, 260, 181, 31))
        self.m_koniec.setObjectName(_fromUtf8("m_koniec"))
        self.m_czysc = QtGui.QPushButton(self.g_pomiary)
        self.m_czysc.setGeometry(QtCore.QRect(10, 270, 41, 20))
        self.m_czysc.setObjectName(_fromUtf8("m_czysc"))
        self.label_2 = QtGui.QLabel(self.g_pomiary)
        self.label_2.setGeometry(QtCore.QRect(20, 130, 16, 16))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.label_3 = QtGui.QLabel(self.g_pomiary)
        self.label_3.setGeometry(QtCore.QRect(150, 130, 16, 16))
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.m_wbielp = QtGui.QLineEdit(self.g_pomiary)
        self.m_wbielp.setGeometry(QtCore.QRect(30, 130, 31, 20))
        self.m_wbielp.setObjectName(_fromUtf8("m_wbielp"))
        self.m_wbielk = QtGui.QLineEdit(self.g_pomiary)
        self.m_wbielk.setGeometry(QtCore.QRect(160, 130, 31, 20))
        self.m_wbielk.setObjectName(_fromUtf8("m_wbielk"))
        self.m_bielp = QtGui.QPushButton(self.g_pomiary)
        self.m_bielp.setGeometry(QtCore.QRect(70, 130, 75, 23))
        self.m_bielp.setObjectName(_fromUtf8("m_bielp"))
        self.m_bielk = QtGui.QPushButton(self.g_pomiary)
        self.m_bielk.setGeometry(QtCore.QRect(200, 130, 75, 23))
        self.m_bielk.setObjectName(_fromUtf8("m_bielk"))
        self.label_4 = QtGui.QLabel(self.g_pomiary)
        self.label_4.setGeometry(QtCore.QRect(30, 160, 61, 16))
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.m_wczesne = QtGui.QCheckBox(self.g_pomiary)
        self.m_wczesne.setGeometry(QtCore.QRect(100, 160, 70, 17))
        self.m_wczesne.setObjectName(_fromUtf8("m_wczesne"))
        self.m_pozne = QtGui.QCheckBox(self.g_pomiary)
        self.m_pozne.setGeometry(QtCore.QRect(170, 160, 70, 17))
        self.m_pozne.setObjectName(_fromUtf8("m_pozne"))
        self.m_kasuj = QtGui.QPushButton(self.g_pomiary)
        self.m_kasuj.setGeometry(QtCore.QRect(10, 180, 261, 41))
        self.m_kasuj.setObjectName(_fromUtf8("m_kasuj"))
        self.m_odczyty = QtGui.QTextEdit(self.g_pomiary)
        self.m_odczyty.setGeometry(QtCore.QRect(280, 20, 101, 271))
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.m_odczyty.setFont(font)
        self.m_odczyty.setObjectName(_fromUtf8("m_odczyty"))
        self.label = QtGui.QLabel(self.g_pomiary)
        self.label.setGeometry(QtCore.QRect(40, 230, 61, 16))
        self.label.setObjectName(_fromUtf8("label"))
        self.p_przesun = QtGui.QLineEdit(self.g_pomiary)
        self.p_przesun.setGeometry(QtCore.QRect(120, 230, 61, 20))
        self.p_przesun.setObjectName(_fromUtf8("p_przesun"))
        self.label_7 = QtGui.QLabel(self.g_pomiary)
        self.label_7.setGeometry(QtCore.QRect(190, 230, 46, 13))
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.g_promienie = QtGui.QGroupBox(Dialog)
        self.g_promienie.setGeometry(QtCore.QRect(300, 40, 521, 301))
        self.g_promienie.setMinimumSize(QtCore.QSize(521, 301))
        self.g_promienie.setObjectName(_fromUtf8("g_promienie"))
        self.r_dane = QtGui.QTableWidget(self.g_promienie)
        self.r_dane.setGeometry(QtCore.QRect(10, 20, 501, 241))
        self.r_dane.setObjectName(_fromUtf8("r_dane"))
        self.r_dane.setColumnCount(0)
        self.r_dane.setRowCount(0)
        self.r_nowy = QtGui.QPushButton(self.g_promienie)
        self.r_nowy.setGeometry(QtCore.QRect(10, 270, 75, 23))
        self.r_nowy.setObjectName(_fromUtf8("r_nowy"))
        self.r_edytuj = QtGui.QPushButton(self.g_promienie)
        self.r_edytuj.setGeometry(QtCore.QRect(90, 270, 75, 23))
        self.r_edytuj.setObjectName(_fromUtf8("r_edytuj"))
        self.r_koreluj = QtGui.QPushButton(self.g_promienie)
        self.r_koreluj.setGeometry(QtCore.QRect(350, 270, 75, 23))
        self.r_koreluj.setObjectName(_fromUtf8("r_koreluj"))
        self.r_usun = QtGui.QPushButton(self.g_promienie)
        self.r_usun.setGeometry(QtCore.QRect(170, 270, 75, 23))
        self.r_usun.setObjectName(_fromUtf8("r_usun"))
        self.r_srednia = QtGui.QPushButton(self.g_promienie)
        self.r_srednia.setGeometry(QtCore.QRect(440, 270, 75, 23))
        self.r_srednia.setObjectName(_fromUtf8("r_srednia"))
        self.r_przerysuj = QtGui.QPushButton(self.g_promienie)
        self.r_przerysuj.setGeometry(QtCore.QRect(250, 270, 75, 23))
        self.r_przerysuj.setObjectName(_fromUtf8("r_przerysuj"))
        self.p_ustawienia = QtGui.QPushButton(Dialog)
        self.p_ustawienia.setGeometry(QtCore.QRect(1150, 10, 75, 23))
        self.p_ustawienia.setMinimumSize(QtCore.QSize(75, 23))
        self.p_ustawienia.setObjectName(_fromUtf8("p_ustawienia"))
        self.p_nowy = QtGui.QPushButton(Dialog)
        self.p_nowy.setGeometry(QtCore.QRect(10, 10, 150, 23))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.p_nowy.sizePolicy().hasHeightForWidth())
        self.p_nowy.setSizePolicy(sizePolicy)
        self.p_nowy.setMinimumSize(QtCore.QSize(150, 23))
        self.p_nowy.setObjectName(_fromUtf8("p_nowy"))
        self.widget = MplWidget(Dialog)
        self.widget.setGeometry(QtCore.QRect(300, 350, 921, 371))
        self.widget.setMinimumSize(QtCore.QSize(921, 371))
        self.widget.setObjectName(_fromUtf8("widget"))
        self.groupBox = QtGui.QGroupBox(Dialog)
        self.groupBox.setGeometry(QtCore.QRect(390, 0, 751, 41))
        self.groupBox.setMinimumSize(QtCore.QSize(751, 41))
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.layoutWidget = QtGui.QWidget(self.groupBox)
        self.layoutWidget.setGeometry(QtCore.QRect(10, 10, 731, 22))
        self.layoutWidget.setObjectName(_fromUtf8("layoutWidget"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.layoutWidget)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label_5 = QtGui.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_5.setFont(font)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.horizontalLayout.addWidget(self.label_5)
        self.p_sr = QtGui.QLineEdit(self.layoutWidget)
        self.p_sr.setObjectName(_fromUtf8("p_sr"))
        self.horizontalLayout.addWidget(self.p_sr)
        self.label_6 = QtGui.QLabel(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        self.label_6.setFont(font)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.horizontalLayout.addWidget(self.label_6)
        self.p_pr = QtGui.QLineEdit(self.layoutWidget)
        self.p_pr.setObjectName(_fromUtf8("p_pr"))
        self.horizontalLayout.addWidget(self.p_pr)
        self.p_zapisz = QtGui.QPushButton(Dialog)
        self.p_zapisz.setGeometry(QtCore.QRect(170, 10, 140, 23))
        self.p_zapisz.setMinimumSize(QtCore.QSize(140, 23))
        self.p_zapisz.setObjectName(_fromUtf8("p_zapisz"))
        self.f_zapisu = QtGui.QComboBox(Dialog)
        self.f_zapisu.setGeometry(QtCore.QRect(320, 10, 61, 21))
        self.f_zapisu.setObjectName(_fromUtf8("f_zapisu"))
        self.f_zapisu.addItem(_fromUtf8(""))
        self.f_zapisu.addItem(_fromUtf8(""))
        self.f_zapisu.addItem(_fromUtf8(""))

        self.retranslateUi(Dialog)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(922, 608)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalGroupBox = QtGui.QGroupBox(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(2)
        sizePolicy.setHeightForWidth(self.horizontalGroupBox.sizePolicy().hasHeightForWidth())
        self.horizontalGroupBox.setSizePolicy(sizePolicy)
        self.horizontalGroupBox.setObjectName(_fromUtf8("horizontalGroupBox"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.horizontalGroupBox)
        self.horizontalLayout.setMargin(1)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.mpl_2 = MplWidget(self.horizontalGroupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(8)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.mpl_2.sizePolicy().hasHeightForWidth())
        self.mpl_2.setSizePolicy(sizePolicy)
        self.mpl_2.setObjectName(_fromUtf8("mpl_2"))
        self.horizontalLayout.addWidget(self.mpl_2)
        self.verticalGroupBox = QtGui.QGroupBox(self.horizontalGroupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.verticalGroupBox.sizePolicy().hasHeightForWidth())
        self.verticalGroupBox.setSizePolicy(sizePolicy)
        self.verticalGroupBox.setMinimumSize(QtCore.QSize(90, 0))
        self.verticalGroupBox.setObjectName(_fromUtf8("verticalGroupBox"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.verticalGroupBox)
        self.verticalLayout_3.setContentsMargins(1, -1, 1, -1)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.propagate = QtGui.QPushButton(self.verticalGroupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.propagate.sizePolicy().hasHeightForWidth())
        self.propagate.setSizePolicy(sizePolicy)
        self.propagate.setObjectName(_fromUtf8("propagate"))
        self.verticalLayout_3.addWidget(self.propagate)
        self.Auto_Propagate_checkBox = QtGui.QCheckBox(self.verticalGroupBox)
        self.Auto_Propagate_checkBox.setObjectName(_fromUtf8("Auto_Propagate_checkBox"))
        self.verticalLayout_3.addWidget(self.Auto_Propagate_checkBox)
        self.horizontalLayout.addWidget(self.verticalGroupBox)
        self.mpl_1 = MplWidget(self.horizontalGroupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(8)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.mpl_1.sizePolicy().hasHeightForWidth())
        self.mpl_1.setSizePolicy(sizePolicy)
        self.mpl_1.setObjectName(_fromUtf8("mpl_1"))
        self.horizontalLayout.addWidget(self.mpl_1)
        self.verticalLayout.addWidget(self.horizontalGroupBox)
        self.horizontalGroupBox_7 = QtGui.QGroupBox(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(4)
        sizePolicy.setVerticalStretch(1)
        sizePolicy.setHeightForWidth(self.horizontalGroupBox_7.sizePolicy().hasHeightForWidth())
        self.horizontalGroupBox_7.setSizePolicy(sizePolicy)
        self.horizontalGroupBox_7.setMinimumSize(QtCore.QSize(0, 0))
        self.horizontalGroupBox_7.setTitle(_fromUtf8(""))
        self.horizontalGroupBox_7.setFlat(True)
        self.horizontalGroupBox_7.setObjectName(_fromUtf8("horizontalGroupBox_7"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.horizontalGroupBox_7)
        self.horizontalLayout_2.setSizeConstraint(QtGui.QLayout.SetMinimumSize)
        self.horizontalLayout_2.setMargin(0)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.verticalGroupBox1 = QtGui.QGroupBox(self.horizontalGroupBox_7)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.verticalGroupBox1.sizePolicy().hasHeightForWidth())
        self.verticalGroupBox1.setSizePolicy(sizePolicy)
        self.verticalGroupBox1.setObjectName(_fromUtf8("verticalGroupBox1"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.verticalGroupBox1)
        self.verticalLayout_2.setMargin(0)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.label_3 = QtGui.QLabel(self.verticalGroupBox1)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.verticalLayout_2.addWidget(self.label_3)
        self.Jones_out_Y = QtGui.QLineEdit(self.verticalGroupBox1)
        self.Jones_out_Y.setObjectName(_fromUtf8("Jones_out_Y"))
        self.verticalLayout_2.addWidget(self.Jones_out_Y)
        self.label_4 = QtGui.QLabel(self.verticalGroupBox1)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.verticalLayout_2.addWidget(self.label_4)
        self.Jones_out_X = QtGui.QLineEdit(self.verticalGroupBox1)
        self.Jones_out_X.setObjectName(_fromUtf8("Jones_out_X"))
        self.verticalLayout_2.addWidget(self.Jones_out_X)
        self.horizontalLayout_2.addWidget(self.verticalGroupBox1)
        self.verticalGroupBox2 = QtGui.QGroupBox(self.horizontalGroupBox_7)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(3)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.verticalGroupBox2.sizePolicy().hasHeightForWidth())
        self.verticalGroupBox2.setSizePolicy(sizePolicy)
        self.verticalGroupBox2.setObjectName(_fromUtf8("verticalGroupBox2"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.verticalGroupBox2)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.gridGroupBox = QtGui.QGroupBox(self.verticalGroupBox2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.MinimumExpanding)
        sizePolicy.setHorizontalStretch(2)
        sizePolicy.setVerticalStretch(3)
        sizePolicy.setHeightForWidth(self.gridGroupBox.sizePolicy().hasHeightForWidth())
        self.gridGroupBox.setSizePolicy(sizePolicy)
        self.gridGroupBox.setFlat(True)
        self.gridGroupBox.setObjectName(_fromUtf8("gridGroupBox"))
        self.gridLayout = QtGui.QGridLayout(self.gridGroupBox)
        self.gridLayout.setMargin(0)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.horizontalGroupBox_6 = QtGui.QGroupBox(self.gridGroupBox)
        self.horizontalGroupBox_6.setObjectName(_fromUtf8("horizontalGroupBox_6"))
        self.horizontalLayout_9 = QtGui.QHBoxLayout(self.horizontalGroupBox_6)
        self.horizontalLayout_9.setObjectName(_fromUtf8("horizontalLayout_9"))
        self.M_x2_LineEdit = QtGui.QLineEdit(self.horizontalGroupBox_6)
        self.M_x2_LineEdit.setObjectName(_fromUtf8("M_x2_LineEdit"))
        self.horizontalLayout_9.addWidget(self.M_x2_LineEdit)
        self.M_y2_LineEdit = QtGui.QLineEdit(self.horizontalGroupBox_6)
        self.M_y2_LineEdit.setObjectName(_fromUtf8("M_y2_LineEdit"))
        self.horizontalLayout_9.addWidget(self.M_y2_LineEdit)
        self.gridLayout.addWidget(self.horizontalGroupBox_6, 2, 2, 1, 1)
        self.horizontalGroupBox_5 = QtGui.QGroupBox(self.gridGroupBox)
        self.horizontalGroupBox_5.setObjectName(_fromUtf8("horizontalGroupBox_5"))
        self.horizontalLayout_8 = QtGui.QHBoxLayout(self.horizontalGroupBox_5)
        self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8"))
        self.M_z2_LineEdit = QtGui.QLineEdit(self.horizontalGroupBox_5)
        self.M_z2_LineEdit.setObjectName(_fromUtf8("M_z2_LineEdit"))
        self.horizontalLayout_8.addWidget(self.M_z2_LineEdit)
        self.M_w2_LineEdit = QtGui.QLineEdit(self.horizontalGroupBox_5)
        self.M_w2_LineEdit.setObjectName(_fromUtf8("M_w2_LineEdit"))
        self.horizontalLayout_8.addWidget(self.M_w2_LineEdit)
        self.gridLayout.addWidget(self.horizontalGroupBox_5, 2, 1, 1, 1)
        self.horizontalGroupBox_4 = QtGui.QGroupBox(self.gridGroupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.horizontalGroupBox_4.sizePolicy().hasHeightForWidth())
        self.horizontalGroupBox_4.setSizePolicy(sizePolicy)
        self.horizontalGroupBox_4.setObjectName(_fromUtf8("horizontalGroupBox_4"))
        self.horizontalLayout_7 = QtGui.QHBoxLayout(self.horizontalGroupBox_4)
        self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7"))
        self.M_z1_LineEdit = QtGui.QLineEdit(self.horizontalGroupBox_4)
        self.M_z1_LineEdit.setObjectName(_fromUtf8("M_z1_LineEdit"))
        self.horizontalLayout_7.addWidget(self.M_z1_LineEdit)
        self.M_w1_LineEdit = QtGui.QLineEdit(self.horizontalGroupBox_4)
        self.M_w1_LineEdit.setObjectName(_fromUtf8("M_w1_LineEdit"))
        self.horizontalLayout_7.addWidget(self.M_w1_LineEdit)
        self.gridLayout.addWidget(self.horizontalGroupBox_4, 1, 2, 1, 1)
        self.horizontalGroupBox_3 = QtGui.QGroupBox(self.gridGroupBox)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.horizontalGroupBox_3.sizePolicy().hasHeightForWidth())
        self.horizontalGroupBox_3.setSizePolicy(sizePolicy)
        self.horizontalGroupBox_3.setObjectName(_fromUtf8("horizontalGroupBox_3"))
        self.horizontalLayout_5 = QtGui.QHBoxLayout(self.horizontalGroupBox_3)
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.M_x1_LineEdit = QtGui.QLineEdit(self.horizontalGroupBox_3)
        self.M_x1_LineEdit.setObjectName(_fromUtf8("M_x1_LineEdit"))
        self.horizontalLayout_5.addWidget(self.M_x1_LineEdit)
        self.M_y1_LineEdit = QtGui.QLineEdit(self.horizontalGroupBox_3)
        self.M_y1_LineEdit.setObjectName(_fromUtf8("M_y1_LineEdit"))
        self.horizontalLayout_5.addWidget(self.M_y1_LineEdit)
        self.gridLayout.addWidget(self.horizontalGroupBox_3, 1, 1, 1, 1)
        self.verticalLayout_5.addWidget(self.gridGroupBox)
        self.rawMatrix_checkBox = QtGui.QCheckBox(self.verticalGroupBox2)
        self.rawMatrix_checkBox.setObjectName(_fromUtf8("rawMatrix_checkBox"))
        self.verticalLayout_5.addWidget(self.rawMatrix_checkBox)
        self.raw_MatrixLineEdit = QtGui.QLineEdit(self.verticalGroupBox2)
        self.raw_MatrixLineEdit.setObjectName(_fromUtf8("raw_MatrixLineEdit"))
        self.verticalLayout_5.addWidget(self.raw_MatrixLineEdit)
        self.horizontalLayout_2.addWidget(self.verticalGroupBox2)
        self.verticalGroupBox_3 = QtGui.QGroupBox(self.horizontalGroupBox_7)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(2)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.verticalGroupBox_3.sizePolicy().hasHeightForWidth())
        self.verticalGroupBox_3.setSizePolicy(sizePolicy)
        self.verticalGroupBox_3.setFlat(True)
        self.verticalGroupBox_3.setObjectName(_fromUtf8("verticalGroupBox_3"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.verticalGroupBox_3)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.horizontalGroupBox1 = QtGui.QGroupBox(self.verticalGroupBox_3)
        self.horizontalGroupBox1.setObjectName(_fromUtf8("horizontalGroupBox1"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.horizontalGroupBox1)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.label = QtGui.QLabel(self.horizontalGroupBox1)
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout_3.addWidget(self.label)
        self.directionLineEdit = QtGui.QLineEdit(self.horizontalGroupBox1)
        self.directionLineEdit.setObjectName(_fromUtf8("directionLineEdit"))
        self.horizontalLayout_3.addWidget(self.directionLineEdit)
        self.verticalLayout_4.addWidget(self.horizontalGroupBox1)
        self.directionSlider = QtGui.QSlider(self.verticalGroupBox_3)
        self.directionSlider.setMaximum(100)
        self.directionSlider.setProperty("value", 50)
        self.directionSlider.setOrientation(QtCore.Qt.Horizontal)
        self.directionSlider.setObjectName(_fromUtf8("directionSlider"))
        self.verticalLayout_4.addWidget(self.directionSlider)
        self.horizontalGroupBox_2 = QtGui.QGroupBox(self.verticalGroupBox_3)
        self.horizontalGroupBox_2.setObjectName(_fromUtf8("horizontalGroupBox_2"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout(self.horizontalGroupBox_2)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.label_2 = QtGui.QLabel(self.horizontalGroupBox_2)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.horizontalLayout_4.addWidget(self.label_2)
        self.eangleLineEdit = QtGui.QLineEdit(self.horizontalGroupBox_2)
        self.eangleLineEdit.setObjectName(_fromUtf8("eangleLineEdit"))
        self.horizontalLayout_4.addWidget(self.eangleLineEdit)
        self.verticalLayout_4.addWidget(self.horizontalGroupBox_2)
        self.eangleSlider = QtGui.QSlider(self.verticalGroupBox_3)
        self.eangleSlider.setAccessibleName(_fromUtf8(""))
        self.eangleSlider.setMaximum(100)
        self.eangleSlider.setProperty("value", 50)
        self.eangleSlider.setOrientation(QtCore.Qt.Horizontal)
        self.eangleSlider.setObjectName(_fromUtf8("eangleSlider"))
        self.verticalLayout_4.addWidget(self.eangleSlider)
        self.horizontalLayout_2.addWidget(self.verticalGroupBox_3)
        self.verticalLayout.addWidget(self.horizontalGroupBox_7)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 922, 22))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        self.menuMenu = QtGui.QMenu(self.menubar)
        self.menuMenu.setObjectName(_fromUtf8("menuMenu"))
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        MainWindow.setStatusBar(self.statusbar)
        self.action_Close = QtGui.QAction(MainWindow)
        self.action_Close.setObjectName(_fromUtf8("action_Close"))
        self.action_About = QtGui.QAction(MainWindow)
        self.action_About.setObjectName(_fromUtf8("action_About"))
        self.menuMenu.addAction(self.action_Close)
        self.menuMenu.addAction(self.action_About)
        self.menubar.addAction(self.menuMenu.menuAction())

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
Esempio n. 47
0
class Ui_FrameViewWidget(object):
    def setupUi(self, FrameViewWidget):
        FrameViewWidget.setObjectName("FrameViewWidget")
        FrameViewWidget.resize(603, 221)
        self.confWidget1 = MplWidget(FrameViewWidget)
        self.confWidget1.setGeometry(QtCore.QRect(0, 10, 501, 51))
        self.confWidget1.setObjectName("confWidget1")
        self.confWidget3 = MplWidget(FrameViewWidget)
        self.confWidget3.setGeometry(QtCore.QRect(0, 110, 501, 51))
        self.confWidget3.setObjectName("confWidget3")
        self.le_max = QtGui.QLineEdit(FrameViewWidget)
        self.le_max.setGeometry(QtCore.QRect(530, 10, 61, 23))
        self.le_max.setObjectName("le_max")
        self.confWidget4 = MplWidget(FrameViewWidget)
        self.confWidget4.setGeometry(QtCore.QRect(0, 160, 501, 51))
        self.confWidget4.setObjectName("confWidget4")
        self.btn_set = QtGui.QPushButton(FrameViewWidget)
        self.btn_set.setGeometry(QtCore.QRect(540, 40, 41, 41))
        self.btn_set.setObjectName("btn_set")
        self.w_colourbar = MplWidget(FrameViewWidget)
        self.w_colourbar.setGeometry(QtCore.QRect(500, 10, 31, 201))
        self.w_colourbar.setObjectName("w_colourbar")
        self.le_min = QtGui.QLineEdit(FrameViewWidget)
        self.le_min.setGeometry(QtCore.QRect(530, 130, 61, 23))
        self.le_min.setObjectName("le_min")
        self.btn_clear = QtGui.QPushButton(FrameViewWidget)
        self.btn_clear.setGeometry(QtCore.QRect(540, 80, 41, 41))
        self.btn_clear.setObjectName("btn_clear")
        self.confWidget2 = MplWidget(FrameViewWidget)
        self.confWidget2.setGeometry(QtCore.QRect(0, 60, 501, 51))
        self.confWidget2.setObjectName("confWidget2")
        self.pb_open = QtGui.QPushButton(FrameViewWidget)
        self.pb_open.setGeometry(QtCore.QRect(540, 160, 41, 41))
        self.pb_open.setObjectName("pb_open")

        self.retranslateUi(FrameViewWidget)
        QtCore.QMetaObject.connectSlotsByName(FrameViewWidget)

    def retranslateUi(self, FrameViewWidget):
        FrameViewWidget.setWindowTitle(QtGui.QApplication.translate("FrameViewWidget", "Form", None, QtGui.QApplication.UnicodeUTF8))
        self.btn_set.setText(QtGui.QApplication.translate("FrameViewWidget", "set", None, QtGui.QApplication.UnicodeUTF8))
        self.btn_clear.setText(QtGui.QApplication.translate("FrameViewWidget", "clear", None, QtGui.QApplication.UnicodeUTF8))
        self.pb_open.setText(QtGui.QApplication.translate("FrameViewWidget", "open", None, QtGui.QApplication.UnicodeUTF8))
Esempio n. 48
0
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(524, 354)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.centralwidget)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_6.setSizeConstraint(QtWidgets.QLayout.SetMinimumSize)
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.label_3 = QtWidgets.QLabel(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth())
        self.label_3.setSizePolicy(sizePolicy)
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_6.addWidget(self.label_3)
        self.setIndexBox = QtWidgets.QSpinBox(self.centralwidget)
        self.setIndexBox.setMaximumSize(QtCore.QSize(70, 16777215))
        self.setIndexBox.setObjectName("setIndexBox")
        self.horizontalLayout_6.addWidget(self.setIndexBox)
        self.autoFeed = QtWidgets.QCheckBox(self.centralwidget)
        self.autoFeed.setObjectName("autoFeed")
        self.horizontalLayout_6.addWidget(self.autoFeed)
        self.horizontalLayout_3.addLayout(self.horizontalLayout_6)
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.horizontalLayout_3.addLayout(self.horizontalLayout_7)
        self.verticalLayout.addLayout(self.horizontalLayout_3)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.im1 = MplWidget(self.centralwidget)
        self.im1.setObjectName("im1")
        self.horizontalLayout.addWidget(self.im1)
        self.im2 = MplWidget(self.centralwidget)
        self.im2.setObjectName("im2")
        self.horizontalLayout.addWidget(self.im2)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setSizeConstraint(QtWidgets.QLayout.SetMinimumSize)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.label = QtWidgets.QLabel(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setObjectName("label")
        self.horizontalLayout_4.addWidget(self.label)
        self.img1IndexBox = QtWidgets.QSpinBox(self.centralwidget)
        self.img1IndexBox.setMaximumSize(QtCore.QSize(70, 16777215))
        self.img1IndexBox.setObjectName("img1IndexBox")
        self.horizontalLayout_4.addWidget(self.img1IndexBox)
        self.horizontalLayout_2.addLayout(self.horizontalLayout_4)
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setSizeConstraint(QtWidgets.QLayout.SetMinimumSize)
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.label_2 = QtWidgets.QLabel(self.centralwidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy)
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_5.addWidget(self.label_2)
        self.img2IndexBox = QtWidgets.QSpinBox(self.centralwidget)
        self.img2IndexBox.setMaximumSize(QtCore.QSize(70, 16777215))
        self.img2IndexBox.setObjectName("img2IndexBox")
        self.horizontalLayout_5.addWidget(self.img2IndexBox)
        self.horizontalLayout_2.addLayout(self.horizontalLayout_5)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 524, 22))
        self.menubar.setObjectName("menubar")
        self.menuSAFL_Point = QtWidgets.QMenu(self.menubar)
        self.menuSAFL_Point.setObjectName("menuSAFL_Point")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)
        self.actionQuit = QtWidgets.QAction(MainWindow)
        self.actionQuit.setObjectName("actionQuit")
        self.actionSave = QtWidgets.QAction(MainWindow)
        self.actionSave.setObjectName("actionSave")
        self.actionOpen = QtWidgets.QAction(MainWindow)
        self.actionOpen.setObjectName("actionOpen")
        self.actionClear_matches = QtWidgets.QAction(MainWindow)
        self.actionClear_matches.setObjectName("actionClear_matches")
        self.menuSAFL_Point.addAction(self.actionOpen)
        self.menuSAFL_Point.addAction(self.actionSave)
        self.menuSAFL_Point.addAction(self.actionQuit)
        self.menuSAFL_Point.addSeparator()
        self.menuSAFL_Point.addAction(self.actionClear_matches)
        self.menubar.addAction(self.menuSAFL_Point.menuAction())

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
Esempio n. 49
0
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(693, 554)
        self.centralWidget = QtGui.QWidget(MainWindow)
        self.centralWidget.setObjectName(_fromUtf8("centralWidget"))
        self.BeamDisplay = MplWidget(self.centralWidget)
        self.BeamDisplay.setGeometry(QtCore.QRect(30, 280, 251, 191))
        self.BeamDisplay.setObjectName(_fromUtf8("BeamDisplay"))
        self.xplot = MplWidget(self.centralWidget)
        self.xplot.setGeometry(QtCore.QRect(30, 150, 256, 100))
        self.xplot.setObjectName(_fromUtf8("xplot"))
        self.yplot = MplWidget(self.centralWidget)
        self.yplot.setGeometry(QtCore.QRect(300, 210, 100, 256))
        self.yplot.setObjectName(_fromUtf8("yplot"))
        self.TwoD_region = QtGui.QGraphicsView(self.centralWidget)
        self.TwoD_region.setGeometry(QtCore.QRect(590, 10, 91, 91))
        self.TwoD_region.setObjectName(_fromUtf8("TwoD_region"))
        self.TwoD_fit = QtGui.QGraphicsView(self.centralWidget)
        self.TwoD_fit.setGeometry(QtCore.QRect(590, 110, 91, 81))
        self.TwoD_fit.setObjectName(_fromUtf8("TwoD_fit"))
        self.FitResultsSummary = QtGui.QTextBrowser(self.centralWidget)
        self.FitResultsSummary.setGeometry(QtCore.QRect(420, 180, 161, 121))
        self.FitResultsSummary.setObjectName(_fromUtf8("FitResultsSummary"))
        self.ErrorMessages = QtGui.QTextBrowser(self.centralWidget)
        self.ErrorMessages.setGeometry(QtCore.QRect(420, 340, 161, 131))
        self.ErrorMessages.setObjectName(_fromUtf8("ErrorMessages"))
        self.label = QtGui.QLabel(self.centralWidget)
        self.label.setGeometry(QtCore.QRect(320, 20, 331, 31))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Courier New"))
        font.setPointSize(14)
        self.label.setFont(font)
        self.label.setObjectName(_fromUtf8("label"))
        self.StartButton = QtGui.QPushButton(self.centralWidget)
        self.StartButton.setGeometry(QtCore.QRect(30, 20, 115, 32))
        self.StartButton.setObjectName(_fromUtf8("StartButton"))
        self.PauseButton = QtGui.QPushButton(self.centralWidget)
        self.PauseButton.setGeometry(QtCore.QRect(160, 20, 115, 32))
        self.PauseButton.setObjectName(_fromUtf8("PauseButton"))
        self.fileDialog = QtGui.QPushButton(self.centralWidget)
        self.fileDialog.setGeometry(QtCore.QRect(410, 60, 115, 32))
        self.fileDialog.setObjectName(_fromUtf8("fileDialog"))
        self.fileOutput = QtGui.QTextBrowser(self.centralWidget)
        self.fileOutput.setGeometry(QtCore.QRect(40, 70, 361, 21))
        self.fileOutput.setObjectName(_fromUtf8("fileOutput"))
        MainWindow.setCentralWidget(self.centralWidget)
        self.menuBar = QtGui.QMenuBar(MainWindow)
        self.menuBar.setGeometry(QtCore.QRect(0, 0, 693, 22))
        self.menuBar.setMouseTracking(False)
        self.menuBar.setObjectName(_fromUtf8("menuBar"))
        self.menuSome_menu = QtGui.QMenu(self.menuBar)
        self.menuSome_menu.setMouseTracking(False)
        self.menuSome_menu.setObjectName(_fromUtf8("menuSome_menu"))
        self.menuSome_other_menu = QtGui.QMenu(self.menuBar)
        self.menuSome_other_menu.setObjectName(_fromUtf8("menuSome_other_menu"))
        MainWindow.setMenuBar(self.menuBar)
        self.mainToolBar = QtGui.QToolBar(MainWindow)
        self.mainToolBar.setObjectName(_fromUtf8("mainToolBar"))
        MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.mainToolBar)
        self.statusBar = QtGui.QStatusBar(MainWindow)
        self.statusBar.setObjectName(_fromUtf8("statusBar"))
        MainWindow.setStatusBar(self.statusBar)
        self.menuBar.addAction(self.menuSome_menu.menuAction())
        self.menuBar.addAction(self.menuSome_other_menu.menuAction())

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(752, 790)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.centralwidget)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.verticalLayout_6 = QtGui.QVBoxLayout()
        self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6"))
        self.groupBox_graphic = QtGui.QGroupBox(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_graphic.sizePolicy().hasHeightForWidth())
        self.groupBox_graphic.setSizePolicy(sizePolicy)
        self.groupBox_graphic.setMinimumSize(QtCore.QSize(0, 200))
        self.groupBox_graphic.setObjectName(_fromUtf8("groupBox_graphic"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.groupBox_graphic)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.mplWidget = MplWidget(self.groupBox_graphic)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.mplWidget.sizePolicy().hasHeightForWidth())
        self.mplWidget.setSizePolicy(sizePolicy)
        self.mplWidget.setObjectName(_fromUtf8("mplWidget"))
        self.verticalLayout_4.addWidget(self.mplWidget)
        self.verticalLayout_6.addWidget(self.groupBox_graphic)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label_saturation = QtGui.QLabel(self.centralwidget)
        self.label_saturation.setObjectName(_fromUtf8("label_saturation"))
        self.horizontalLayout.addWidget(self.label_saturation)
        self.slider_saturation = QtGui.QSlider(self.centralwidget)
        self.slider_saturation.setOrientation(QtCore.Qt.Horizontal)
        self.slider_saturation.setObjectName(_fromUtf8("slider_saturation"))
        self.horizontalLayout.addWidget(self.slider_saturation)
        self.label_percent_value = QtGui.QLabel(self.centralwidget)
        self.label_percent_value.setMinimumSize(QtCore.QSize(18, 0))
        self.label_percent_value.setToolTip(_fromUtf8(""))
        self.label_percent_value.setStatusTip(_fromUtf8(""))
        self.label_percent_value.setLineWidth(2)
        self.label_percent_value.setMidLineWidth(2)
        self.label_percent_value.setText(_fromUtf8("0"))
        self.label_percent_value.setTextFormat(QtCore.Qt.AutoText)
        self.label_percent_value.setScaledContents(True)
        self.label_percent_value.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_percent_value.setMargin(0)
        self.label_percent_value.setObjectName(_fromUtf8("label_percent_value"))
        self.horizontalLayout.addWidget(self.label_percent_value)
        self.label_percent_symbol = QtGui.QLabel(self.centralwidget)
        self.label_percent_symbol.setToolTip(_fromUtf8(""))
        self.label_percent_symbol.setStatusTip(_fromUtf8(""))
        self.label_percent_symbol.setObjectName(_fromUtf8("label_percent_symbol"))
        self.horizontalLayout.addWidget(self.label_percent_symbol)
        self.verticalLayout_6.addLayout(self.horizontalLayout)
        self.textBrowser = QtGui.QTextBrowser(self.centralwidget)
        self.textBrowser.setMaximumSize(QtCore.QSize(16777215, 200))
        self.textBrowser.setObjectName(_fromUtf8("textBrowser"))
        self.verticalLayout_6.addWidget(self.textBrowser)
        self.horizontalLayout_2.addLayout(self.verticalLayout_6)
        self.verticalLayout_5 = QtGui.QVBoxLayout()
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.groupBox_state = QtGui.QGroupBox(self.centralwidget)
        self.groupBox_state.setMaximumSize(QtCore.QSize(300, 16777215))
        self.groupBox_state.setObjectName(_fromUtf8("groupBox_state"))
        self.verticalLayout_7 = QtGui.QVBoxLayout(self.groupBox_state)
        self.verticalLayout_7.setObjectName(_fromUtf8("verticalLayout_7"))
        self.lineEdit_state = QtGui.QLineEdit(self.groupBox_state)
        self.lineEdit_state.setEnabled(False)
        self.lineEdit_state.setAlignment(QtCore.Qt.AlignCenter)
        self.lineEdit_state.setObjectName(_fromUtf8("lineEdit_state"))
        self.verticalLayout_7.addWidget(self.lineEdit_state)
        self.pushButton_connect = QtGui.QPushButton(self.groupBox_state)
        self.pushButton_connect.setCheckable(True)
        self.pushButton_connect.setObjectName(_fromUtf8("pushButton_connect"))
        self.verticalLayout_7.addWidget(self.pushButton_connect)
        self.verticalLayout_5.addWidget(self.groupBox_state)
        self.groupBox_links = QtGui.QGroupBox(self.centralwidget)
        self.groupBox_links.setMaximumSize(QtCore.QSize(300, 16777215))
        self.groupBox_links.setObjectName(_fromUtf8("groupBox_links"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.groupBox_links)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.listWidget_link = QtGui.QListWidget(self.groupBox_links)
        self.listWidget_link.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.listWidget_link.setObjectName(_fromUtf8("listWidget_link"))
        self.verticalLayout_3.addWidget(self.listWidget_link)
        self.pushButton_reload = QtGui.QPushButton(self.groupBox_links)
        self.pushButton_reload.setEnabled(False)
        self.pushButton_reload.setObjectName(_fromUtf8("pushButton_reload"))
        self.verticalLayout_3.addWidget(self.pushButton_reload)
        self.verticalLayout_5.addWidget(self.groupBox_links)
        self.groupBox_options = QtGui.QGroupBox(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_options.sizePolicy().hasHeightForWidth())
        self.groupBox_options.setSizePolicy(sizePolicy)
        self.groupBox_options.setMaximumSize(QtCore.QSize(300, 16777215))
        self.groupBox_options.setObjectName(_fromUtf8("groupBox_options"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox_options)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.formLayout_2 = QtGui.QFormLayout()
        self.formLayout_2.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout_2.setObjectName(_fromUtf8("formLayout_2"))
        self.textBrowser_color_r = QtGui.QTextBrowser(self.groupBox_options)
        self.textBrowser_color_r.setMaximumSize(QtCore.QSize(15, 15))
        self.textBrowser_color_r.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.textBrowser_color_r.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.textBrowser_color_r.setObjectName(_fromUtf8("textBrowser_color_r"))
        self.formLayout_2.setWidget(0, QtGui.QFormLayout.LabelRole, self.textBrowser_color_r)
        self.checkBox_R = QtGui.QCheckBox(self.groupBox_options)
        self.checkBox_R.setChecked(True)
        self.checkBox_R.setTristate(False)
        self.checkBox_R.setObjectName(_fromUtf8("checkBox_R"))
        self.formLayout_2.setWidget(0, QtGui.QFormLayout.FieldRole, self.checkBox_R)
        self.checkBox_U = QtGui.QCheckBox(self.groupBox_options)
        self.checkBox_U.setChecked(True)
        self.checkBox_U.setObjectName(_fromUtf8("checkBox_U"))
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.FieldRole, self.checkBox_U)
        self.textBrowser_color_u = QtGui.QTextBrowser(self.groupBox_options)
        self.textBrowser_color_u.setMaximumSize(QtCore.QSize(15, 15))
        self.textBrowser_color_u.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.textBrowser_color_u.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.textBrowser_color_u.setObjectName(_fromUtf8("textBrowser_color_u"))
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.LabelRole, self.textBrowser_color_u)
        self.checkBox_x1 = QtGui.QCheckBox(self.groupBox_options)
        self.checkBox_x1.setChecked(True)
        self.checkBox_x1.setObjectName(_fromUtf8("checkBox_x1"))
        self.formLayout_2.setWidget(2, QtGui.QFormLayout.FieldRole, self.checkBox_x1)
        self.textBrowser_color_x1 = QtGui.QTextBrowser(self.groupBox_options)
        self.textBrowser_color_x1.setMaximumSize(QtCore.QSize(15, 15))
        self.textBrowser_color_x1.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.textBrowser_color_x1.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.textBrowser_color_x1.setObjectName(_fromUtf8("textBrowser_color_x1"))
        self.formLayout_2.setWidget(2, QtGui.QFormLayout.LabelRole, self.textBrowser_color_x1)
        self.checkBox_x0 = QtGui.QCheckBox(self.groupBox_options)
        self.checkBox_x0.setChecked(True)
        self.checkBox_x0.setObjectName(_fromUtf8("checkBox_x0"))
        self.formLayout_2.setWidget(3, QtGui.QFormLayout.FieldRole, self.checkBox_x0)
        self.textBrowser_color_x0 = QtGui.QTextBrowser(self.groupBox_options)
        self.textBrowser_color_x0.setMaximumSize(QtCore.QSize(15, 15))
        self.textBrowser_color_x0.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.textBrowser_color_x0.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.textBrowser_color_x0.setObjectName(_fromUtf8("textBrowser_color_x0"))
        self.formLayout_2.setWidget(3, QtGui.QFormLayout.LabelRole, self.textBrowser_color_x0)
        self.verticalLayout_2.addLayout(self.formLayout_2)
        self.pushButton_monitor = QtGui.QPushButton(self.groupBox_options)
        self.pushButton_monitor.setEnabled(False)
        self.pushButton_monitor.setCheckable(True)
        self.pushButton_monitor.setChecked(False)
        self.pushButton_monitor.setAutoDefault(False)
        self.pushButton_monitor.setDefault(False)
        self.pushButton_monitor.setFlat(False)
        self.pushButton_monitor.setObjectName(_fromUtf8("pushButton_monitor"))
        self.verticalLayout_2.addWidget(self.pushButton_monitor)
        self.pushButton_clear = QtGui.QPushButton(self.groupBox_options)
        self.pushButton_clear.setEnabled(True)
        self.pushButton_clear.setObjectName(_fromUtf8("pushButton_clear"))
        self.verticalLayout_2.addWidget(self.pushButton_clear)
        self.verticalLayout_5.addWidget(self.groupBox_options)
        self.groupBox_statistics = QtGui.QGroupBox(self.centralwidget)
        self.groupBox_statistics.setMaximumSize(QtCore.QSize(300, 16777215))
        self.groupBox_statistics.setObjectName(_fromUtf8("groupBox_statistics"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox_statistics)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.formLayout = QtGui.QFormLayout()
        self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.label_C = QtGui.QLabel(self.groupBox_statistics)
        self.label_C.setObjectName(_fromUtf8("label_C"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_C)
        self.label_C_value = QtGui.QLabel(self.groupBox_statistics)
        self.label_C_value.setMinimumSize(QtCore.QSize(50, 0))
        self.label_C_value.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_C_value.setObjectName(_fromUtf8("label_C_value"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.label_C_value)
        self.label_A = QtGui.QLabel(self.groupBox_statistics)
        self.label_A.setObjectName(_fromUtf8("label_A"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_A)
        self.label_A_value = QtGui.QLabel(self.groupBox_statistics)
        self.label_A_value.setMinimumSize(QtCore.QSize(50, 0))
        self.label_A_value.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_A_value.setObjectName(_fromUtf8("label_A_value"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.label_A_value)
        self.label_S = QtGui.QLabel(self.groupBox_statistics)
        self.label_S.setObjectName(_fromUtf8("label_S"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_S)
        self.label_S_value = QtGui.QLabel(self.groupBox_statistics)
        self.label_S_value.setMinimumSize(QtCore.QSize(50, 0))
        self.label_S_value.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_S_value.setObjectName(_fromUtf8("label_S_value"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.label_S_value)
        self.label_T = QtGui.QLabel(self.groupBox_statistics)
        self.label_T.setObjectName(_fromUtf8("label_T"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_T)
        self.label_T_value = QtGui.QLabel(self.groupBox_statistics)
        self.label_T_value.setMinimumSize(QtCore.QSize(50, 0))
        self.label_T_value.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_T_value.setObjectName(_fromUtf8("label_T_value"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.label_T_value)
        self.label_samples = QtGui.QLabel(self.groupBox_statistics)
        self.label_samples.setObjectName(_fromUtf8("label_samples"))
        self.formLayout.setWidget(5, QtGui.QFormLayout.LabelRole, self.label_samples)
        self.label_samples_value = QtGui.QLabel(self.groupBox_statistics)
        self.label_samples_value.setMinimumSize(QtCore.QSize(50, 0))
        self.label_samples_value.setLineWidth(1)
        self.label_samples_value.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_samples_value.setObjectName(_fromUtf8("label_samples_value"))
        self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole, self.label_samples_value)
        self.label_rx_buff = QtGui.QLabel(self.groupBox_statistics)
        self.label_rx_buff.setObjectName(_fromUtf8("label_rx_buff"))
        self.formLayout.setWidget(6, QtGui.QFormLayout.LabelRole, self.label_rx_buff)
        self.label_rx_buff_value = QtGui.QLabel(self.groupBox_statistics)
        self.label_rx_buff_value.setMinimumSize(QtCore.QSize(50, 0))
        self.label_rx_buff_value.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_rx_buff_value.setObjectName(_fromUtf8("label_rx_buff_value"))
        self.formLayout.setWidget(6, QtGui.QFormLayout.FieldRole, self.label_rx_buff_value)
        self.label_fps = QtGui.QLabel(self.groupBox_statistics)
        self.label_fps.setObjectName(_fromUtf8("label_fps"))
        self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_fps)
        self.label_fps_value = QtGui.QLabel(self.groupBox_statistics)
        self.label_fps_value.setMinimumSize(QtCore.QSize(50, 0))
        self.label_fps_value.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_fps_value.setObjectName(_fromUtf8("label_fps_value"))
        self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.label_fps_value)
        self.label_Est = QtGui.QLabel(self.groupBox_statistics)
        self.label_Est.setObjectName(_fromUtf8("label_Est"))
        self.formLayout.setWidget(7, QtGui.QFormLayout.LabelRole, self.label_Est)
        self.label_Est_value = QtGui.QLabel(self.groupBox_statistics)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Courier New"))
        self.label_Est_value.setFont(font)
        self.label_Est_value.setAlignment(QtCore.Qt.AlignCenter)
        self.label_Est_value.setObjectName(_fromUtf8("label_Est_value"))
        self.formLayout.setWidget(7, QtGui.QFormLayout.FieldRole, self.label_Est_value)
        self.verticalLayout.addLayout(self.formLayout)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.verticalLayout_5.addWidget(self.groupBox_statistics)
        self.horizontalLayout_2.addLayout(self.verticalLayout_5)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 752, 25))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        self.menuPreferencies = QtGui.QMenu(self.menubar)
        self.menuPreferencies.setObjectName(_fromUtf8("menuPreferencies"))
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        MainWindow.setStatusBar(self.statusbar)
        self.actionPC_Controlador = QtGui.QAction(MainWindow)
        self.actionPC_Controlador.setCheckable(True)
        self.actionPC_Controlador.setChecked(True)
        self.actionPC_Controlador.setEnabled(False)
        self.actionPC_Controlador.setIconVisibleInMenu(False)
        self.actionPC_Controlador.setObjectName(_fromUtf8("actionPC_Controlador"))
        self.actionPC_Sensor_Actuador = QtGui.QAction(MainWindow)
        self.actionPC_Sensor_Actuador.setCheckable(True)
        self.actionPC_Sensor_Actuador.setObjectName(_fromUtf8("actionPC_Sensor_Actuador"))
        self.actionPC_Monitor = QtGui.QAction(MainWindow)
        self.actionPC_Monitor.setCheckable(True)
        self.actionPC_Monitor.setChecked(True)
        self.actionPC_Monitor.setEnabled(False)
        self.actionPC_Monitor.setObjectName(_fromUtf8("actionPC_Monitor"))
        self.actionCatala = QtGui.QAction(MainWindow)
        self.actionCatala.setCheckable(True)
        self.actionCatala.setChecked(False)
        self.actionCatala.setEnabled(True)
        self.actionCatala.setWhatsThis(_fromUtf8(""))
        self.actionCatala.setShortcut(_fromUtf8(""))
        self.actionCatala.setObjectName(_fromUtf8("actionCatala"))
        self.actionEspanol = QtGui.QAction(MainWindow)
        self.actionEspanol.setCheckable(True)
        self.actionEspanol.setEnabled(True)
        self.actionEspanol.setWhatsThis(_fromUtf8(""))
        self.actionEspanol.setShortcut(_fromUtf8(""))
        self.actionEspanol.setObjectName(_fromUtf8("actionEspanol"))
        self.actionEnglish = QtGui.QAction(MainWindow)
        self.actionEnglish.setCheckable(True)
        self.actionEnglish.setChecked(True)
        self.actionEnglish.setEnabled(False)
        self.actionEnglish.setWhatsThis(_fromUtf8(""))
        self.actionEnglish.setShortcut(_fromUtf8(""))
        self.actionEnglish.setIconVisibleInMenu(True)
        self.actionEnglish.setObjectName(_fromUtf8("actionEnglish"))
        self.actionFrench = QtGui.QAction(MainWindow)
        self.actionFrench.setCheckable(True)
        self.actionFrench.setWhatsThis(_fromUtf8(""))
        self.actionFrench.setShortcut(_fromUtf8(""))
        self.actionFrench.setIconVisibleInMenu(True)
        self.actionFrench.setObjectName(_fromUtf8("actionFrench"))
        self.menuPreferencies.addSeparator()
        self.menuPreferencies.addAction(self.actionPC_Sensor_Actuador)
        self.menuPreferencies.addAction(self.actionPC_Monitor)
        self.menuPreferencies.addSeparator()
        self.menuPreferencies.addAction(self.actionCatala)
        self.menuPreferencies.addAction(self.actionEspanol)
        self.menuPreferencies.addAction(self.actionEnglish)
        self.menuPreferencies.addAction(self.actionFrench)
        self.menuPreferencies.addSeparator()
        self.menubar.addAction(self.menuPreferencies.menuAction())

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "Distributed Control Systems Monitor", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_graphic.setTitle(QtGui.QApplication.translate("MainWindow", "Graphic", None, QtGui.QApplication.UnicodeUTF8))
        self.label_saturation.setText(QtGui.QApplication.translate("MainWindow", "Saturation", None, QtGui.QApplication.UnicodeUTF8))
        self.label_percent_symbol.setText(QtGui.QApplication.translate("MainWindow", "%", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_state.setTitle(QtGui.QApplication.translate("MainWindow", "Monitor State", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_connect.setText(QtGui.QApplication.translate("MainWindow", "Connect", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_links.setTitle(QtGui.QApplication.translate("MainWindow", "Control links", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_reload.setText(QtGui.QApplication.translate("MainWindow", "Update List", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_options.setTitle(QtGui.QApplication.translate("MainWindow", "Options", None, QtGui.QApplication.UnicodeUTF8))
        self.textBrowser_color_r.setHtml(QtGui.QApplication.translate("MainWindow", "<!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:\'Ubuntu\'; font-size:11pt; font-weight:400; font-style:normal;\" bgcolor=\"#0101df\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.checkBox_R.setText(QtGui.QApplication.translate("MainWindow", "Reference", None, QtGui.QApplication.UnicodeUTF8))
        self.checkBox_U.setText(QtGui.QApplication.translate("MainWindow", "Input Value", None, QtGui.QApplication.UnicodeUTF8))
        self.textBrowser_color_u.setHtml(QtGui.QApplication.translate("MainWindow", "<!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:\'Ubuntu\'; font-size:11pt; font-weight:400; font-style:normal;\" bgcolor=\"#ff0000\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.checkBox_x1.setText(QtGui.QApplication.translate("MainWindow", "First Integral", None, QtGui.QApplication.UnicodeUTF8))
        self.textBrowser_color_x1.setHtml(QtGui.QApplication.translate("MainWindow", "<!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:\'Ubuntu\'; font-size:11pt; font-weight:400; font-style:normal;\" bgcolor=\"#bdbdbd\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.checkBox_x0.setText(QtGui.QApplication.translate("MainWindow", "Second Integral", None, QtGui.QApplication.UnicodeUTF8))
        self.textBrowser_color_x0.setHtml(QtGui.QApplication.translate("MainWindow", "<!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:\'Ubuntu\'; font-size:11pt; font-weight:400; font-style:normal;\" bgcolor=\"#ff8000\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_monitor.setText(QtGui.QApplication.translate("MainWindow", "Monitorize", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_clear.setText(QtGui.QApplication.translate("MainWindow", "Clean Text", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_statistics.setTitle(QtGui.QApplication.translate("MainWindow", "Statistics", None, QtGui.QApplication.UnicodeUTF8))
        self.label_C.setText(QtGui.QApplication.translate("MainWindow", "Controllers", None, QtGui.QApplication.UnicodeUTF8))
        self.label_C_value.setText(QtGui.QApplication.translate("MainWindow", "0", None, QtGui.QApplication.UnicodeUTF8))
        self.label_A.setText(QtGui.QApplication.translate("MainWindow", "Actuators", None, QtGui.QApplication.UnicodeUTF8))
        self.label_A_value.setText(QtGui.QApplication.translate("MainWindow", "0", None, QtGui.QApplication.UnicodeUTF8))
        self.label_S.setText(QtGui.QApplication.translate("MainWindow", "Sensors", None, QtGui.QApplication.UnicodeUTF8))
        self.label_S_value.setText(QtGui.QApplication.translate("MainWindow", "0", None, QtGui.QApplication.UnicodeUTF8))
        self.label_T.setText(QtGui.QApplication.translate("MainWindow", "TOTAL Devices", None, QtGui.QApplication.UnicodeUTF8))
        self.label_T_value.setText(QtGui.QApplication.translate("MainWindow", "0", None, QtGui.QApplication.UnicodeUTF8))
        self.label_samples.setText(QtGui.QApplication.translate("MainWindow", "Link Samples ", None, QtGui.QApplication.UnicodeUTF8))
        self.label_samples_value.setText(QtGui.QApplication.translate("MainWindow", "0", None, QtGui.QApplication.UnicodeUTF8))
        self.label_rx_buff.setText(QtGui.QApplication.translate("MainWindow", "Input Buffer Bytes", None, QtGui.QApplication.UnicodeUTF8))
        self.label_rx_buff_value.setText(QtGui.QApplication.translate("MainWindow", "0", None, QtGui.QApplication.UnicodeUTF8))
        self.label_fps.setText(QtGui.QApplication.translate("MainWindow", "Frames per Second", None, QtGui.QApplication.UnicodeUTF8))
        self.label_fps_value.setText(QtGui.QApplication.translate("MainWindow", "0", None, QtGui.QApplication.UnicodeUTF8))
        self.label_Est.setText(QtGui.QApplication.translate("MainWindow", "Statistics", None, QtGui.QApplication.UnicodeUTF8))
        self.label_Est_value.setText(QtGui.QApplication.translate("MainWindow", "|", None, QtGui.QApplication.UnicodeUTF8))
        self.menuPreferencies.setTitle(QtGui.QApplication.translate("MainWindow", "Preferences", None, QtGui.QApplication.UnicodeUTF8))
        self.actionPC_Controlador.setText(QtGui.QApplication.translate("MainWindow", "PC -> Controlador", None, QtGui.QApplication.UnicodeUTF8))
        self.actionPC_Sensor_Actuador.setText(QtGui.QApplication.translate("MainWindow", "PC -> Sensor/Actuator", None, QtGui.QApplication.UnicodeUTF8))
        self.actionPC_Monitor.setText(QtGui.QApplication.translate("MainWindow", "PC -> Monitor", None, QtGui.QApplication.UnicodeUTF8))
        self.actionCatala.setText(QtGui.QApplication.translate("MainWindow", "Català", None, QtGui.QApplication.UnicodeUTF8))
        self.actionEspanol.setText(QtGui.QApplication.translate("MainWindow", "Español", None, QtGui.QApplication.UnicodeUTF8))
        self.actionEnglish.setText(QtGui.QApplication.translate("MainWindow", "English", None, QtGui.QApplication.UnicodeUTF8))
        self.actionFrench.setText(QtGui.QApplication.translate("MainWindow", "Française", None, QtGui.QApplication.UnicodeUTF8))
Esempio n. 51
0
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(1161, 726)
        self.centralwidget = QtGui.QWidget(MainWindow)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.centralwidget.sizePolicy().hasHeightForWidth())
        self.centralwidget.setSizePolicy(sizePolicy)
        self.centralwidget.setObjectName("centralwidget")
        self.gridLayout_2 = QtGui.QGridLayout(self.centralwidget)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.widget = MplWidget(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.widget.sizePolicy().hasHeightForWidth())
        self.widget.setSizePolicy(sizePolicy)
        self.widget.setObjectName("widget")
        self.verticalLayout.addWidget(self.widget)
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setVerticalSpacing(0)
        self.gridLayout.setObjectName("gridLayout")
        self.x1_label = QtGui.QLabel(self.centralwidget)
        self.x1_label.setObjectName("x1_label")
        self.gridLayout.addWidget(self.x1_label, 1, 0, 1, 1)
        self.x1 = QtGui.QLabel(self.centralwidget)
        self.x1.setObjectName("x1")
        self.gridLayout.addWidget(self.x1, 1, 1, 1, 1)
        self.x2_label = QtGui.QLabel(self.centralwidget)
        self.x2_label.setObjectName("x2_label")
        self.gridLayout.addWidget(self.x2_label, 1, 2, 1, 1)
        self.x2 = QtGui.QLabel(self.centralwidget)
        self.x2.setObjectName("x2")
        self.gridLayout.addWidget(self.x2, 1, 3, 1, 1)
        self.diffx_label = QtGui.QLabel(self.centralwidget)
        self.diffx_label.setObjectName("diffx_label")
        self.gridLayout.addWidget(self.diffx_label, 1, 4, 1, 1)
        self.y1_label = QtGui.QLabel(self.centralwidget)
        self.y1_label.setObjectName("y1_label")
        self.gridLayout.addWidget(self.y1_label, 3, 0, 1, 1)
        self.y1 = QtGui.QLabel(self.centralwidget)
        self.y1.setObjectName("y1")
        self.gridLayout.addWidget(self.y1, 3, 1, 1, 1)
        self.y2_label = QtGui.QLabel(self.centralwidget)
        self.y2_label.setObjectName("y2_label")
        self.gridLayout.addWidget(self.y2_label, 3, 2, 1, 1)
        self.y2 = QtGui.QLabel(self.centralwidget)
        self.y2.setObjectName("y2")
        self.gridLayout.addWidget(self.y2, 3, 3, 1, 1)
        self.diffy_label = QtGui.QLabel(self.centralwidget)
        self.diffy_label.setObjectName("diffy_label")
        self.gridLayout.addWidget(self.diffy_label, 3, 4, 1, 1)
        self.diffy = QtGui.QLabel(self.centralwidget)
        self.diffy.setObjectName("diffy")
        self.gridLayout.addWidget(self.diffy, 3, 5, 1, 1)
        self.radioButton_2 = QtGui.QRadioButton(self.centralwidget)
        self.radioButton_2.setObjectName("radioButton_2")
        self.gridLayout.addWidget(self.radioButton_2, 3, 7, 1, 1)
        self.radioButton_1 = QtGui.QRadioButton(self.centralwidget)
        self.radioButton_1.setObjectName("radioButton_1")
        self.gridLayout.addWidget(self.radioButton_1, 3, 6, 1, 1)
        self.loglinbutton = QtGui.QPushButton(self.centralwidget)
        self.loglinbutton.setMaximumSize(QtCore.QSize(40, 16777215))
        self.loglinbutton.setObjectName("loglinbutton")
        self.gridLayout.addWidget(self.loglinbutton, 1, 9, 1, 1)
        self.buttonLegend = QtGui.QPushButton(self.centralwidget)
        self.buttonLegend.setObjectName("buttonLegend")
        self.gridLayout.addWidget(self.buttonLegend, 1, 7, 1, 1)
        self.buttonPrint = QtGui.QPushButton(self.centralwidget)
        self.buttonPrint.setObjectName("buttonPrint")
        self.gridLayout.addWidget(self.buttonPrint, 1, 6, 1, 1)
        self.diffx = QtGui.QLabel(self.centralwidget)
        self.diffx.setObjectName("diffx")
        self.gridLayout.addWidget(self.diffx, 1, 5, 1, 1)
        self.loglinbutton_x = QtGui.QPushButton(self.centralwidget)
        self.loglinbutton_x.setMaximumSize(QtCore.QSize(40, 16777215))
        self.loglinbutton_x.setObjectName("loglinbutton_x")
        self.gridLayout.addWidget(self.loglinbutton_x, 1, 8, 1, 1)
        self.radioButton_3 = QtGui.QRadioButton(self.centralwidget)
        self.radioButton_3.setObjectName("radioButton_3")
        self.gridLayout.addWidget(self.radioButton_3, 3, 8, 1, 2)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label = QtGui.QLabel(self.centralwidget)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.spinBox_last = QtGui.QSpinBox(self.centralwidget)
        self.spinBox_last.setObjectName("spinBox_last")
        self.horizontalLayout.addWidget(self.spinBox_last)
        self.gridLayout.addLayout(self.horizontalLayout, 3, 10, 1, 1)
        self.buttonMore = QtGui.QPushButton(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.buttonMore.sizePolicy().hasHeightForWidth())
        self.buttonMore.setSizePolicy(sizePolicy)
        self.buttonMore.setMinimumSize(QtCore.QSize(0, 0))
        self.buttonMore.setMaximumSize(QtCore.QSize(23, 12))
        font = QtGui.QFont()
        font.setPointSize(4)
        self.buttonMore.setFont(font)
        self.buttonMore.setIconSize(QtCore.QSize(16, 16))
        self.buttonMore.setCheckable(False)
        self.buttonMore.setAutoExclusive(False)
        self.buttonMore.setAutoDefault(False)
        self.buttonMore.setDefault(False)
        self.buttonMore.setFlat(False)
        self.buttonMore.setObjectName("buttonMore")
        self.gridLayout.addWidget(self.buttonMore, 1, 10, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.gridLayout_2.addLayout(self.verticalLayout, 0, 0, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 1161, 21))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8))
        self.x1_label.setText(QtGui.QApplication.translate("MainWindow", "x1 = ", None, QtGui.QApplication.UnicodeUTF8))
        self.x1.setText(QtGui.QApplication.translate("MainWindow", "???", None, QtGui.QApplication.UnicodeUTF8))
        self.x2_label.setText(QtGui.QApplication.translate("MainWindow", "x2 = ", None, QtGui.QApplication.UnicodeUTF8))
        self.x2.setText(QtGui.QApplication.translate("MainWindow", "???", None, QtGui.QApplication.UnicodeUTF8))
        self.diffx_label.setText(QtGui.QApplication.translate("MainWindow", "Diff_x = ", None, QtGui.QApplication.UnicodeUTF8))
        self.y1_label.setText(QtGui.QApplication.translate("MainWindow", "y1 = ", None, QtGui.QApplication.UnicodeUTF8))
        self.y1.setText(QtGui.QApplication.translate("MainWindow", "???", None, QtGui.QApplication.UnicodeUTF8))
        self.y2_label.setText(QtGui.QApplication.translate("MainWindow", "y2 = ", None, QtGui.QApplication.UnicodeUTF8))
        self.y2.setText(QtGui.QApplication.translate("MainWindow", "???", None, QtGui.QApplication.UnicodeUTF8))
        self.diffy_label.setText(QtGui.QApplication.translate("MainWindow", "Diff_y = ", None, QtGui.QApplication.UnicodeUTF8))
        self.diffy.setText(QtGui.QApplication.translate("MainWindow", "???", None, QtGui.QApplication.UnicodeUTF8))
        self.radioButton_2.setToolTip(QtGui.QApplication.translate("MainWindow", "let the window contain entirely (and a bit more) all plotted curves", None, QtGui.QApplication.UnicodeUTF8))
        self.radioButton_2.setText(QtGui.QApplication.translate("MainWindow", "autoscale", None, QtGui.QApplication.UnicodeUTF8))
        self.radioButton_1.setToolTip(QtGui.QApplication.translate("MainWindow", "autoscaling wont bother you in this case", None, QtGui.QApplication.UnicodeUTF8))
        self.radioButton_1.setText(QtGui.QApplication.translate("MainWindow", "manual scaling", None, QtGui.QApplication.UnicodeUTF8))
        self.loglinbutton.setText(QtGui.QApplication.translate("MainWindow", "switch to logscale", None, QtGui.QApplication.UnicodeUTF8))
        self.buttonLegend.setText(QtGui.QApplication.translate("MainWindow", "make legend", None, QtGui.QApplication.UnicodeUTF8))
        self.buttonPrint.setToolTip(QtGui.QApplication.translate("MainWindow", "Will prompt for a filename save the pdf where you specified and open it. Press cancel in the save dialog if you just want to print...", None, QtGui.QApplication.UnicodeUTF8))
        self.buttonPrint.setText(QtGui.QApplication.translate("MainWindow", "save + print", None, QtGui.QApplication.UnicodeUTF8))
        self.diffx.setText(QtGui.QApplication.translate("MainWindow", "???", None, QtGui.QApplication.UnicodeUTF8))
        self.loglinbutton_x.setText(QtGui.QApplication.translate("MainWindow", "x->log", None, QtGui.QApplication.UnicodeUTF8))
        self.radioButton_3.setToolTip(QtGui.QApplication.translate("MainWindow", "scales on last plotted curve (unless scaleOnMe is False for that curve (default = True))", None, QtGui.QApplication.UnicodeUTF8))
        self.radioButton_3.setText(QtGui.QApplication.translate("MainWindow", "scale on last", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("MainWindow", "show last", None, QtGui.QApplication.UnicodeUTF8))
        self.buttonMore.setText(QtGui.QApplication.translate("MainWindow", ">>", None, QtGui.QApplication.UnicodeUTF8))
Esempio n. 52
0
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(693, 554)
        self.centralWidget = QtGui.QWidget(MainWindow)
        self.centralWidget.setObjectName(_fromUtf8("centralWidget"))
        self.BeamDisplay = MplWidget(self.centralWidget)
        self.BeamDisplay.setGeometry(QtCore.QRect(30, 280, 251, 191))
        self.BeamDisplay.setObjectName(_fromUtf8("BeamDisplay"))
        self.xplot = MplWidget(self.centralWidget)
        self.xplot.setGeometry(QtCore.QRect(30, 150, 256, 100))
        self.xplot.setObjectName(_fromUtf8("xplot"))
        self.yplot = MplWidget(self.centralWidget)
        self.yplot.setGeometry(QtCore.QRect(300, 210, 100, 256))
        self.yplot.setObjectName(_fromUtf8("yplot"))
        self.TwoD_region = QtGui.QGraphicsView(self.centralWidget)
        self.TwoD_region.setGeometry(QtCore.QRect(590, 10, 91, 91))
        self.TwoD_region.setObjectName(_fromUtf8("TwoD_region"))
        self.TwoD_fit = QtGui.QGraphicsView(self.centralWidget)
        self.TwoD_fit.setGeometry(QtCore.QRect(590, 110, 91, 81))
        self.TwoD_fit.setObjectName(_fromUtf8("TwoD_fit"))
        self.FitResultsSummary = QtGui.QTextBrowser(self.centralWidget)
        self.FitResultsSummary.setGeometry(QtCore.QRect(420, 180, 161, 121))
        self.FitResultsSummary.setObjectName(_fromUtf8("FitResultsSummary"))
        self.ErrorMessages = QtGui.QTextBrowser(self.centralWidget)
        self.ErrorMessages.setGeometry(QtCore.QRect(420, 340, 161, 131))
        self.ErrorMessages.setObjectName(_fromUtf8("ErrorMessages"))
        self.label = QtGui.QLabel(self.centralWidget)
        self.label.setGeometry(QtCore.QRect(320, 20, 331, 31))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Courier New"))
        font.setPointSize(14)
        self.label.setFont(font)
        self.label.setObjectName(_fromUtf8("label"))
        self.StartButton = QtGui.QPushButton(self.centralWidget)
        self.StartButton.setGeometry(QtCore.QRect(30, 20, 115, 32))
        self.StartButton.setObjectName(_fromUtf8("StartButton"))
        self.PauseButton = QtGui.QPushButton(self.centralWidget)
        self.PauseButton.setGeometry(QtCore.QRect(160, 20, 115, 32))
        self.PauseButton.setObjectName(_fromUtf8("PauseButton"))
        self.fileDialog = QtGui.QPushButton(self.centralWidget)
        self.fileDialog.setGeometry(QtCore.QRect(410, 60, 115, 32))
        self.fileDialog.setObjectName(_fromUtf8("fileDialog"))
        self.fileOutput = QtGui.QTextBrowser(self.centralWidget)
        self.fileOutput.setGeometry(QtCore.QRect(40, 70, 361, 21))
        self.fileOutput.setObjectName(_fromUtf8("fileOutput"))
        MainWindow.setCentralWidget(self.centralWidget)
        self.menuBar = QtGui.QMenuBar(MainWindow)
        self.menuBar.setGeometry(QtCore.QRect(0, 0, 693, 22))
        self.menuBar.setMouseTracking(False)
        self.menuBar.setObjectName(_fromUtf8("menuBar"))
        self.menuSome_menu = QtGui.QMenu(self.menuBar)
        self.menuSome_menu.setMouseTracking(False)
        self.menuSome_menu.setObjectName(_fromUtf8("menuSome_menu"))
        self.menuSome_other_menu = QtGui.QMenu(self.menuBar)
        self.menuSome_other_menu.setObjectName(_fromUtf8("menuSome_other_menu"))
        MainWindow.setMenuBar(self.menuBar)
        self.mainToolBar = QtGui.QToolBar(MainWindow)
        self.mainToolBar.setObjectName(_fromUtf8("mainToolBar"))
        MainWindow.addToolBar(QtCore.Qt.TopToolBarArea, self.mainToolBar)
        self.statusBar = QtGui.QStatusBar(MainWindow)
        self.statusBar.setObjectName(_fromUtf8("statusBar"))
        MainWindow.setStatusBar(self.statusBar)
        self.menuBar.addAction(self.menuSome_menu.menuAction())
        self.menuBar.addAction(self.menuSome_other_menu.menuAction())

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None))
        self.FitResultsSummary.setHtml(_translate("MainWindow", "<!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:\'.Helvetica Neue DeskInterface\'; font-size:13pt; font-weight:400; font-style:normal;\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:\'MS Shell Dlg 2\'; font-size:8.25pt;\"><br /></p></body></html>", None))
        self.label.setText(_translate("MainWindow", "Python gaussian beam fitter", None))
        self.StartButton.setText(_translate("MainWindow", "Start", None))
        self.PauseButton.setText(_translate("MainWindow", "Pause", None))
        self.fileDialog.setText(_translate("MainWindow", "Choose file", None))
        self.menuSome_menu.setTitle(_translate("MainWindow", "some menu", None))
        self.menuSome_other_menu.setTitle(_translate("MainWindow", "some other menu", None))
Esempio n. 53
0
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(833, 528)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Maximum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
        MainWindow.setSizePolicy(sizePolicy)
        MainWindow.setAutoFillBackground(True)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.centralwidget)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setSpacing(6)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.tabWidget = QtGui.QTabWidget(self.centralwidget)
        self.tabWidget.setEnabled(True)
        self.tabWidget.setTabPosition(QtGui.QTabWidget.North)
        self.tabWidget.setTabShape(QtGui.QTabWidget.Rounded)
        self.tabWidget.setElideMode(QtCore.Qt.ElideNone)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tab_backtest_setup_run = QtGui.QWidget()
        self.tab_backtest_setup_run.setObjectName(_fromUtf8("tab_backtest_setup_run"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout(self.tab_backtest_setup_run)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.frame_4 = QtGui.QFrame(self.tab_backtest_setup_run)
        self.frame_4.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame_4.sizePolicy().hasHeightForWidth())
        self.frame_4.setSizePolicy(sizePolicy)
        self.frame_4.setMinimumSize(QtCore.QSize(270, 0))
        self.frame_4.setFrameShape(QtGui.QFrame.NoFrame)
        self.frame_4.setFrameShadow(QtGui.QFrame.Raised)
        self.frame_4.setLineWidth(1)
        self.frame_4.setObjectName(_fromUtf8("frame_4"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.frame_4)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.verticalLayout_4 = QtGui.QVBoxLayout()
        self.verticalLayout_4.setSpacing(0)
        self.verticalLayout_4.setContentsMargins(-1, 0, -1, -1)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.frame = QtGui.QFrame(self.frame_4)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame.sizePolicy().hasHeightForWidth())
        self.frame.setSizePolicy(sizePolicy)
        self.frame.setMinimumSize(QtCore.QSize(250, 250))
        self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtGui.QFrame.Raised)
        self.frame.setObjectName(_fromUtf8("frame"))
        self.comboBox_instrument = QtGui.QComboBox(self.frame)
        self.comboBox_instrument.setGeometry(QtCore.QRect(10, 50, 51, 31))
        self.comboBox_instrument.setObjectName(_fromUtf8("comboBox_instrument"))
        self.comboBox_instrument.addItem(_fromUtf8(""))
        self.comboBox_instrument.addItem(_fromUtf8(""))
        self.comboBox_instrument.addItem(_fromUtf8(""))
        self.label = QtGui.QLabel(self.frame)
        self.label.setGeometry(QtCore.QRect(10, 30, 81, 21))
        self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label.setObjectName(_fromUtf8("label"))
        self.label_3 = QtGui.QLabel(self.frame)
        self.label_3.setGeometry(QtCore.QRect(10, 90, 81, 21))
        self.label_3.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.spinBox_range = QtGui.QSpinBox(self.frame)
        self.spinBox_range.setGeometry(QtCore.QRect(10, 110, 51, 31))
        self.spinBox_range.setProperty("value", 10)
        self.spinBox_range.setObjectName(_fromUtf8("spinBox_range"))
        self.dateEdit_start_date = QtGui.QDateEdit(self.frame)
        self.dateEdit_start_date.setGeometry(QtCore.QRect(120, 50, 121, 31))
        self.dateEdit_start_date.setCalendarPopup(True)
        self.dateEdit_start_date.setDate(QtCore.QDate(2013, 9, 10))
        self.dateEdit_start_date.setObjectName(_fromUtf8("dateEdit_start_date"))
        self.label_4 = QtGui.QLabel(self.frame)
        self.label_4.setGeometry(QtCore.QRect(120, 30, 81, 21))
        self.label_4.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.label_5 = QtGui.QLabel(self.frame)
        self.label_5.setGeometry(QtCore.QRect(120, 90, 81, 21))
        self.label_5.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.dateEdit_end_date = QtGui.QDateEdit(self.frame)
        self.dateEdit_end_date.setGeometry(QtCore.QRect(120, 110, 121, 31))
        self.dateEdit_end_date.setCalendarPopup(True)
        self.dateEdit_end_date.setDate(QtCore.QDate(2014, 11, 30))
        self.dateEdit_end_date.setObjectName(_fromUtf8("dateEdit_end_date"))
        self.checkBox_log_intrabar_data = QtGui.QCheckBox(self.frame)
        self.checkBox_log_intrabar_data.setGeometry(QtCore.QRect(10, 150, 151, 22))
        self.checkBox_log_intrabar_data.setChecked(False)
        self.checkBox_log_intrabar_data.setObjectName(_fromUtf8("checkBox_log_intrabar_data"))
        self.checkBox_write_trade_data = QtGui.QCheckBox(self.frame)
        self.checkBox_write_trade_data.setGeometry(QtCore.QRect(10, 170, 151, 22))
        self.checkBox_write_trade_data.setObjectName(_fromUtf8("checkBox_write_trade_data"))
        self.checkBox_write_bar_data = QtGui.QCheckBox(self.frame)
        self.checkBox_write_bar_data.setGeometry(QtCore.QRect(10, 190, 151, 22))
        self.checkBox_write_bar_data.setObjectName(_fromUtf8("checkBox_write_bar_data"))
        self.line = QtGui.QFrame(self.frame)
        self.line.setGeometry(QtCore.QRect(0, 16, 251, 16))
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.label_2 = QtGui.QLabel(self.frame)
        self.label_2.setGeometry(QtCore.QRect(0, 0, 121, 21))
        font = QtGui.QFont()
        font.setBold(True)
        font.setItalic(False)
        font.setUnderline(False)
        font.setWeight(75)
        self.label_2.setFont(font)
        self.label_2.setAlignment(QtCore.Qt.AlignCenter)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.verticalLayout_4.addWidget(self.frame)
        self.frame_2 = QtGui.QFrame(self.frame_4)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame_2.sizePolicy().hasHeightForWidth())
        self.frame_2.setSizePolicy(sizePolicy)
        self.frame_2.setMinimumSize(QtCore.QSize(0, 120))
        self.frame_2.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame_2.setFrameShadow(QtGui.QFrame.Raised)
        self.frame_2.setObjectName(_fromUtf8("frame_2"))
        self.pushButton_run_backtest = QtGui.QPushButton(self.frame_2)
        self.pushButton_run_backtest.setGeometry(QtCore.QRect(10, 10, 231, 51))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_run_backtest.sizePolicy().hasHeightForWidth())
        self.pushButton_run_backtest.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(20)
        font.setKerning(True)
        self.pushButton_run_backtest.setFont(font)
        self.pushButton_run_backtest.setObjectName(_fromUtf8("pushButton_run_backtest"))
        self.progressBar_backtest = QtGui.QProgressBar(self.frame_2)
        self.progressBar_backtest.setGeometry(QtCore.QRect(10, 70, 231, 23))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Ubuntu"))
        self.progressBar_backtest.setFont(font)
        self.progressBar_backtest.setProperty("value", 0)
        self.progressBar_backtest.setObjectName(_fromUtf8("progressBar_backtest"))
        self.label_time_remaining = QtGui.QLabel(self.frame_2)
        self.label_time_remaining.setGeometry(QtCore.QRect(10, 90, 221, 20))
        self.label_time_remaining.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.label_time_remaining.setObjectName(_fromUtf8("label_time_remaining"))
        self.verticalLayout_4.addWidget(self.frame_2)
        self.verticalLayout_5.addLayout(self.verticalLayout_4)
        self.horizontalLayout_4.addWidget(self.frame_4)
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setSpacing(0)
        self.verticalLayout_3.setContentsMargins(-1, 9, -1, 9)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.frame_6 = QtGui.QFrame(self.tab_backtest_setup_run)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame_6.sizePolicy().hasHeightForWidth())
        self.frame_6.setSizePolicy(sizePolicy)
        self.frame_6.setMinimumSize(QtCore.QSize(513, 25))
        self.frame_6.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame_6.setFrameShadow(QtGui.QFrame.Raised)
        self.frame_6.setObjectName(_fromUtf8("frame_6"))
        self.horizontalLayout_7 = QtGui.QHBoxLayout(self.frame_6)
        self.horizontalLayout_7.setSpacing(0)
        self.horizontalLayout_7.setContentsMargins(9, 0, 0, 0)
        self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7"))
        self.label_setup_backtest = QtGui.QLabel(self.frame_6)
        font = QtGui.QFont()
        font.setBold(True)
        font.setItalic(False)
        font.setUnderline(False)
        font.setWeight(75)
        self.label_setup_backtest.setFont(font)
        self.label_setup_backtest.setAlignment(QtCore.Qt.AlignCenter)
        self.label_setup_backtest.setObjectName(_fromUtf8("label_setup_backtest"))
        self.horizontalLayout_7.addWidget(self.label_setup_backtest)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_7.addItem(spacerItem)
        self.pushButton_revert_setup = QtGui.QPushButton(self.frame_6)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.pushButton_revert_setup.sizePolicy().hasHeightForWidth())
        self.pushButton_revert_setup.setSizePolicy(sizePolicy)
        self.pushButton_revert_setup.setMinimumSize(QtCore.QSize(60, 0))
        self.pushButton_revert_setup.setObjectName(_fromUtf8("pushButton_revert_setup"))
        self.horizontalLayout_7.addWidget(self.pushButton_revert_setup)
        self.pushButton_save_setup = QtGui.QPushButton(self.frame_6)
        self.pushButton_save_setup.setObjectName(_fromUtf8("pushButton_save_setup"))
        self.horizontalLayout_7.addWidget(self.pushButton_save_setup)
        self.verticalLayout_3.addWidget(self.frame_6)
        self.frame_7 = QtGui.QFrame(self.tab_backtest_setup_run)
        self.frame_7.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame_7.setFrameShadow(QtGui.QFrame.Raised)
        self.frame_7.setObjectName(_fromUtf8("frame_7"))
        self.horizontalLayout_5 = QtGui.QHBoxLayout(self.frame_7)
        self.horizontalLayout_5.setMargin(0)
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.verticalLayout_6 = QtGui.QVBoxLayout()
        self.verticalLayout_6.setSpacing(0)
        self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6"))
        self.textEdit_setup_backtest = QtGui.QTextEdit(self.frame_7)
        self.textEdit_setup_backtest.setObjectName(_fromUtf8("textEdit_setup_backtest"))
        self.verticalLayout_6.addWidget(self.textEdit_setup_backtest)
        self.horizontalLayout_5.addLayout(self.verticalLayout_6)
        self.verticalLayout_3.addWidget(self.frame_7)
        self.frame_5 = QtGui.QFrame(self.tab_backtest_setup_run)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame_5.sizePolicy().hasHeightForWidth())
        self.frame_5.setSizePolicy(sizePolicy)
        self.frame_5.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame_5.setFrameShadow(QtGui.QFrame.Raised)
        self.frame_5.setObjectName(_fromUtf8("frame_5"))
        self.verticalLayout_3.addWidget(self.frame_5)
        self.horizontalLayout_4.addLayout(self.verticalLayout_3)
        self.tabWidget.addTab(self.tab_backtest_setup_run, _fromUtf8(""))
        self.tab_backtest_view = QtGui.QWidget()
        self.tab_backtest_view.setObjectName(_fromUtf8("tab_backtest_view"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.tab_backtest_view)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setSpacing(0)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.frame_3 = QtGui.QFrame(self.tab_backtest_view)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame_3.sizePolicy().hasHeightForWidth())
        self.frame_3.setSizePolicy(sizePolicy)
        self.frame_3.setMinimumSize(QtCore.QSize(0, 40))
        self.frame_3.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame_3.setFrameShadow(QtGui.QFrame.Raised)
        self.frame_3.setObjectName(_fromUtf8("frame_3"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.frame_3)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.horizontalSlider_bar_zoom = QtGui.QSlider(self.frame_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.horizontalSlider_bar_zoom.sizePolicy().hasHeightForWidth())
        self.horizontalSlider_bar_zoom.setSizePolicy(sizePolicy)
        self.horizontalSlider_bar_zoom.setMinimumSize(QtCore.QSize(0, 20))
        self.horizontalSlider_bar_zoom.setMaximum(30)
        self.horizontalSlider_bar_zoom.setOrientation(QtCore.Qt.Horizontal)
        self.horizontalSlider_bar_zoom.setInvertedAppearance(True)
        self.horizontalSlider_bar_zoom.setObjectName(_fromUtf8("horizontalSlider_bar_zoom"))
        self.horizontalLayout_3.addWidget(self.horizontalSlider_bar_zoom)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem1)
        self.label_view_date = QtGui.QLabel(self.frame_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_view_date.sizePolicy().hasHeightForWidth())
        self.label_view_date.setSizePolicy(sizePolicy)
        self.label_view_date.setMinimumSize(QtCore.QSize(0, 20))
        self.label_view_date.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_view_date.setObjectName(_fromUtf8("label_view_date"))
        self.horizontalLayout_3.addWidget(self.label_view_date)
        self.verticalLayout_2.addWidget(self.frame_3)
        self.mpl = MplWidget(self.tab_backtest_view)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.mpl.sizePolicy().hasHeightForWidth())
        self.mpl.setSizePolicy(sizePolicy)
        self.mpl.setObjectName(_fromUtf8("mpl"))
        self.verticalLayout_2.addWidget(self.mpl)
        self.horizontalScrollBar_range_bar = QtGui.QScrollBar(self.tab_backtest_view)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.horizontalScrollBar_range_bar.sizePolicy().hasHeightForWidth())
        self.horizontalScrollBar_range_bar.setSizePolicy(sizePolicy)
        self.horizontalScrollBar_range_bar.setMinimumSize(QtCore.QSize(0, 20))
        font = QtGui.QFont()
        font.setPointSize(11)
        self.horizontalScrollBar_range_bar.setFont(font)
        self.horizontalScrollBar_range_bar.setProperty("value", 99)
        self.horizontalScrollBar_range_bar.setSliderPosition(99)
        self.horizontalScrollBar_range_bar.setOrientation(QtCore.Qt.Horizontal)
        self.horizontalScrollBar_range_bar.setInvertedAppearance(False)
        self.horizontalScrollBar_range_bar.setInvertedControls(False)
        self.horizontalScrollBar_range_bar.setObjectName(_fromUtf8("horizontalScrollBar_range_bar"))
        self.verticalLayout_2.addWidget(self.horizontalScrollBar_range_bar)
        self.horizontalLayout_2.addLayout(self.verticalLayout_2)
        self.tabWidget.addTab(self.tab_backtest_view, _fromUtf8(""))
        self.verticalLayout.addWidget(self.tabWidget)
        self.horizontalLayout.addLayout(self.verticalLayout)
        MainWindow.setCentralWidget(self.centralwidget)
        self.actionSetup_Run = QtGui.QAction(MainWindow)
        self.actionSetup_Run.setObjectName(_fromUtf8("actionSetup_Run"))
        self.actionView = QtGui.QAction(MainWindow)
        self.actionView.setObjectName(_fromUtf8("actionView"))

        self.retranslateUi(MainWindow)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
Esempio n. 54
0
    def setupUi(self, MplMainWindow):
        MplMainWindow.setObjectName(_fromUtf8("MplMainWindow"))
        MplMainWindow.resize(690, 431)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(MplMainWindow.sizePolicy().hasHeightForWidth())
        MplMainWindow.setSizePolicy(sizePolicy)
        MplMainWindow.setWindowTitle(QtGui.QApplication.translate("MplMainWindow", "Diffusion Simulator", None, QtGui.QApplication.UnicodeUTF8))
        self.centralwidget = QtGui.QWidget(MplMainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.centralwidget)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.mpl = MplWidget(self.centralwidget)
        self.mpl.setObjectName(_fromUtf8("mpl"))
        self.horizontalLayout.addWidget(self.mpl)
        self.frame = QtGui.QFrame(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame.sizePolicy().hasHeightForWidth())
        self.frame.setSizePolicy(sizePolicy)
        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"))
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.frame_4 = QtGui.QFrame(self.frame)
        self.frame_4.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame_4.setFrameShadow(QtGui.QFrame.Raised)
        self.frame_4.setObjectName(_fromUtf8("frame_4"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.frame_4)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.label_7 = QtGui.QLabel(self.frame_4)
        self.label_7.setText(QtGui.QApplication.translate("MplMainWindow", "Physical parameters", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.verticalLayout_5.addWidget(self.label_7)
        self.formLayout_2 = QtGui.QFormLayout()
        self.formLayout_2.setObjectName(_fromUtf8("formLayout_2"))
        self.label_8 = QtGui.QLabel(self.frame_4)
        self.label_8.setText(QtGui.QApplication.translate("MplMainWindow", "Box size", None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.formLayout_2.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_8)
        self.lineEdit_L = QtGui.QLineEdit(self.frame_4)
        self.lineEdit_L.setText(QtGui.QApplication.translate("MplMainWindow", "1.", None, QtGui.QApplication.UnicodeUTF8))
        self.lineEdit_L.setObjectName(_fromUtf8("lineEdit_L"))
        self.formLayout_2.setWidget(0, QtGui.QFormLayout.FieldRole, self.lineEdit_L)
        self.label_9 = QtGui.QLabel(self.frame_4)
        self.label_9.setText(QtGui.QApplication.translate("MplMainWindow", "Diffusion coefficient", None, QtGui.QApplication.UnicodeUTF8))
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_9)
        self.lineEdit_D = QtGui.QLineEdit(self.frame_4)
        self.lineEdit_D.setText(QtGui.QApplication.translate("MplMainWindow", "1.", None, QtGui.QApplication.UnicodeUTF8))
        self.lineEdit_D.setObjectName(_fromUtf8("lineEdit_D"))
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.FieldRole, self.lineEdit_D)
        self.verticalLayout_5.addLayout(self.formLayout_2)
        self.verticalLayout.addWidget(self.frame_4)
        self.frame_3 = QtGui.QFrame(self.frame)
        self.frame_3.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame_3.setFrameShadow(QtGui.QFrame.Raised)
        self.frame_3.setObjectName(_fromUtf8("frame_3"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.frame_3)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.label_5 = QtGui.QLabel(self.frame_3)
        self.label_5.setText(QtGui.QApplication.translate("MplMainWindow", "Run parameters", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.verticalLayout_4.addWidget(self.label_5)
        self.formLayout = QtGui.QFormLayout()
        self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.ExpandingFieldsGrow)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.label_2 = QtGui.QLabel(self.frame_3)
        self.label_2.setText(QtGui.QApplication.translate("MplMainWindow", "Simulation time", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_2)
        self.lineEdit_timemax = QtGui.QLineEdit(self.frame_3)
        self.lineEdit_timemax.setText(QtGui.QApplication.translate("MplMainWindow", "1", None, QtGui.QApplication.UnicodeUTF8))
        self.lineEdit_timemax.setObjectName(_fromUtf8("lineEdit_timemax"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.lineEdit_timemax)
        self.label = QtGui.QLabel(self.frame_3)
        self.label.setText(QtGui.QApplication.translate("MplMainWindow", "nx", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setObjectName(_fromUtf8("label"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label)
        self.label_3 = QtGui.QLabel(self.frame_3)
        self.label_3.setText(QtGui.QApplication.translate("MplMainWindow", "ny", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_3)
        self.lineEdit_nx = QtGui.QLineEdit(self.frame_3)
        self.lineEdit_nx.setText(QtGui.QApplication.translate("MplMainWindow", "50", None, QtGui.QApplication.UnicodeUTF8))
        self.lineEdit_nx.setObjectName(_fromUtf8("lineEdit_nx"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.lineEdit_nx)
        self.lineEdit_ny = QtGui.QLineEdit(self.frame_3)
        self.lineEdit_ny.setText(QtGui.QApplication.translate("MplMainWindow", "50", None, QtGui.QApplication.UnicodeUTF8))
        self.lineEdit_ny.setObjectName(_fromUtf8("lineEdit_ny"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.lineEdit_ny)
        self.verticalLayout_4.addLayout(self.formLayout)
        self.verticalLayout.addWidget(self.frame_3)
        self.frame_2 = QtGui.QFrame(self.frame)
        self.frame_2.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame_2.setFrameShadow(QtGui.QFrame.Raised)
        self.frame_2.setObjectName(_fromUtf8("frame_2"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.frame_2)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.label_6 = QtGui.QLabel(self.frame_2)
        self.label_6.setText(QtGui.QApplication.translate("MplMainWindow", "Initialization", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.verticalLayout_3.addWidget(self.label_6)
        self.radioButton_pointsource = QtGui.QRadioButton(self.frame_2)
        self.radioButton_pointsource.setText(QtGui.QApplication.translate("MplMainWindow", "Point source", None, QtGui.QApplication.UnicodeUTF8))
        self.radioButton_pointsource.setChecked(True)
        self.radioButton_pointsource.setObjectName(_fromUtf8("radioButton_pointsource"))
        self.verticalLayout_3.addWidget(self.radioButton_pointsource)
        self.radioButton_step = QtGui.QRadioButton(self.frame_2)
        self.radioButton_step.setText(QtGui.QApplication.translate("MplMainWindow", "Step", None, QtGui.QApplication.UnicodeUTF8))
        self.radioButton_step.setObjectName(_fromUtf8("radioButton_step"))
        self.verticalLayout_3.addWidget(self.radioButton_step)
        self.radioButton_cross = QtGui.QRadioButton(self.frame_2)
        self.radioButton_cross.setText(QtGui.QApplication.translate("MplMainWindow", "Cross", None, QtGui.QApplication.UnicodeUTF8))
        self.radioButton_cross.setObjectName(_fromUtf8("radioButton_cross"))
        self.verticalLayout_3.addWidget(self.radioButton_cross)
        self.verticalLayout.addWidget(self.frame_2)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem1)
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.pushButton_run = QtGui.QPushButton(self.frame)
        self.pushButton_run.setText(QtGui.QApplication.translate("MplMainWindow", "Run Simulation", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_run.setObjectName(_fromUtf8("pushButton_run"))
        self.gridLayout.addWidget(self.pushButton_run, 0, 0, 1, 1)
        self.pushButton_close = QtGui.QPushButton(self.frame)
        self.pushButton_close.setText(QtGui.QApplication.translate("MplMainWindow", "Close", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_close.setObjectName(_fromUtf8("pushButton_close"))
        self.gridLayout.addWidget(self.pushButton_close, 1, 1, 1, 1)
        self.pushButton_stop = QtGui.QPushButton(self.frame)
        self.pushButton_stop.setText(QtGui.QApplication.translate("MplMainWindow", "Stop Simulation", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_stop.setObjectName(_fromUtf8("pushButton_stop"))
        self.gridLayout.addWidget(self.pushButton_stop, 0, 1, 1, 1)
        self.pushButton_clear = QtGui.QPushButton(self.frame)
        self.pushButton_clear.setText(QtGui.QApplication.translate("MplMainWindow", "Clear graph", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_clear.setObjectName(_fromUtf8("pushButton_clear"))
        self.gridLayout.addWidget(self.pushButton_clear, 1, 0, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.horizontalLayout.addWidget(self.frame)
        self.verticalLayout_2.addLayout(self.horizontalLayout)
        self.label_4 = QtGui.QLabel(self.centralwidget)
        font = QtGui.QFont()
        font.setPointSize(8)
        self.label_4.setFont(font)
        self.label_4.setText(QtGui.QApplication.translate("MplMainWindow", "Copyleft Yannick Hallez, Chemical Engineering Laboratory (LGC) and University of Toulouse", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.verticalLayout_2.addWidget(self.label_4)
        self.horizontalLayout_2.addLayout(self.verticalLayout_2)
        MplMainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MplMainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 690, 21))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        MplMainWindow.setMenuBar(self.menubar)

        self.retranslateUi(MplMainWindow)
        QtCore.QObject.connect(self.pushButton_close, QtCore.SIGNAL(_fromUtf8("clicked()")), MplMainWindow.close)
        QtCore.QObject.connect(self.pushButton_run, QtCore.SIGNAL(_fromUtf8("clicked()")), MplMainWindow.run)
        QtCore.QObject.connect(self.pushButton_stop, QtCore.SIGNAL(_fromUtf8("clicked()")), MplMainWindow.stop)
        QtCore.QObject.connect(self.pushButton_clear, QtCore.SIGNAL(_fromUtf8("clicked()")), MplMainWindow.clear)
        QtCore.QMetaObject.connectSlotsByName(MplMainWindow)
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(752, 790)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.centralwidget)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.verticalLayout_6 = QtGui.QVBoxLayout()
        self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6"))
        self.groupBox_graphic = QtGui.QGroupBox(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_graphic.sizePolicy().hasHeightForWidth())
        self.groupBox_graphic.setSizePolicy(sizePolicy)
        self.groupBox_graphic.setMinimumSize(QtCore.QSize(0, 200))
        self.groupBox_graphic.setObjectName(_fromUtf8("groupBox_graphic"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.groupBox_graphic)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.mplWidget = MplWidget(self.groupBox_graphic)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.mplWidget.sizePolicy().hasHeightForWidth())
        self.mplWidget.setSizePolicy(sizePolicy)
        self.mplWidget.setObjectName(_fromUtf8("mplWidget"))
        self.verticalLayout_4.addWidget(self.mplWidget)
        self.verticalLayout_6.addWidget(self.groupBox_graphic)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label_saturation = QtGui.QLabel(self.centralwidget)
        self.label_saturation.setObjectName(_fromUtf8("label_saturation"))
        self.horizontalLayout.addWidget(self.label_saturation)
        self.slider_saturation = QtGui.QSlider(self.centralwidget)
        self.slider_saturation.setOrientation(QtCore.Qt.Horizontal)
        self.slider_saturation.setObjectName(_fromUtf8("slider_saturation"))
        self.horizontalLayout.addWidget(self.slider_saturation)
        self.label_percent_value = QtGui.QLabel(self.centralwidget)
        self.label_percent_value.setMinimumSize(QtCore.QSize(18, 0))
        self.label_percent_value.setToolTip(_fromUtf8(""))
        self.label_percent_value.setStatusTip(_fromUtf8(""))
        self.label_percent_value.setLineWidth(2)
        self.label_percent_value.setMidLineWidth(2)
        self.label_percent_value.setText(_fromUtf8("0"))
        self.label_percent_value.setTextFormat(QtCore.Qt.AutoText)
        self.label_percent_value.setScaledContents(True)
        self.label_percent_value.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_percent_value.setMargin(0)
        self.label_percent_value.setObjectName(_fromUtf8("label_percent_value"))
        self.horizontalLayout.addWidget(self.label_percent_value)
        self.label_percent_symbol = QtGui.QLabel(self.centralwidget)
        self.label_percent_symbol.setToolTip(_fromUtf8(""))
        self.label_percent_symbol.setStatusTip(_fromUtf8(""))
        self.label_percent_symbol.setObjectName(_fromUtf8("label_percent_symbol"))
        self.horizontalLayout.addWidget(self.label_percent_symbol)
        self.verticalLayout_6.addLayout(self.horizontalLayout)
        self.textBrowser = QtGui.QTextBrowser(self.centralwidget)
        self.textBrowser.setMaximumSize(QtCore.QSize(16777215, 200))
        self.textBrowser.setObjectName(_fromUtf8("textBrowser"))
        self.verticalLayout_6.addWidget(self.textBrowser)
        self.horizontalLayout_2.addLayout(self.verticalLayout_6)
        self.verticalLayout_5 = QtGui.QVBoxLayout()
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.groupBox_state = QtGui.QGroupBox(self.centralwidget)
        self.groupBox_state.setMaximumSize(QtCore.QSize(300, 16777215))
        self.groupBox_state.setObjectName(_fromUtf8("groupBox_state"))
        self.verticalLayout_7 = QtGui.QVBoxLayout(self.groupBox_state)
        self.verticalLayout_7.setObjectName(_fromUtf8("verticalLayout_7"))
        self.lineEdit_state = QtGui.QLineEdit(self.groupBox_state)
        self.lineEdit_state.setEnabled(False)
        self.lineEdit_state.setAlignment(QtCore.Qt.AlignCenter)
        self.lineEdit_state.setObjectName(_fromUtf8("lineEdit_state"))
        self.verticalLayout_7.addWidget(self.lineEdit_state)
        self.pushButton_connect = QtGui.QPushButton(self.groupBox_state)
        self.pushButton_connect.setCheckable(True)
        self.pushButton_connect.setObjectName(_fromUtf8("pushButton_connect"))
        self.verticalLayout_7.addWidget(self.pushButton_connect)
        self.verticalLayout_5.addWidget(self.groupBox_state)
        self.groupBox_links = QtGui.QGroupBox(self.centralwidget)
        self.groupBox_links.setMaximumSize(QtCore.QSize(300, 16777215))
        self.groupBox_links.setObjectName(_fromUtf8("groupBox_links"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.groupBox_links)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.listWidget_link = QtGui.QListWidget(self.groupBox_links)
        self.listWidget_link.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.listWidget_link.setObjectName(_fromUtf8("listWidget_link"))
        self.verticalLayout_3.addWidget(self.listWidget_link)
        self.pushButton_reload = QtGui.QPushButton(self.groupBox_links)
        self.pushButton_reload.setEnabled(False)
        self.pushButton_reload.setObjectName(_fromUtf8("pushButton_reload"))
        self.verticalLayout_3.addWidget(self.pushButton_reload)
        self.verticalLayout_5.addWidget(self.groupBox_links)
        self.groupBox_options = QtGui.QGroupBox(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_options.sizePolicy().hasHeightForWidth())
        self.groupBox_options.setSizePolicy(sizePolicy)
        self.groupBox_options.setMaximumSize(QtCore.QSize(300, 16777215))
        self.groupBox_options.setObjectName(_fromUtf8("groupBox_options"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox_options)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.formLayout_2 = QtGui.QFormLayout()
        self.formLayout_2.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout_2.setObjectName(_fromUtf8("formLayout_2"))
        self.textBrowser_color_r = QtGui.QTextBrowser(self.groupBox_options)
        self.textBrowser_color_r.setMaximumSize(QtCore.QSize(15, 15))
        self.textBrowser_color_r.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.textBrowser_color_r.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.textBrowser_color_r.setObjectName(_fromUtf8("textBrowser_color_r"))
        self.formLayout_2.setWidget(0, QtGui.QFormLayout.LabelRole, self.textBrowser_color_r)
        self.checkBox_R = QtGui.QCheckBox(self.groupBox_options)
        self.checkBox_R.setChecked(True)
        self.checkBox_R.setTristate(False)
        self.checkBox_R.setObjectName(_fromUtf8("checkBox_R"))
        self.formLayout_2.setWidget(0, QtGui.QFormLayout.FieldRole, self.checkBox_R)
        self.checkBox_U = QtGui.QCheckBox(self.groupBox_options)
        self.checkBox_U.setChecked(True)
        self.checkBox_U.setObjectName(_fromUtf8("checkBox_U"))
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.FieldRole, self.checkBox_U)
        self.textBrowser_color_u = QtGui.QTextBrowser(self.groupBox_options)
        self.textBrowser_color_u.setMaximumSize(QtCore.QSize(15, 15))
        self.textBrowser_color_u.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.textBrowser_color_u.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.textBrowser_color_u.setObjectName(_fromUtf8("textBrowser_color_u"))
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.LabelRole, self.textBrowser_color_u)
        self.checkBox_x1 = QtGui.QCheckBox(self.groupBox_options)
        self.checkBox_x1.setChecked(True)
        self.checkBox_x1.setObjectName(_fromUtf8("checkBox_x1"))
        self.formLayout_2.setWidget(2, QtGui.QFormLayout.FieldRole, self.checkBox_x1)
        self.textBrowser_color_x1 = QtGui.QTextBrowser(self.groupBox_options)
        self.textBrowser_color_x1.setMaximumSize(QtCore.QSize(15, 15))
        self.textBrowser_color_x1.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.textBrowser_color_x1.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.textBrowser_color_x1.setObjectName(_fromUtf8("textBrowser_color_x1"))
        self.formLayout_2.setWidget(2, QtGui.QFormLayout.LabelRole, self.textBrowser_color_x1)
        self.checkBox_x0 = QtGui.QCheckBox(self.groupBox_options)
        self.checkBox_x0.setChecked(True)
        self.checkBox_x0.setObjectName(_fromUtf8("checkBox_x0"))
        self.formLayout_2.setWidget(3, QtGui.QFormLayout.FieldRole, self.checkBox_x0)
        self.textBrowser_color_x0 = QtGui.QTextBrowser(self.groupBox_options)
        self.textBrowser_color_x0.setMaximumSize(QtCore.QSize(15, 15))
        self.textBrowser_color_x0.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.textBrowser_color_x0.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.textBrowser_color_x0.setObjectName(_fromUtf8("textBrowser_color_x0"))
        self.formLayout_2.setWidget(3, QtGui.QFormLayout.LabelRole, self.textBrowser_color_x0)
        self.verticalLayout_2.addLayout(self.formLayout_2)
        self.pushButton_monitor = QtGui.QPushButton(self.groupBox_options)
        self.pushButton_monitor.setEnabled(False)
        self.pushButton_monitor.setCheckable(True)
        self.pushButton_monitor.setChecked(False)
        self.pushButton_monitor.setAutoDefault(False)
        self.pushButton_monitor.setDefault(False)
        self.pushButton_monitor.setFlat(False)
        self.pushButton_monitor.setObjectName(_fromUtf8("pushButton_monitor"))
        self.verticalLayout_2.addWidget(self.pushButton_monitor)
        self.pushButton_clear = QtGui.QPushButton(self.groupBox_options)
        self.pushButton_clear.setEnabled(True)
        self.pushButton_clear.setObjectName(_fromUtf8("pushButton_clear"))
        self.verticalLayout_2.addWidget(self.pushButton_clear)
        self.verticalLayout_5.addWidget(self.groupBox_options)
        self.groupBox_statistics = QtGui.QGroupBox(self.centralwidget)
        self.groupBox_statistics.setMaximumSize(QtCore.QSize(300, 16777215))
        self.groupBox_statistics.setObjectName(_fromUtf8("groupBox_statistics"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox_statistics)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.formLayout = QtGui.QFormLayout()
        self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.label_C = QtGui.QLabel(self.groupBox_statistics)
        self.label_C.setObjectName(_fromUtf8("label_C"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_C)
        self.label_C_value = QtGui.QLabel(self.groupBox_statistics)
        self.label_C_value.setMinimumSize(QtCore.QSize(50, 0))
        self.label_C_value.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_C_value.setObjectName(_fromUtf8("label_C_value"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.label_C_value)
        self.label_A = QtGui.QLabel(self.groupBox_statistics)
        self.label_A.setObjectName(_fromUtf8("label_A"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_A)
        self.label_A_value = QtGui.QLabel(self.groupBox_statistics)
        self.label_A_value.setMinimumSize(QtCore.QSize(50, 0))
        self.label_A_value.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_A_value.setObjectName(_fromUtf8("label_A_value"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.label_A_value)
        self.label_S = QtGui.QLabel(self.groupBox_statistics)
        self.label_S.setObjectName(_fromUtf8("label_S"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_S)
        self.label_S_value = QtGui.QLabel(self.groupBox_statistics)
        self.label_S_value.setMinimumSize(QtCore.QSize(50, 0))
        self.label_S_value.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_S_value.setObjectName(_fromUtf8("label_S_value"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.label_S_value)
        self.label_T = QtGui.QLabel(self.groupBox_statistics)
        self.label_T.setObjectName(_fromUtf8("label_T"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_T)
        self.label_T_value = QtGui.QLabel(self.groupBox_statistics)
        self.label_T_value.setMinimumSize(QtCore.QSize(50, 0))
        self.label_T_value.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_T_value.setObjectName(_fromUtf8("label_T_value"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.label_T_value)
        self.label_samples = QtGui.QLabel(self.groupBox_statistics)
        self.label_samples.setObjectName(_fromUtf8("label_samples"))
        self.formLayout.setWidget(5, QtGui.QFormLayout.LabelRole, self.label_samples)
        self.label_samples_value = QtGui.QLabel(self.groupBox_statistics)
        self.label_samples_value.setMinimumSize(QtCore.QSize(50, 0))
        self.label_samples_value.setLineWidth(1)
        self.label_samples_value.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_samples_value.setObjectName(_fromUtf8("label_samples_value"))
        self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole, self.label_samples_value)
        self.label_rx_buff = QtGui.QLabel(self.groupBox_statistics)
        self.label_rx_buff.setObjectName(_fromUtf8("label_rx_buff"))
        self.formLayout.setWidget(6, QtGui.QFormLayout.LabelRole, self.label_rx_buff)
        self.label_rx_buff_value = QtGui.QLabel(self.groupBox_statistics)
        self.label_rx_buff_value.setMinimumSize(QtCore.QSize(50, 0))
        self.label_rx_buff_value.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_rx_buff_value.setObjectName(_fromUtf8("label_rx_buff_value"))
        self.formLayout.setWidget(6, QtGui.QFormLayout.FieldRole, self.label_rx_buff_value)
        self.label_fps = QtGui.QLabel(self.groupBox_statistics)
        self.label_fps.setObjectName(_fromUtf8("label_fps"))
        self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_fps)
        self.label_fps_value = QtGui.QLabel(self.groupBox_statistics)
        self.label_fps_value.setMinimumSize(QtCore.QSize(50, 0))
        self.label_fps_value.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_fps_value.setObjectName(_fromUtf8("label_fps_value"))
        self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.label_fps_value)
        self.label_Est = QtGui.QLabel(self.groupBox_statistics)
        self.label_Est.setObjectName(_fromUtf8("label_Est"))
        self.formLayout.setWidget(7, QtGui.QFormLayout.LabelRole, self.label_Est)
        self.label_Est_value = QtGui.QLabel(self.groupBox_statistics)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Courier New"))
        self.label_Est_value.setFont(font)
        self.label_Est_value.setAlignment(QtCore.Qt.AlignCenter)
        self.label_Est_value.setObjectName(_fromUtf8("label_Est_value"))
        self.formLayout.setWidget(7, QtGui.QFormLayout.FieldRole, self.label_Est_value)
        self.verticalLayout.addLayout(self.formLayout)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.verticalLayout_5.addWidget(self.groupBox_statistics)
        self.horizontalLayout_2.addLayout(self.verticalLayout_5)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 752, 25))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        self.menuPreferencies = QtGui.QMenu(self.menubar)
        self.menuPreferencies.setObjectName(_fromUtf8("menuPreferencies"))
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        MainWindow.setStatusBar(self.statusbar)
        self.actionPC_Controlador = QtGui.QAction(MainWindow)
        self.actionPC_Controlador.setCheckable(True)
        self.actionPC_Controlador.setChecked(True)
        self.actionPC_Controlador.setEnabled(False)
        self.actionPC_Controlador.setIconVisibleInMenu(False)
        self.actionPC_Controlador.setObjectName(_fromUtf8("actionPC_Controlador"))
        self.actionPC_Sensor_Actuador = QtGui.QAction(MainWindow)
        self.actionPC_Sensor_Actuador.setCheckable(True)
        self.actionPC_Sensor_Actuador.setObjectName(_fromUtf8("actionPC_Sensor_Actuador"))
        self.actionPC_Monitor = QtGui.QAction(MainWindow)
        self.actionPC_Monitor.setCheckable(True)
        self.actionPC_Monitor.setChecked(True)
        self.actionPC_Monitor.setEnabled(False)
        self.actionPC_Monitor.setObjectName(_fromUtf8("actionPC_Monitor"))
        self.actionCatala = QtGui.QAction(MainWindow)
        self.actionCatala.setCheckable(True)
        self.actionCatala.setChecked(False)
        self.actionCatala.setEnabled(True)
        self.actionCatala.setWhatsThis(_fromUtf8(""))
        self.actionCatala.setShortcut(_fromUtf8(""))
        self.actionCatala.setObjectName(_fromUtf8("actionCatala"))
        self.actionEspanol = QtGui.QAction(MainWindow)
        self.actionEspanol.setCheckable(True)
        self.actionEspanol.setEnabled(True)
        self.actionEspanol.setWhatsThis(_fromUtf8(""))
        self.actionEspanol.setShortcut(_fromUtf8(""))
        self.actionEspanol.setObjectName(_fromUtf8("actionEspanol"))
        self.actionEnglish = QtGui.QAction(MainWindow)
        self.actionEnglish.setCheckable(True)
        self.actionEnglish.setChecked(True)
        self.actionEnglish.setEnabled(False)
        self.actionEnglish.setWhatsThis(_fromUtf8(""))
        self.actionEnglish.setShortcut(_fromUtf8(""))
        self.actionEnglish.setIconVisibleInMenu(True)
        self.actionEnglish.setObjectName(_fromUtf8("actionEnglish"))
        self.actionFrench = QtGui.QAction(MainWindow)
        self.actionFrench.setCheckable(True)
        self.actionFrench.setWhatsThis(_fromUtf8(""))
        self.actionFrench.setShortcut(_fromUtf8(""))
        self.actionFrench.setIconVisibleInMenu(True)
        self.actionFrench.setObjectName(_fromUtf8("actionFrench"))
        self.menuPreferencies.addSeparator()
        self.menuPreferencies.addAction(self.actionPC_Sensor_Actuador)
        self.menuPreferencies.addAction(self.actionPC_Monitor)
        self.menuPreferencies.addSeparator()
        self.menuPreferencies.addAction(self.actionCatala)
        self.menuPreferencies.addAction(self.actionEspanol)
        self.menuPreferencies.addAction(self.actionEnglish)
        self.menuPreferencies.addAction(self.actionFrench)
        self.menuPreferencies.addSeparator()
        self.menubar.addAction(self.menuPreferencies.menuAction())

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
Esempio n. 56
0
    def setupUi(self, Form):
        Form.setObjectName(_fromUtf8("Form"))
        Form.resize(753, 498)
        Form.setWindowTitle(QtGui.QApplication.translate("Form", "Form", None, QtGui.QApplication.UnicodeUTF8))
        self.horizontalLayout_3 = QtGui.QHBoxLayout(Form)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalLayout_9 = QtGui.QHBoxLayout()
        self.horizontalLayout_9.setObjectName(_fromUtf8("horizontalLayout_9"))
        self.label_11 = QtGui.QLabel(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_11.sizePolicy().hasHeightForWidth())
        self.label_11.setSizePolicy(sizePolicy)
        self.label_11.setText(QtGui.QApplication.translate("Form", "X Axis:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_11.setAlignment(QtCore.Qt.AlignCenter)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.horizontalLayout_9.addWidget(self.label_11)
        self.x_unit_type_box = QtGui.QComboBox(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.x_unit_type_box.sizePolicy().hasHeightForWidth())
        self.x_unit_type_box.setSizePolicy(sizePolicy)
        self.x_unit_type_box.setObjectName(_fromUtf8("x_unit_type_box"))
        self.x_unit_type_box.addItem(_fromUtf8(""))
        self.x_unit_type_box.setItemText(0, QtGui.QApplication.translate("Form", "Wavelength", None, QtGui.QApplication.UnicodeUTF8))
        self.x_unit_type_box.addItem(_fromUtf8(""))
        self.x_unit_type_box.setItemText(1, QtGui.QApplication.translate("Form", "Wavenumber", None, QtGui.QApplication.UnicodeUTF8))
        self.x_unit_type_box.addItem(_fromUtf8(""))
        self.x_unit_type_box.setItemText(2, QtGui.QApplication.translate("Form", "Energy", None, QtGui.QApplication.UnicodeUTF8))
        self.horizontalLayout_9.addWidget(self.x_unit_type_box)
        self.label_12 = QtGui.QLabel(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_12.sizePolicy().hasHeightForWidth())
        self.label_12.setSizePolicy(sizePolicy)
        self.label_12.setText(QtGui.QApplication.translate("Form", "in", None, QtGui.QApplication.UnicodeUTF8))
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.horizontalLayout_9.addWidget(self.label_12)
        self.stackedWidget = QtGui.QStackedWidget(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.stackedWidget.sizePolicy().hasHeightForWidth())
        self.stackedWidget.setSizePolicy(sizePolicy)
        self.stackedWidget.setObjectName(_fromUtf8("stackedWidget"))
        self.page_3 = QtGui.QWidget()
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.page_3.sizePolicy().hasHeightForWidth())
        self.page_3.setSizePolicy(sizePolicy)
        self.page_3.setObjectName(_fromUtf8("page_3"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.page_3)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.wavelength_units = QtGui.QComboBox(self.page_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.wavelength_units.sizePolicy().hasHeightForWidth())
        self.wavelength_units.setSizePolicy(sizePolicy)
        self.wavelength_units.setObjectName(_fromUtf8("wavelength_units"))
        self.wavelength_units.addItem(_fromUtf8(""))
        self.wavelength_units.setItemText(0, QtGui.QApplication.translate("Form", "Nanometres", None, QtGui.QApplication.UnicodeUTF8))
        self.wavelength_units.addItem(_fromUtf8(""))
        self.wavelength_units.setItemText(1, QtGui.QApplication.translate("Form", "Metres", None, QtGui.QApplication.UnicodeUTF8))
        self.wavelength_units.addItem(_fromUtf8(""))
        self.wavelength_units.setItemText(2, QtGui.QApplication.translate("Form", "Angstroms", None, QtGui.QApplication.UnicodeUTF8))
        self.wavelength_units.addItem(_fromUtf8(""))
        self.wavelength_units.setItemText(3, QtGui.QApplication.translate("Form", "Furlongs", None, QtGui.QApplication.UnicodeUTF8))
        self.horizontalLayout_2.addWidget(self.wavelength_units)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.stackedWidget.addWidget(self.page_3)
        self.page = QtGui.QWidget()
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.page.sizePolicy().hasHeightForWidth())
        self.page.setSizePolicy(sizePolicy)
        self.page.setObjectName(_fromUtf8("page"))
        self.horizontalLayout_6 = QtGui.QHBoxLayout(self.page)
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.wavenumber_units = QtGui.QComboBox(self.page)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.wavenumber_units.sizePolicy().hasHeightForWidth())
        self.wavenumber_units.setSizePolicy(sizePolicy)
        self.wavenumber_units.setObjectName(_fromUtf8("wavenumber_units"))
        self.wavenumber_units.addItem(_fromUtf8(""))
        self.wavenumber_units.setItemText(0, QtGui.QApplication.translate("Form", "Inverse Nanometres", None, QtGui.QApplication.UnicodeUTF8))
        self.wavenumber_units.addItem(_fromUtf8(""))
        self.wavenumber_units.setItemText(1, QtGui.QApplication.translate("Form", "Inverse Metres", None, QtGui.QApplication.UnicodeUTF8))
        self.wavenumber_units.addItem(_fromUtf8(""))
        self.wavenumber_units.setItemText(2, QtGui.QApplication.translate("Form", "Inverse Angstroms", None, QtGui.QApplication.UnicodeUTF8))
        self.wavenumber_units.addItem(_fromUtf8(""))
        self.wavenumber_units.setItemText(3, QtGui.QApplication.translate("Form", "Inverse Furlongs", None, QtGui.QApplication.UnicodeUTF8))
        self.horizontalLayout_6.addWidget(self.wavenumber_units)
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_6.addItem(spacerItem1)
        self.stackedWidget.addWidget(self.page)
        self.page_2 = QtGui.QWidget()
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.page_2.sizePolicy().hasHeightForWidth())
        self.page_2.setSizePolicy(sizePolicy)
        self.page_2.setObjectName(_fromUtf8("page_2"))
        self.horizontalLayout_11 = QtGui.QHBoxLayout(self.page_2)
        self.horizontalLayout_11.setObjectName(_fromUtf8("horizontalLayout_11"))
        self.energy_units = QtGui.QComboBox(self.page_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.energy_units.sizePolicy().hasHeightForWidth())
        self.energy_units.setSizePolicy(sizePolicy)
        self.energy_units.setObjectName(_fromUtf8("energy_units"))
        self.energy_units.addItem(_fromUtf8(""))
        self.energy_units.setItemText(0, QtGui.QApplication.translate("Form", "Electron Volts", None, QtGui.QApplication.UnicodeUTF8))
        self.energy_units.addItem(_fromUtf8(""))
        self.energy_units.setItemText(1, QtGui.QApplication.translate("Form", "Joules", None, QtGui.QApplication.UnicodeUTF8))
        self.horizontalLayout_11.addWidget(self.energy_units)
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_11.addItem(spacerItem2)
        self.stackedWidget.addWidget(self.page_2)
        self.horizontalLayout_9.addWidget(self.stackedWidget)
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_9.addItem(spacerItem3)
        self.label = QtGui.QLabel(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setText(QtGui.QApplication.translate("Form", "Y Axis from", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout_9.addWidget(self.label)
        self.lowerY = QtGui.QDoubleSpinBox(Form)
        self.lowerY.setDecimals(1)
        self.lowerY.setMaximum(70000.0)
        self.lowerY.setObjectName(_fromUtf8("lowerY"))
        self.horizontalLayout_9.addWidget(self.lowerY)
        self.label_2 = QtGui.QLabel(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
        self.label_2.setSizePolicy(sizePolicy)
        self.label_2.setText(QtGui.QApplication.translate("Form", "to", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.horizontalLayout_9.addWidget(self.label_2)
        self.upperY = QtGui.QDoubleSpinBox(Form)
        self.upperY.setDecimals(1)
        self.upperY.setMaximum(70000.0)
        self.upperY.setSingleStep(100.0)
        self.upperY.setProperty("value", 10.0)
        self.upperY.setObjectName(_fromUtf8("upperY"))
        self.horizontalLayout_9.addWidget(self.upperY)
        self.verticalLayout.addLayout(self.horizontalLayout_9)
        self.mplWidget = MplWidget(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.mplWidget.sizePolicy().hasHeightForWidth())
        self.mplWidget.setSizePolicy(sizePolicy)
        self.mplWidget.setMinimumSize(QtCore.QSize(100, 100))
        self.mplWidget.setObjectName(_fromUtf8("mplWidget"))
        self.verticalLayout.addWidget(self.mplWidget)
        self.verticalLayout_3.addLayout(self.verticalLayout)
        self.widget = QtGui.QWidget(Form)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.widget.sizePolicy().hasHeightForWidth())
        self.widget.setSizePolicy(sizePolicy)
        self.widget.setMaximumSize(QtCore.QSize(16777215, 130))
        self.widget.setObjectName(_fromUtf8("widget"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.widget)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.treeWidget = QtGui.QTreeWidget(self.widget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.treeWidget.sizePolicy().hasHeightForWidth())
        self.treeWidget.setSizePolicy(sizePolicy)
        self.treeWidget.setMaximumSize(QtCore.QSize(16777215, 16777215))
        self.treeWidget.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.treeWidget.setAlternatingRowColors(True)
        self.treeWidget.setSelectionBehavior(QtGui.QAbstractItemView.SelectItems)
        self.treeWidget.setItemsExpandable(False)
        self.treeWidget.setAnimated(False)
        self.treeWidget.setHeaderHidden(False)
        self.treeWidget.setObjectName(_fromUtf8("treeWidget"))
        self.treeWidget.headerItem().setText(0, QtGui.QApplication.translate("Form", "Label", None, QtGui.QApplication.UnicodeUTF8))
        self.treeWidget.headerItem().setText(1, QtGui.QApplication.translate("Form", "Equation", None, QtGui.QApplication.UnicodeUTF8))
        self.treeWidget.headerItem().setText(2, QtGui.QApplication.translate("Form", "Colour", None, QtGui.QApplication.UnicodeUTF8))
        self.horizontalLayout.addWidget(self.treeWidget)
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.addViewButton = QtGui.QPushButton(self.widget)
        self.addViewButton.setText(QtGui.QApplication.translate("Form", "Add view", None, QtGui.QApplication.UnicodeUTF8))
        self.addViewButton.setObjectName(_fromUtf8("addViewButton"))
        self.verticalLayout_2.addWidget(self.addViewButton)
        self.removeViewButton = QtGui.QPushButton(self.widget)
        self.removeViewButton.setText(QtGui.QApplication.translate("Form", "Remove view", None, QtGui.QApplication.UnicodeUTF8))
        self.removeViewButton.setObjectName(_fromUtf8("removeViewButton"))
        self.verticalLayout_2.addWidget(self.removeViewButton)
        spacerItem4 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem4)
        self.exportSelected = QtGui.QPushButton(self.widget)
        self.exportSelected.setText(QtGui.QApplication.translate("Form", "Export selected", None, QtGui.QApplication.UnicodeUTF8))
        self.exportSelected.setObjectName(_fromUtf8("exportSelected"))
        self.verticalLayout_2.addWidget(self.exportSelected)
        self.horizontalLayout.addLayout(self.verticalLayout_2)
        self.verticalLayout_3.addWidget(self.widget)
        self.horizontalLayout_3.addLayout(self.verticalLayout_3)

        self.retranslateUi(Form)
        self.stackedWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.x_unit_type_box, QtCore.SIGNAL(_fromUtf8("activated(int)")), self.stackedWidget.setCurrentIndex)
        QtCore.QMetaObject.connectSlotsByName(Form)
Esempio n. 57
0
    def setupUi(self, Hucha):
        Hucha.setObjectName(_fromUtf8("Hucha"))
        Hucha.resize(800, 600)
        Hucha.setWindowTitle(QtGui.QApplication.translate("Hucha", "Hucha", None, QtGui.QApplication.UnicodeUTF8))
        self.centralwidget = QtGui.QWidget(Hucha)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.combo_Tipo = QtGui.QComboBox(self.centralwidget)
        self.combo_Tipo.setGeometry(QtCore.QRect(170, 20, 111, 29))
        self.combo_Tipo.setObjectName(_fromUtf8("combo_Tipo"))
        self.combo_Tipo.addItem(_fromUtf8(""))
        self.combo_Tipo.setItemText(0, QtGui.QApplication.translate("Hucha", "Ingreso", None, QtGui.QApplication.UnicodeUTF8))
        self.combo_Tipo.addItem(_fromUtf8(""))
        self.combo_Tipo.setItemText(1, QtGui.QApplication.translate("Hucha", "Gasto", None, QtGui.QApplication.UnicodeUTF8))
        self.combo_Lugar = QtGui.QComboBox(self.centralwidget)
        self.combo_Lugar.setGeometry(QtCore.QRect(430, 20, 111, 29))
        self.combo_Lugar.setObjectName(_fromUtf8("combo_Lugar"))
        self.combo_Lugar.addItem(_fromUtf8(""))
        self.combo_Lugar.setItemText(0, QtGui.QApplication.translate("Hucha", "Banco", None, QtGui.QApplication.UnicodeUTF8))
        self.combo_Lugar.addItem(_fromUtf8(""))
        self.combo_Lugar.setItemText(1, QtGui.QApplication.translate("Hucha", "Hucha", None, QtGui.QApplication.UnicodeUTF8))
        self.dateEdit = QtGui.QDateEdit(self.centralwidget)
        self.dateEdit.setGeometry(QtCore.QRect(170, 74, 110, 29))
        self.dateEdit.setDateTime(QtCore.QDateTime(QtCore.QDate(2000, 1, 1), QtCore.QTime(0, 0, 0)))
        self.dateEdit.setObjectName(_fromUtf8("dateEdit"))
        self.label = QtGui.QLabel(self.centralwidget)
        self.label.setGeometry(QtCore.QRect(90, 20, 41, 30))
        self.label.setText(QtGui.QApplication.translate("Hucha", "Tipo:", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setObjectName(_fromUtf8("label"))
        self.label_2 = QtGui.QLabel(self.centralwidget)
        self.label_2.setGeometry(QtCore.QRect(350, 20, 51, 30))
        self.label_2.setText(QtGui.QApplication.translate("Hucha", "Lugar:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.label_3 = QtGui.QLabel(self.centralwidget)
        self.label_3.setGeometry(QtCore.QRect(90, 74, 50, 30))
        self.label_3.setText(QtGui.QApplication.translate("Hucha", "Fecha:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.label_4 = QtGui.QLabel(self.centralwidget)
        self.label_4.setGeometry(QtCore.QRect(90, 130, 90, 30))
        self.label_4.setText(QtGui.QApplication.translate("Hucha", "Comentarios:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.boton_Ok = QtGui.QPushButton(self.centralwidget)
        self.boton_Ok.setGeometry(QtCore.QRect(600, 120, 41, 41))
        self.boton_Ok.setToolTip(QtGui.QApplication.translate("Hucha", "Ingresar nuevo movimiento", None, QtGui.QApplication.UnicodeUTF8))
        self.boton_Ok.setText(_fromUtf8(""))
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8("../../../../../../usr/share/icons/Faenza/actions/32/dialog-ok.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.boton_Ok.setIcon(icon)
        self.boton_Ok.setIconSize(QtCore.QSize(32, 32))
        self.boton_Ok.setObjectName(_fromUtf8("boton_Ok"))
        self.text_Cantidad = QtGui.QTextEdit(self.centralwidget)
        self.text_Cantidad.setGeometry(QtCore.QRect(430, 74, 111, 31))
        self.text_Cantidad.setObjectName(_fromUtf8("text_Cantidad"))
        self.label_5 = QtGui.QLabel(self.centralwidget)
        self.label_5.setGeometry(QtCore.QRect(340, 80, 67, 21))
        self.label_5.setText(QtGui.QApplication.translate("Hucha", "Cantidad:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.text_Comentarios = QtGui.QTextEdit(self.centralwidget)
        self.text_Comentarios.setGeometry(QtCore.QRect(170, 130, 411, 31))
        self.text_Comentarios.setObjectName(_fromUtf8("text_Comentarios"))
        self.groupBox = QtGui.QGroupBox(self.centralwidget)
        self.groupBox.setGeometry(QtCore.QRect(580, 10, 181, 101))
        self.groupBox.setAutoFillBackground(False)
        self.groupBox.setTitle(_fromUtf8(""))
        self.groupBox.setFlat(False)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.label_6 = QtGui.QLabel(self.groupBox)
        self.label_6.setGeometry(QtCore.QRect(20, 0, 51, 30))
        self.label_6.setText(QtGui.QApplication.translate("Hucha", "Hucha:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.label_8 = QtGui.QLabel(self.groupBox)
        self.label_8.setGeometry(QtCore.QRect(20, 60, 51, 30))
        self.label_8.setText(QtGui.QApplication.translate("Hucha", "Total:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.label_Total = QtGui.QLabel(self.groupBox)
        self.label_Total.setGeometry(QtCore.QRect(100, 60, 71, 30))
        font = QtGui.QFont()
        font.setPointSize(14)
        font.setBold(True)
        font.setItalic(True)
        font.setWeight(75)
        self.label_Total.setFont(font)
        self.label_Total.setText(QtGui.QApplication.translate("Hucha", "0 €", None, QtGui.QApplication.UnicodeUTF8))
        self.label_Total.setObjectName(_fromUtf8("label_Total"))
        self.label_Banco = QtGui.QLabel(self.groupBox)
        self.label_Banco.setGeometry(QtCore.QRect(100, 30, 71, 30))
        font = QtGui.QFont()
        font.setPointSize(14)
        font.setBold(True)
        font.setItalic(True)
        font.setWeight(75)
        self.label_Banco.setFont(font)
        self.label_Banco.setText(QtGui.QApplication.translate("Hucha", "0 €", None, QtGui.QApplication.UnicodeUTF8))
        self.label_Banco.setObjectName(_fromUtf8("label_Banco"))
        self.label_7 = QtGui.QLabel(self.groupBox)
        self.label_7.setGeometry(QtCore.QRect(20, 30, 51, 30))
        self.label_7.setText(QtGui.QApplication.translate("Hucha", "Banco:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.label_Hucha = QtGui.QLabel(self.groupBox)
        self.label_Hucha.setGeometry(QtCore.QRect(100, 0, 71, 30))
        font = QtGui.QFont()
        font.setPointSize(14)
        font.setBold(True)
        font.setItalic(True)
        font.setWeight(75)
        self.label_Hucha.setFont(font)
        self.label_Hucha.setText(QtGui.QApplication.translate("Hucha", "0 €", None, QtGui.QApplication.UnicodeUTF8))
        self.label_Hucha.setObjectName(_fromUtf8("label_Hucha"))
        self.boton_Cancelar = QtGui.QPushButton(self.centralwidget)
        self.boton_Cancelar.setEnabled(False)
        self.boton_Cancelar.setGeometry(QtCore.QRect(670, 120, 41, 41))
        self.boton_Cancelar.setToolTip(QtGui.QApplication.translate("Hucha", "Cancelar edicion", None, QtGui.QApplication.UnicodeUTF8))
        self.boton_Cancelar.setText(_fromUtf8(""))
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(_fromUtf8("../../../../../../usr/share/icons/Faenza/actions/24/process-stop.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.boton_Cancelar.setIcon(icon1)
        self.boton_Cancelar.setObjectName(_fromUtf8("boton_Cancelar"))
        self.tabWidget = QtGui.QTabWidget(self.centralwidget)
        self.tabWidget.setGeometry(QtCore.QRect(10, 170, 771, 411))
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tab = QtGui.QWidget()
        self.tab.setObjectName(_fromUtf8("tab"))
        self.tableWidget = QtGui.QTableWidget(self.tab)
        self.tableWidget.setGeometry(QtCore.QRect(10, 10, 741, 301))
        self.tableWidget.setColumnCount(5)
        self.tableWidget.setObjectName(_fromUtf8("tableWidget"))
        self.tableWidget.setRowCount(0)
        item = QtGui.QTableWidgetItem()
        item.setText(QtGui.QApplication.translate("Hucha", "Tipo", None, QtGui.QApplication.UnicodeUTF8))
        self.tableWidget.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        item.setText(QtGui.QApplication.translate("Hucha", "Lugar", None, QtGui.QApplication.UnicodeUTF8))
        self.tableWidget.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        item.setText(QtGui.QApplication.translate("Hucha", "Comentarios", None, QtGui.QApplication.UnicodeUTF8))
        self.tableWidget.setHorizontalHeaderItem(2, item)
        item = QtGui.QTableWidgetItem()
        item.setText(QtGui.QApplication.translate("Hucha", "Fecha", None, QtGui.QApplication.UnicodeUTF8))
        self.tableWidget.setHorizontalHeaderItem(3, item)
        item = QtGui.QTableWidgetItem()
        item.setText(QtGui.QApplication.translate("Hucha", "Cantidad", None, QtGui.QApplication.UnicodeUTF8))
        self.tableWidget.setHorizontalHeaderItem(4, item)
        self.tableWidget.horizontalHeader().setVisible(False)
        self.tableWidget.horizontalHeader().setCascadingSectionResizes(False)
        self.boton_Editar = QtGui.QPushButton(self.tab)
        self.boton_Editar.setGeometry(QtCore.QRect(70, 320, 41, 41))
        self.boton_Editar.setToolTip(QtGui.QApplication.translate("Hucha", "Editar la entrada seleccionada (seleccione la fila completa)", None, QtGui.QApplication.UnicodeUTF8))
        self.boton_Editar.setText(_fromUtf8(""))
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(_fromUtf8("../../../../../../usr/share/icons/Faenza/actions/24/gtk-edit.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.boton_Editar.setIcon(icon2)
        self.boton_Editar.setObjectName(_fromUtf8("boton_Editar"))
        self.boton_Borrar = QtGui.QPushButton(self.tab)
        self.boton_Borrar.setGeometry(QtCore.QRect(10, 320, 41, 41))
        self.boton_Borrar.setToolTip(QtGui.QApplication.translate("Hucha", "Borrar la fila seleccionada (selecciones la fila completa)", None, QtGui.QApplication.UnicodeUTF8))
        self.boton_Borrar.setText(_fromUtf8(""))
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(_fromUtf8("../../../../../../usr/share/icons/Faenza/actions/24/editdelete.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.boton_Borrar.setIcon(icon3)
        self.boton_Borrar.setIconSize(QtCore.QSize(24, 24))
        self.boton_Borrar.setObjectName(_fromUtf8("boton_Borrar"))
        self.tabWidget.addTab(self.tab, _fromUtf8(""))
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName(_fromUtf8("tab_2"))
        self.mpl = MplWidget(self.tab_2)
        self.mpl.setGeometry(QtCore.QRect(10, 10, 741, 301))
        self.mpl.setObjectName(_fromUtf8("mpl"))
        self.boton_Hucha = QtGui.QPushButton(self.tab_2)
        self.boton_Hucha.setGeometry(QtCore.QRect(20, 320, 99, 29))
        self.boton_Hucha.setText(QtGui.QApplication.translate("Hucha", "Hucha", None, QtGui.QApplication.UnicodeUTF8))
        self.boton_Hucha.setObjectName(_fromUtf8("boton_Hucha"))
        self.boton_Banco = QtGui.QPushButton(self.tab_2)
        self.boton_Banco.setGeometry(QtCore.QRect(140, 320, 99, 29))
        self.boton_Banco.setText(QtGui.QApplication.translate("Hucha", "Banco", None, QtGui.QApplication.UnicodeUTF8))
        self.boton_Banco.setObjectName(_fromUtf8("boton_Banco"))
        self.boton_Total = QtGui.QPushButton(self.tab_2)
        self.boton_Total.setGeometry(QtCore.QRect(260, 320, 99, 29))
        self.boton_Total.setText(QtGui.QApplication.translate("Hucha", "Total", None, QtGui.QApplication.UnicodeUTF8))
        self.boton_Total.setObjectName(_fromUtf8("boton_Total"))
        self.tabWidget.addTab(self.tab_2, _fromUtf8(""))
        self.boton_Nuevo = QtGui.QPushButton(self.centralwidget)
        self.boton_Nuevo.setGeometry(QtCore.QRect(10, 20, 51, 51))
        self.boton_Nuevo.setText(_fromUtf8(""))
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(_fromUtf8("../../../../../../../usr/share/icons/Faenza/actions/48/stock_new-text.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.boton_Nuevo.setIcon(icon4)
        self.boton_Nuevo.setIconSize(QtCore.QSize(48, 48))
        self.boton_Nuevo.setObjectName(_fromUtf8("boton_Nuevo"))
        self.boton_Abrir = QtGui.QPushButton(self.centralwidget)
        self.boton_Abrir.setGeometry(QtCore.QRect(10, 90, 51, 51))
        self.boton_Abrir.setText(_fromUtf8(""))
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(_fromUtf8("../../../../../../../usr/share/icons/Faenza/actions/48/fileopen.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.boton_Abrir.setIcon(icon5)
        self.boton_Abrir.setIconSize(QtCore.QSize(48, 48))
        self.boton_Abrir.setObjectName(_fromUtf8("boton_Abrir"))
        Hucha.setCentralWidget(self.centralwidget)

        self.retranslateUi(Hucha)
        self.tabWidget.setCurrentIndex(1)
        QtCore.QMetaObject.connectSlotsByName(Hucha)
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(752, 563)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.centralwidget)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.verticalLayout_6 = QtGui.QVBoxLayout()
        self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6"))
        self.groupBox_3 = QtGui.QGroupBox(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_3.sizePolicy().hasHeightForWidth())
        self.groupBox_3.setSizePolicy(sizePolicy)
        self.groupBox_3.setMinimumSize(QtCore.QSize(0, 200))
        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.groupBox_3)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.mplWidget = MplWidget(self.groupBox_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.mplWidget.sizePolicy().hasHeightForWidth())
        self.mplWidget.setSizePolicy(sizePolicy)
        self.mplWidget.setObjectName(_fromUtf8("mplWidget"))
        self.verticalLayout_4.addWidget(self.mplWidget)
        self.verticalLayout_6.addWidget(self.groupBox_3)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label_saturation = QtGui.QLabel(self.centralwidget)
        self.label_saturation.setObjectName(_fromUtf8("label_saturation"))
        self.horizontalLayout.addWidget(self.label_saturation)
        self.slider_saturation = QtGui.QSlider(self.centralwidget)
        self.slider_saturation.setOrientation(QtCore.Qt.Horizontal)
        self.slider_saturation.setObjectName(_fromUtf8("slider_saturation"))
        self.horizontalLayout.addWidget(self.slider_saturation)
        self.label_percent_value = QtGui.QLabel(self.centralwidget)
        self.label_percent_value.setMinimumSize(QtCore.QSize(18, 0))
        self.label_percent_value.setLineWidth(2)
        self.label_percent_value.setMidLineWidth(2)
        self.label_percent_value.setText(_fromUtf8("0"))
        self.label_percent_value.setTextFormat(QtCore.Qt.AutoText)
        self.label_percent_value.setScaledContents(True)
        self.label_percent_value.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter)
        self.label_percent_value.setMargin(0)
        self.label_percent_value.setObjectName(_fromUtf8("label_percent_value"))
        self.horizontalLayout.addWidget(self.label_percent_value)
        self.label_percent_symbol = QtGui.QLabel(self.centralwidget)
        self.label_percent_symbol.setObjectName(_fromUtf8("label_percent_symbol"))
        self.horizontalLayout.addWidget(self.label_percent_symbol)
        self.verticalLayout_6.addLayout(self.horizontalLayout)
        self.textBrowser = QtGui.QTextBrowser(self.centralwidget)
        self.textBrowser.setMaximumSize(QtCore.QSize(16777215, 200))
        self.textBrowser.setObjectName(_fromUtf8("textBrowser"))
        self.verticalLayout_6.addWidget(self.textBrowser)
        self.horizontalLayout_2.addLayout(self.verticalLayout_6)
        self.verticalLayout_5 = QtGui.QVBoxLayout()
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.groupBox_2 = QtGui.QGroupBox(self.centralwidget)
        self.groupBox_2.setMaximumSize(QtCore.QSize(300, 16777215))
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.groupBox_2)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.listWidget_link = QtGui.QListWidget(self.groupBox_2)
        self.listWidget_link.setMaximumSize(QtCore.QSize(300, 16777215))
        self.listWidget_link.setObjectName(_fromUtf8("listWidget_link"))
        self.verticalLayout_3.addWidget(self.listWidget_link)
        self.pushButton_reload = QtGui.QPushButton(self.groupBox_2)
        self.pushButton_reload.setObjectName(_fromUtf8("pushButton_reload"))
        self.verticalLayout_3.addWidget(self.pushButton_reload)
        self.groupBox = QtGui.QGroupBox(self.groupBox_2)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.verticalLayout = QtGui.QVBoxLayout(self.groupBox)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.formLayout = QtGui.QFormLayout()
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.label_C = QtGui.QLabel(self.groupBox)
        self.label_C.setObjectName(_fromUtf8("label_C"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_C)
        self.label_C_value = QtGui.QLabel(self.groupBox)
        self.label_C_value.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter)
        self.label_C_value.setObjectName(_fromUtf8("label_C_value"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.label_C_value)
        self.label_A = QtGui.QLabel(self.groupBox)
        self.label_A.setObjectName(_fromUtf8("label_A"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_A)
        self.label_A_value = QtGui.QLabel(self.groupBox)
        self.label_A_value.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter)
        self.label_A_value.setObjectName(_fromUtf8("label_A_value"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.label_A_value)
        self.label_S = QtGui.QLabel(self.groupBox)
        self.label_S.setObjectName(_fromUtf8("label_S"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_S)
        self.label_S_value = QtGui.QLabel(self.groupBox)
        self.label_S_value.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter)
        self.label_S_value.setObjectName(_fromUtf8("label_S_value"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.label_S_value)
        self.label_T = QtGui.QLabel(self.groupBox)
        self.label_T.setObjectName(_fromUtf8("label_T"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_T)
        self.label_T_value = QtGui.QLabel(self.groupBox)
        self.label_T_value.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter)
        self.label_T_value.setObjectName(_fromUtf8("label_T_value"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.label_T_value)
        self.label_samples = QtGui.QLabel(self.groupBox)
        self.label_samples.setObjectName(_fromUtf8("label_samples"))
        self.formLayout.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_samples)
        self.label_samples_value = QtGui.QLabel(self.groupBox)
        self.label_samples_value.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing | QtCore.Qt.AlignVCenter)
        self.label_samples_value.setObjectName(_fromUtf8("label_samples_value"))
        self.formLayout.setWidget(4, QtGui.QFormLayout.FieldRole, self.label_samples_value)
        self.verticalLayout.addLayout(self.formLayout)
        self.verticalLayout_3.addWidget(self.groupBox)
        self.verticalLayout_5.addWidget(self.groupBox_2)
        self.horizontalLayout_2.addLayout(self.verticalLayout_5)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 752, 25))
        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.QObject.connect(
            self.slider_saturation, QtCore.SIGNAL(_fromUtf8("valueChanged(int)")), self.label_percent_value.setNum
        )
        QtCore.QMetaObject.connectSlotsByName(MainWindow)