Ejemplo n.º 1
0
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName(_fromUtf8("Dialog"))
        Dialog.resize(400, 300)
        self.kled = KLed(Dialog)
        self.kled.setEnabled(True)
        self.kled.setGeometry(QtCore.QRect(70, 100, 16, 16))
        self.kled.setState(KLed.On)
        self.kled.setObjectName(_fromUtf8("kled"))

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

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(_translate("Dialog", "Dialog", None))
Ejemplo n.º 2
0
class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName(_fromUtf8("Form"))
        Form.resize(254, 126)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/led.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        Form.setWindowIcon(icon)
        self.layoutWidget = QtGui.QWidget(Form)
        self.layoutWidget.setGeometry(QtCore.QRect(0, 0, 251, 122))
        self.layoutWidget.setObjectName(_fromUtf8("layoutWidget"))
        self.gridLayout = QtGui.QGridLayout(self.layoutWidget)
        self.gridLayout.setMargin(0)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.kled_1 = KLed(self.layoutWidget)
        self.kled_1.setState(KLed.Off)
        self.kled_1.setObjectName(_fromUtf8("kled_1"))
        self.verticalLayout_3.addWidget(self.kled_1)
        self.kled_2 = KLed(self.layoutWidget)
        self.kled_2.setState(KLed.Off)
        self.kled_2.setObjectName(_fromUtf8("kled_2"))
        self.verticalLayout_3.addWidget(self.kled_2)
        self.kled_3 = KLed(self.layoutWidget)
        self.kled_3.setState(KLed.Off)
        self.kled_3.setObjectName(_fromUtf8("kled_3"))
        self.verticalLayout_3.addWidget(self.kled_3)
        self.gridLayout.addLayout(self.verticalLayout_3, 0, 2, 1, 1)
        self.verticalLayout_4 = QtGui.QVBoxLayout()
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.label = QtGui.QLabel(self.layoutWidget)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout_4.addWidget(self.label)
        self.label_2 = QtGui.QLabel(self.layoutWidget)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.verticalLayout_4.addWidget(self.label_2)
        self.label_3 = QtGui.QLabel(self.layoutWidget)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.verticalLayout_4.addWidget(self.label_3)
        self.gridLayout.addLayout(self.verticalLayout_4, 0, 1, 1, 1)
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.boton_led1 = QtGui.QPushButton(self.layoutWidget)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(_fromUtf8(":/ok.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.boton_led1.setIcon(icon1)
        self.boton_led1.setObjectName(_fromUtf8("boton_led1"))
        self.verticalLayout_2.addWidget(self.boton_led1)
        self.boton_led2 = QtGui.QPushButton(self.layoutWidget)
        self.boton_led2.setIcon(icon1)
        self.boton_led2.setObjectName(_fromUtf8("boton_led2"))
        self.verticalLayout_2.addWidget(self.boton_led2)
        self.boton_led3 = QtGui.QPushButton(self.layoutWidget)
        self.boton_led3.setIcon(icon1)
        self.boton_led3.setObjectName(_fromUtf8("boton_led3"))
        self.verticalLayout_2.addWidget(self.boton_led3)
        self.gridLayout.addLayout(self.verticalLayout_2, 0, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 1, 0, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.boton_salir = QtGui.QPushButton(self.layoutWidget)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(_fromUtf8(":/exit.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.boton_salir.setIcon(icon2)
        self.boton_salir.setObjectName(_fromUtf8("boton_salir"))
        self.horizontalLayout.addWidget(self.boton_salir)
        self.boton_iniciar = QtGui.QPushButton(self.layoutWidget)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(_fromUtf8(":/conectar.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.boton_iniciar.setIcon(icon3)
        self.boton_iniciar.setObjectName(_fromUtf8("boton_iniciar"))
        self.horizontalLayout.addWidget(self.boton_iniciar)
        self.gridLayout.addLayout(self.horizontalLayout, 2, 0, 1, 3)

        self.retranslateUi(Form)
        QtCore.QObject.connect(self.boton_salir, QtCore.SIGNAL(_fromUtf8("clicked()")), Form.close)
        QtCore.QMetaObject.connectSlotsByName(Form)
        Form.setTabOrder(self.boton_led1, self.boton_led2)
        Form.setTabOrder(self.boton_led2, self.boton_led3)
        Form.setTabOrder(self.boton_led3, self.boton_iniciar)
        Form.setTabOrder(self.boton_iniciar, self.boton_salir)

    def retranslateUi(self, Form):
        Form.setWindowTitle(QtGui.QApplication.translate("Form", "Conexión pinguino ", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("Form", "Led 1:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("Form", "Led 2:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("Form", "Led 3:", None, QtGui.QApplication.UnicodeUTF8))
        self.boton_led1.setToolTip(QtGui.QApplication.translate("Form", "<html><head/><body><p>Cambia el estado de el <span style=\" font-weight:600;\">led 1</span><span style=\" font-style:italic;\">[Off/On]</span>, en la placa pinguino y en la aplicacion.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.boton_led1.setText(QtGui.QApplication.translate("Form", "On", None, QtGui.QApplication.UnicodeUTF8))
        self.boton_led2.setToolTip(QtGui.QApplication.translate("Form", "<html><head/><body><p>Cambia el estado de el <span style=\" font-weight:600;\">led 2</span><span style=\" font-style:italic;\">[Off/On]</span>, en la placa pinguino y en la aplicacion.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.boton_led2.setText(QtGui.QApplication.translate("Form", "On", None, QtGui.QApplication.UnicodeUTF8))
        self.boton_led3.setToolTip(QtGui.QApplication.translate("Form", "<html><head/><body><p>Cambia el estado de el <span style=\" font-weight:600;\">led 3</span><span style=\" font-style:italic;\">[Off/On]</span>, en la placa pinguino y en la aplicacion.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.boton_led3.setText(QtGui.QApplication.translate("Form", "On", None, QtGui.QApplication.UnicodeUTF8))
        self.boton_salir.setToolTip(QtGui.QApplication.translate("Form", "<html><head/><body><p>Cierra correctamente la conexión con el pinguino y termina la aplicacion.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.boton_salir.setText(QtGui.QApplication.translate("Form", "Salir", None, QtGui.QApplication.UnicodeUTF8))
        self.boton_iniciar.setToolTip(QtGui.QApplication.translate("Form", "<html><head/><body><p>Da inicio a la <span style=\" font-weight:600;\">conexión</span> con el pinguino.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.boton_iniciar.setText(QtGui.QApplication.translate("Form", "&Iniciar", None, QtGui.QApplication.UnicodeUTF8))
Ejemplo n.º 3
0
class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName(_fromUtf8("Form"))
        Form.resize(251, 123)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/led.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        Form.setWindowIcon(icon)
        self.widget = QtGui.QWidget(Form)
        self.widget.setGeometry(QtCore.QRect(0, 0, 251, 122))
        self.widget.setObjectName(_fromUtf8("widget"))
        self.gridLayout = QtGui.QGridLayout(self.widget)
        self.gridLayout.setMargin(0)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.kled_1 = KLed(self.widget)
        self.kled_1.setState(KLed.Off)
        self.kled_1.setObjectName(_fromUtf8("kled_1"))
        self.verticalLayout_3.addWidget(self.kled_1)
        self.kled_2 = KLed(self.widget)
        self.kled_2.setState(KLed.Off)
        self.kled_2.setObjectName(_fromUtf8("kled_2"))
        self.verticalLayout_3.addWidget(self.kled_2)
        self.kled_3 = KLed(self.widget)
        self.kled_3.setState(KLed.Off)
        self.kled_3.setObjectName(_fromUtf8("kled_3"))
        self.verticalLayout_3.addWidget(self.kled_3)
        self.gridLayout.addLayout(self.verticalLayout_3, 0, 2, 1, 1)
        self.verticalLayout_4 = QtGui.QVBoxLayout()
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.label = QtGui.QLabel(self.widget)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout_4.addWidget(self.label)
        self.label_2 = QtGui.QLabel(self.widget)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.verticalLayout_4.addWidget(self.label_2)
        self.label_3 = QtGui.QLabel(self.widget)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.verticalLayout_4.addWidget(self.label_3)
        self.gridLayout.addLayout(self.verticalLayout_4, 0, 1, 1, 1)
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.pushButton = QtGui.QPushButton(self.widget)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(_fromUtf8(":/ok.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton.setIcon(icon1)
        self.pushButton.setObjectName(_fromUtf8("pushButton"))
        self.verticalLayout_2.addWidget(self.pushButton)
        self.pushButton_2 = QtGui.QPushButton(self.widget)
        self.pushButton_2.setIcon(icon1)
        self.pushButton_2.setObjectName(_fromUtf8("pushButton_2"))
        self.verticalLayout_2.addWidget(self.pushButton_2)
        self.pushButton_3 = QtGui.QPushButton(self.widget)
        self.pushButton_3.setIcon(icon1)
        self.pushButton_3.setObjectName(_fromUtf8("pushButton_3"))
        self.verticalLayout_2.addWidget(self.pushButton_3)
        self.gridLayout.addLayout(self.verticalLayout_2, 0, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 1, 0, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.pushButton_4 = QtGui.QPushButton(self.widget)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(_fromUtf8(":/exit.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton_4.setIcon(icon2)
        self.pushButton_4.setObjectName(_fromUtf8("pushButton_4"))
        self.horizontalLayout.addWidget(self.pushButton_4)
        self.pushButton_5 = QtGui.QPushButton(self.widget)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(_fromUtf8(":/conectar.svg")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.pushButton_5.setIcon(icon3)
        self.pushButton_5.setObjectName(_fromUtf8("pushButton_5"))
        self.horizontalLayout.addWidget(self.pushButton_5)
        self.gridLayout.addLayout(self.horizontalLayout, 2, 0, 1, 3)

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

    def retranslateUi(self, Form):
        Form.setWindowTitle(QtGui.QApplication.translate("Form", "Form", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("Form", "Led 1:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("Form", "Led 2:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("Form", "Led 3:", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton.setText(QtGui.QApplication.translate("Form", "On", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_2.setText(QtGui.QApplication.translate("Form", "On", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_3.setText(QtGui.QApplication.translate("Form", "On", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_4.setText(QtGui.QApplication.translate("Form", "Salir", None, QtGui.QApplication.UnicodeUTF8))
        self.pushButton_5.setText(QtGui.QApplication.translate("Form", "Iniciar", None, QtGui.QApplication.UnicodeUTF8))
Ejemplo n.º 4
0
class Ui_MainWindowSingle(object):
    def setupUi(self, MainWindowSingle):
        MainWindowSingle.setObjectName(_fromUtf8("MainWindowSingle"))
        MainWindowSingle.resize(923, 664)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(MainWindowSingle.sizePolicy().hasHeightForWidth())
        MainWindowSingle.setSizePolicy(sizePolicy)
        self.centralwidget = QtGui.QWidget(MainWindowSingle)
        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(_fromUtf8("centralwidget"))
        self.mainTab = QtGui.QTabWidget(self.centralwidget)
        self.mainTab.setGeometry(QtCore.QRect(0, 40, 1091, 591))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.mainTab.sizePolicy().hasHeightForWidth())
        self.mainTab.setSizePolicy(sizePolicy)
        self.mainTab.setObjectName(_fromUtf8("mainTab"))
        self.data = QtGui.QWidget()
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.data.sizePolicy().hasHeightForWidth())
        self.data.setSizePolicy(sizePolicy)
        self.data.setObjectName(_fromUtf8("data"))
        self.frame = QtGui.QFrame(self.data)
        self.frame.setGeometry(QtCore.QRect(0, 0, 401, 131))
        self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtGui.QFrame.Raised)
        self.frame.setObjectName(_fromUtf8("frame"))
        self.label_2 = QtGui.QLabel(self.frame)
        self.label_2.setGeometry(QtCore.QRect(10, 10, 57, 14))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.showInactive = QtGui.QCheckBox(self.frame)
        self.showInactive.setGeometry(QtCore.QRect(50, 10, 121, 21))
        self.showInactive.setChecked(True)
        self.showInactive.setObjectName(_fromUtf8("showInactive"))
        self.jobList = QtGui.QListWidget(self.frame)
        self.jobList.setGeometry(QtCore.QRect(10, 30, 381, 91))
        self.jobList.setObjectName(_fromUtf8("jobList"))
        self.frame_2 = QtGui.QFrame(self.data)
        self.frame_2.setGeometry(QtCore.QRect(0, 130, 431, 421))
        self.frame_2.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame_2.setFrameShadow(QtGui.QFrame.Raised)
        self.frame_2.setObjectName(_fromUtf8("frame_2"))
        self.frame_4 = QtGui.QFrame(self.frame_2)
        self.frame_4.setGeometry(QtCore.QRect(0, 0, 421, 91))
        self.frame_4.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame_4.setFrameShadow(QtGui.QFrame.Raised)
        self.frame_4.setObjectName(_fromUtf8("frame_4"))
        self.formLayoutWidget_2 = QtGui.QWidget(self.frame_4)
        self.formLayoutWidget_2.setGeometry(QtCore.QRect(10, 10, 411, 51))
        self.formLayoutWidget_2.setObjectName(_fromUtf8("formLayoutWidget_2"))
        self.formLayout_2 = QtGui.QFormLayout(self.formLayoutWidget_2)
        self.formLayout_2.setFieldGrowthPolicy(QtGui.QFormLayout.ExpandingFieldsGrow)
        self.formLayout_2.setLabelAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.formLayout_2.setMargin(0)
        self.formLayout_2.setObjectName(_fromUtf8("formLayout_2"))
        self.label_3 = QtGui.QLabel(self.formLayoutWidget_2)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.formLayout_2.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_3)
        self.companyname = QtGui.QLineEdit(self.formLayoutWidget_2)
        self.companyname.setObjectName(_fromUtf8("companyname"))
        self.formLayout_2.setWidget(0, QtGui.QFormLayout.FieldRole, self.companyname)
        self.label_4 = QtGui.QLabel(self.formLayoutWidget_2)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_4)
        self.loan = QtGui.QDoubleSpinBox(self.formLayoutWidget_2)
        self.loan.setDecimals(2)
        self.loan.setMaximum(99999999.99)
        self.loan.setObjectName(_fromUtf8("loan"))
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.FieldRole, self.loan)
        self.saveCompany = QtGui.QPushButton(self.frame_4)
        self.saveCompany.setGeometry(QtCore.QRect(110, 60, 91, 23))
        self.saveCompany.setObjectName(_fromUtf8("saveCompany"))
        self.tabWidget_2 = QtGui.QTabWidget(self.frame_2)
        self.tabWidget_2.setGeometry(QtCore.QRect(0, 90, 421, 221))
        self.tabWidget_2.setObjectName(_fromUtf8("tabWidget_2"))
        self.tab = QtGui.QWidget()
        self.tab.setObjectName(_fromUtf8("tab"))
        self.verticalLayoutWidget = QtGui.QWidget(self.tab)
        self.verticalLayoutWidget.setGeometry(QtCore.QRect(0, 10, 171, 96))
        self.verticalLayoutWidget.setObjectName(_fromUtf8("verticalLayoutWidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.verticalLayoutWidget)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label_25 = QtGui.QLabel(self.verticalLayoutWidget)
        self.label_25.setObjectName(_fromUtf8("label_25"))
        self.verticalLayout.addWidget(self.label_25)
        self.creditList = QtGui.QListWidget(self.verticalLayoutWidget)
        self.creditList.setObjectName(_fromUtf8("creditList"))
        self.verticalLayout.addWidget(self.creditList)
        self.formLayoutWidget_3 = QtGui.QWidget(self.tab)
        self.formLayoutWidget_3.setGeometry(QtCore.QRect(180, 10, 213, 105))
        self.formLayoutWidget_3.setObjectName(_fromUtf8("formLayoutWidget_3"))
        self.formLayout_3 = QtGui.QFormLayout(self.formLayoutWidget_3)
        self.formLayout_3.setFieldGrowthPolicy(QtGui.QFormLayout.ExpandingFieldsGrow)
        self.formLayout_3.setLabelAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.formLayout_3.setMargin(0)
        self.formLayout_3.setObjectName(_fromUtf8("formLayout_3"))
        self.label_15 = QtGui.QLabel(self.formLayoutWidget_3)
        self.label_15.setObjectName(_fromUtf8("label_15"))
        self.formLayout_3.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_15)
        self.creditValue = QtGui.QDoubleSpinBox(self.formLayoutWidget_3)
        self.creditValue.setDecimals(2)
        self.creditValue.setMaximum(99999.99)
        self.creditValue.setObjectName(_fromUtf8("creditValue"))
        self.formLayout_3.setWidget(1, QtGui.QFormLayout.FieldRole, self.creditValue)
        self.label_16 = QtGui.QLabel(self.formLayoutWidget_3)
        self.label_16.setObjectName(_fromUtf8("label_16"))
        self.formLayout_3.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_16)
        self.creditDate = QtGui.QDateEdit(self.formLayoutWidget_3)
        self.creditDate.setCalendarPopup(True)
        self.creditDate.setObjectName(_fromUtf8("creditDate"))
        self.formLayout_3.setWidget(3, QtGui.QFormLayout.FieldRole, self.creditDate)
        self.creditPayed = QtGui.QCheckBox(self.formLayoutWidget_3)
        self.creditPayed.setObjectName(_fromUtf8("creditPayed"))
        self.formLayout_3.setWidget(4, QtGui.QFormLayout.FieldRole, self.creditPayed)
        self.creditName = QtGui.QLineEdit(self.formLayoutWidget_3)
        self.creditName.setObjectName(_fromUtf8("creditName"))
        self.formLayout_3.setWidget(0, QtGui.QFormLayout.FieldRole, self.creditName)
        self.label_30 = QtGui.QLabel(self.formLayoutWidget_3)
        self.label_30.setObjectName(_fromUtf8("label_30"))
        self.formLayout_3.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_30)
        self.creditActive = QtGui.QCheckBox(self.formLayoutWidget_3)
        self.creditActive.setChecked(True)
        self.creditActive.setObjectName(_fromUtf8("creditActive"))
        self.formLayout_3.setWidget(4, QtGui.QFormLayout.LabelRole, self.creditActive)
        self.createCredit = QtGui.QPushButton(self.tab)
        self.createCredit.setGeometry(QtCore.QRect(0, 120, 99, 23))
        self.createCredit.setObjectName(_fromUtf8("createCredit"))
        self.saveCredit = QtGui.QPushButton(self.tab)
        self.saveCredit.setGeometry(QtCore.QRect(110, 120, 99, 23))
        self.saveCredit.setObjectName(_fromUtf8("saveCredit"))
        self.deleteCredit = QtGui.QPushButton(self.tab)
        self.deleteCredit.setGeometry(QtCore.QRect(220, 120, 99, 23))
        self.deleteCredit.setObjectName(_fromUtf8("deleteCredit"))
        self.tabWidget_2.addTab(self.tab, _fromUtf8(""))
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName(_fromUtf8("tab_2"))
        self.formLayoutWidget_6 = QtGui.QWidget(self.tab_2)
        self.formLayoutWidget_6.setGeometry(QtCore.QRect(0, 0, 181, 108))
        self.formLayoutWidget_6.setObjectName(_fromUtf8("formLayoutWidget_6"))
        self.formLayout_6 = QtGui.QFormLayout(self.formLayoutWidget_6)
        self.formLayout_6.setMargin(0)
        self.formLayout_6.setObjectName(_fromUtf8("formLayout_6"))
        self.label_20 = QtGui.QLabel(self.formLayoutWidget_6)
        self.label_20.setObjectName(_fromUtf8("label_20"))
        self.formLayout_6.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_20)
        self.loanSplitList = QtGui.QListWidget(self.formLayoutWidget_6)
        self.loanSplitList.setObjectName(_fromUtf8("loanSplitList"))
        self.formLayout_6.setWidget(1, QtGui.QFormLayout.SpanningRole, self.loanSplitList)
        self.createLoanSplit = QtGui.QPushButton(self.tab_2)
        self.createLoanSplit.setGeometry(QtCore.QRect(0, 110, 91, 23))
        self.createLoanSplit.setObjectName(_fromUtf8("createLoanSplit"))
        self.saveLoanSplit = QtGui.QPushButton(self.tab_2)
        self.saveLoanSplit.setGeometry(QtCore.QRect(90, 110, 91, 23))
        self.saveLoanSplit.setObjectName(_fromUtf8("saveLoanSplit"))
        self.deleteLoanSplit = QtGui.QPushButton(self.tab_2)
        self.deleteLoanSplit.setGeometry(QtCore.QRect(180, 110, 101, 23))
        self.deleteLoanSplit.setObjectName(_fromUtf8("deleteLoanSplit"))
        self.formLayoutWidget_8 = QtGui.QWidget(self.tab_2)
        self.formLayoutWidget_8.setGeometry(QtCore.QRect(180, 0, 231, 101))
        self.formLayoutWidget_8.setObjectName(_fromUtf8("formLayoutWidget_8"))
        self.formLayout_8 = QtGui.QFormLayout(self.formLayoutWidget_8)
        self.formLayout_8.setMargin(0)
        self.formLayout_8.setObjectName(_fromUtf8("formLayout_8"))
        self.label_21 = QtGui.QLabel(self.formLayoutWidget_8)
        self.label_21.setObjectName(_fromUtf8("label_21"))
        self.formLayout_8.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_21)
        self.loanSplitName = QtGui.QLineEdit(self.formLayoutWidget_8)
        self.loanSplitName.setObjectName(_fromUtf8("loanSplitName"))
        self.formLayout_8.setWidget(0, QtGui.QFormLayout.FieldRole, self.loanSplitName)
        self.label_22 = QtGui.QLabel(self.formLayoutWidget_8)
        self.label_22.setObjectName(_fromUtf8("label_22"))
        self.formLayout_8.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_22)
        self.loanSplitValue = QtGui.QDoubleSpinBox(self.formLayoutWidget_8)
        self.loanSplitValue.setMaximum(9999.99)
        self.loanSplitValue.setObjectName(_fromUtf8("loanSplitValue"))
        self.formLayout_8.setWidget(1, QtGui.QFormLayout.FieldRole, self.loanSplitValue)
        self.loanSplitMoney = QtGui.QCheckBox(self.formLayoutWidget_8)
        self.loanSplitMoney.setObjectName(_fromUtf8("loanSplitMoney"))
        self.formLayout_8.setWidget(2, QtGui.QFormLayout.FieldRole, self.loanSplitMoney)
        self.tabWidget_2.addTab(self.tab_2, _fromUtf8(""))
        self.tab_3 = QtGui.QWidget()
        self.tab_3.setObjectName(_fromUtf8("tab_3"))
        self.formLayoutWidget_4 = QtGui.QWidget(self.tab_3)
        self.formLayoutWidget_4.setGeometry(QtCore.QRect(210, 0, 191, 101))
        self.formLayoutWidget_4.setObjectName(_fromUtf8("formLayoutWidget_4"))
        self.formLayout_4 = QtGui.QFormLayout(self.formLayoutWidget_4)
        self.formLayout_4.setFieldGrowthPolicy(QtGui.QFormLayout.ExpandingFieldsGrow)
        self.formLayout_4.setLabelAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.formLayout_4.setMargin(0)
        self.formLayout_4.setObjectName(_fromUtf8("formLayout_4"))
        self.label_17 = QtGui.QLabel(self.formLayoutWidget_4)
        self.label_17.setObjectName(_fromUtf8("label_17"))
        self.formLayout_4.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_17)
        self.chargesName = QtGui.QLineEdit(self.formLayoutWidget_4)
        self.chargesName.setObjectName(_fromUtf8("chargesName"))
        self.formLayout_4.setWidget(0, QtGui.QFormLayout.FieldRole, self.chargesName)
        self.label_18 = QtGui.QLabel(self.formLayoutWidget_4)
        self.label_18.setObjectName(_fromUtf8("label_18"))
        self.formLayout_4.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_18)
        self.chargesValue = QtGui.QDoubleSpinBox(self.formLayoutWidget_4)
        self.chargesValue.setObjectName(_fromUtf8("chargesValue"))
        self.formLayout_4.setWidget(1, QtGui.QFormLayout.FieldRole, self.chargesValue)
        self.verticalLayoutWidget_2 = QtGui.QWidget(self.tab_3)
        self.verticalLayoutWidget_2.setGeometry(QtCore.QRect(0, 0, 201, 101))
        self.verticalLayoutWidget_2.setObjectName(_fromUtf8("verticalLayoutWidget_2"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.verticalLayoutWidget_2)
        self.verticalLayout_2.setMargin(0)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.label_8 = QtGui.QLabel(self.verticalLayoutWidget_2)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.verticalLayout_2.addWidget(self.label_8)
        self.chargesList = QtGui.QListWidget(self.verticalLayoutWidget_2)
        self.chargesList.setObjectName(_fromUtf8("chargesList"))
        self.verticalLayout_2.addWidget(self.chargesList)
        self.createCharge = QtGui.QPushButton(self.tab_3)
        self.createCharge.setGeometry(QtCore.QRect(0, 110, 91, 23))
        self.createCharge.setObjectName(_fromUtf8("createCharge"))
        self.saveCharge = QtGui.QPushButton(self.tab_3)
        self.saveCharge.setGeometry(QtCore.QRect(90, 110, 81, 23))
        self.saveCharge.setObjectName(_fromUtf8("saveCharge"))
        self.deleteCharge = QtGui.QPushButton(self.tab_3)
        self.deleteCharge.setGeometry(QtCore.QRect(170, 110, 91, 23))
        self.deleteCharge.setObjectName(_fromUtf8("deleteCharge"))
        self.addChargeToJob = QtGui.QPushButton(self.tab_3)
        self.addChargeToJob.setGeometry(QtCore.QRect(269, 110, 141, 23))
        self.addChargeToJob.setObjectName(_fromUtf8("addChargeToJob"))
        self.plainTextEdit = QtGui.QPlainTextEdit(self.tab_3)
        self.plainTextEdit.setGeometry(QtCore.QRect(0, 130, 401, 61))
        self.plainTextEdit.setObjectName(_fromUtf8("plainTextEdit"))
        self.tabWidget_2.addTab(self.tab_3, _fromUtf8(""))
        self.frame_6 = QtGui.QFrame(self.data)
        self.frame_6.setGeometry(QtCore.QRect(439, 0, 401, 561))
        self.frame_6.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame_6.setFrameShadow(QtGui.QFrame.Raised)
        self.frame_6.setObjectName(_fromUtf8("frame_6"))
        self.formLayoutWidget = QtGui.QWidget(self.frame_6)
        self.formLayoutWidget.setGeometry(QtCore.QRect(20, 10, 361, 371))
        self.formLayoutWidget.setObjectName(_fromUtf8("formLayoutWidget"))
        self.formLayout = QtGui.QFormLayout(self.formLayoutWidget)
        self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.ExpandingFieldsGrow)
        self.formLayout.setLabelAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.formLayout.setMargin(0)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.label_5 = QtGui.QLabel(self.formLayoutWidget)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_5)
        self.jobname = QtGui.QLineEdit(self.formLayoutWidget)
        self.jobname.setObjectName(_fromUtf8("jobname"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.jobname)
        self.label_6 = QtGui.QLabel(self.formLayoutWidget)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_6)
        self.jobplace = QtGui.QLineEdit(self.formLayoutWidget)
        self.jobplace.setObjectName(_fromUtf8("jobplace"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.jobplace)
        self.label_7 = QtGui.QLabel(self.formLayoutWidget)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_7)
        self.baustellenleiter = QtGui.QLineEdit(self.formLayoutWidget)
        self.baustellenleiter.setObjectName(_fromUtf8("baustellenleiter"))
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole, self.baustellenleiter)
        self.label_9 = QtGui.QLabel(self.formLayoutWidget)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_9)
        self.hours = QtGui.QDoubleSpinBox(self.formLayoutWidget)
        self.hours.setMaximum(24.0)
        self.hours.setProperty("value", 8.0)
        self.hours.setObjectName(_fromUtf8("hours"))
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.hours)
        self.label_12 = QtGui.QLabel(self.formLayoutWidget)
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.formLayout.setWidget(5, QtGui.QFormLayout.LabelRole, self.label_12)
        self.correctionHours = QtGui.QDoubleSpinBox(self.formLayoutWidget)
        self.correctionHours.setObjectName(_fromUtf8("correctionHours"))
        self.formLayout.setWidget(5, QtGui.QFormLayout.FieldRole, self.correctionHours)
        self.label_11 = QtGui.QLabel(self.formLayoutWidget)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.formLayout.setWidget(6, QtGui.QFormLayout.LabelRole, self.label_11)
        self.weekendDays = QtGui.QSpinBox(self.formLayoutWidget)
        self.weekendDays.setProperty("value", 2)
        self.weekendDays.setObjectName(_fromUtf8("weekendDays"))
        self.formLayout.setWidget(6, QtGui.QFormLayout.FieldRole, self.weekendDays)
        self.jobComment = QtGui.QPlainTextEdit(self.formLayoutWidget)
        self.jobComment.setObjectName(_fromUtf8("jobComment"))
        self.formLayout.setWidget(7, QtGui.QFormLayout.SpanningRole, self.jobComment)
        self.saveJob = QtGui.QPushButton(self.formLayoutWidget)
        self.saveJob.setObjectName(_fromUtf8("saveJob"))
        self.formLayout.setWidget(9, QtGui.QFormLayout.LabelRole, self.saveJob)
        self.active = QtGui.QCheckBox(self.formLayoutWidget)
        self.active.setChecked(True)
        self.active.setObjectName(_fromUtf8("active"))
        self.formLayout.setWidget(9, QtGui.QFormLayout.FieldRole, self.active)
        self.createJob = QtGui.QPushButton(self.formLayoutWidget)
        self.createJob.setEnabled(False)
        self.createJob.setObjectName(_fromUtf8("createJob"))
        self.formLayout.setWidget(10, QtGui.QFormLayout.LabelRole, self.createJob)
        self.deleteJob = QtGui.QPushButton(self.formLayoutWidget)
        self.deleteJob.setObjectName(_fromUtf8("deleteJob"))
        self.formLayout.setWidget(10, QtGui.QFormLayout.FieldRole, self.deleteJob)
        self.formLayoutWidget_9 = QtGui.QWidget(self.frame_6)
        self.formLayoutWidget_9.setGeometry(QtCore.QRect(20, 380, 351, 171))
        self.formLayoutWidget_9.setObjectName(_fromUtf8("formLayoutWidget_9"))
        self.formLayout_9 = QtGui.QFormLayout(self.formLayoutWidget_9)
        self.formLayout_9.setLabelAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.formLayout_9.setMargin(0)
        self.formLayout_9.setObjectName(_fromUtf8("formLayout_9"))
        self.daysCalc = QtGui.QLabel(self.formLayoutWidget_9)
        self.daysCalc.setObjectName(_fromUtf8("daysCalc"))
        self.formLayout_9.setWidget(0, QtGui.QFormLayout.LabelRole, self.daysCalc)
        self.hoursCalc = QtGui.QLabel(self.formLayoutWidget_9)
        self.hoursCalc.setObjectName(_fromUtf8("hoursCalc"))
        self.formLayout_9.setWidget(0, QtGui.QFormLayout.FieldRole, self.hoursCalc)
        self.deleteWorkSpese = QtGui.QPushButton(self.formLayoutWidget_9)
        self.deleteWorkSpese.setObjectName(_fromUtf8("deleteWorkSpese"))
        self.formLayout_9.setWidget(4, QtGui.QFormLayout.LabelRole, self.deleteWorkSpese)
        self.label_28 = QtGui.QLabel(self.formLayoutWidget_9)
        self.label_28.setObjectName(_fromUtf8("label_28"))
        self.formLayout_9.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_28)
        self.workChargesList = QtGui.QListWidget(self.formLayoutWidget_9)
        self.workChargesList.setObjectName(_fromUtf8("workChargesList"))
        self.formLayout_9.setWidget(2, QtGui.QFormLayout.SpanningRole, self.workChargesList)
        self.wChargeSave = QtGui.QPushButton(self.formLayoutWidget_9)
        self.wChargeSave.setObjectName(_fromUtf8("wChargeSave"))
        self.formLayout_9.setWidget(4, QtGui.QFormLayout.FieldRole, self.wChargeSave)
        self.wChargeTimes = QtGui.QSpinBox(self.formLayoutWidget_9)
        self.wChargeTimes.setObjectName(_fromUtf8("wChargeTimes"))
        self.formLayout_9.setWidget(3, QtGui.QFormLayout.FieldRole, self.wChargeTimes)
        self.label_29 = QtGui.QLabel(self.formLayoutWidget_9)
        self.label_29.setObjectName(_fromUtf8("label_29"))
        self.formLayout_9.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_29)
        self.mainTab.addTab(self.data, _fromUtf8(""))
        self.logic = QtGui.QWidget()
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.logic.sizePolicy().hasHeightForWidth())
        self.logic.setSizePolicy(sizePolicy)
        self.logic.setObjectName(_fromUtf8("logic"))
        self.viewTabs = QtGui.QTabWidget(self.logic)
        self.viewTabs.setGeometry(QtCore.QRect(0, 10, 1071, 541))
        self.viewTabs.setObjectName(_fromUtf8("viewTabs"))
        self.tab_4 = QtGui.QWidget()
        self.tab_4.setObjectName(_fromUtf8("tab_4"))
        self.frame_7 = QtGui.QFrame(self.tab_4)
        self.frame_7.setGeometry(QtCore.QRect(0, 0, 591, 151))
        self.frame_7.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame_7.setFrameShadow(QtGui.QFrame.Raised)
        self.frame_7.setObjectName(_fromUtf8("frame_7"))
        self.formLayoutWidget_5 = QtGui.QWidget(self.frame_7)
        self.formLayoutWidget_5.setGeometry(QtCore.QRect(260, 20, 271, 82))
        self.formLayoutWidget_5.setObjectName(_fromUtf8("formLayoutWidget_5"))
        self.formLayout_5 = QtGui.QFormLayout(self.formLayoutWidget_5)
        self.formLayout_5.setLabelAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.formLayout_5.setMargin(0)
        self.formLayout_5.setObjectName(_fromUtf8("formLayout_5"))
        self.filterAll = QtGui.QCheckBox(self.formLayoutWidget_5)
        self.filterAll.setChecked(True)
        self.filterAll.setObjectName(_fromUtf8("filterAll"))
        self.formLayout_5.setWidget(0, QtGui.QFormLayout.LabelRole, self.filterAll)
        self.filterCalendar = QtGui.QCheckBox(self.formLayoutWidget_5)
        self.filterCalendar.setChecked(True)
        self.filterCalendar.setObjectName(_fromUtf8("filterCalendar"))
        self.formLayout_5.setWidget(3, QtGui.QFormLayout.LabelRole, self.filterCalendar)
        self.label_19 = QtGui.QLabel(self.formLayoutWidget_5)
        self.label_19.setObjectName(_fromUtf8("label_19"))
        self.formLayout_5.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_19)
        self.infoSearch = QtGui.QLineEdit(self.formLayoutWidget_5)
        self.infoSearch.setText(_fromUtf8(""))
        self.infoSearch.setObjectName(_fromUtf8("infoSearch"))
        self.formLayout_5.setWidget(2, QtGui.QFormLayout.FieldRole, self.infoSearch)
        self.filterInactive = QtGui.QCheckBox(self.formLayoutWidget_5)
        self.filterInactive.setChecked(True)
        self.filterInactive.setObjectName(_fromUtf8("filterInactive"))
        self.formLayout_5.setWidget(3, QtGui.QFormLayout.FieldRole, self.filterInactive)
        self.workCalendar = QtGui.QCalendarWidget(self.frame_7)
        self.workCalendar.setGeometry(QtCore.QRect(10, 10, 221, 131))
        self.workCalendar.setObjectName(_fromUtf8("workCalendar"))
        self.graphFrame = QtGui.QFrame(self.tab_4)
        self.graphFrame.setGeometry(QtCore.QRect(590, 0, 311, 151))
        self.graphFrame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.graphFrame.setFrameShadow(QtGui.QFrame.Raised)
        self.graphFrame.setObjectName(_fromUtf8("graphFrame"))
        self.graphView = QtGui.QGraphicsView(self.graphFrame)
        self.graphView.setGeometry(QtCore.QRect(10, 10, 291, 131))
        self.graphView.setObjectName(_fromUtf8("graphView"))
        self.horizontalLayoutWidget = QtGui.QWidget(self.tab_4)
        self.horizontalLayoutWidget.setGeometry(QtCore.QRect(350, 430, 261, 80))
        self.horizontalLayoutWidget.setObjectName(_fromUtf8("horizontalLayoutWidget"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.horizontalLayoutWidget)
        self.horizontalLayout.setMargin(0)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.kled = KLed(self.horizontalLayoutWidget)
        self.kled.setObjectName(_fromUtf8("kled"))
        self.horizontalLayout.addWidget(self.kled)
        self.label_10 = QtGui.QLabel(self.horizontalLayoutWidget)
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.horizontalLayout.addWidget(self.label_10)
        self.amount = QtGui.QLCDNumber(self.horizontalLayoutWidget)
        self.amount.setObjectName(_fromUtf8("amount"))
        self.horizontalLayout.addWidget(self.amount)
        self.infoExelCredits = QtGui.QTextEdit(self.tab_4)
        self.infoExelCredits.setGeometry(QtCore.QRect(20, 430, 291, 76))
        self.infoExelCredits.setReadOnly(True)
        self.infoExelCredits.setObjectName(_fromUtf8("infoExelCredits"))
        self.infoExel = QtGui.QTableWidget(self.tab_4)
        self.infoExel.setGeometry(QtCore.QRect(0, 150, 1021, 271))
        self.infoExel.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.infoExel.setHorizontalScrollMode(QtGui.QAbstractItemView.ScrollPerPixel)
        self.infoExel.setColumnCount(8)
        self.infoExel.setObjectName(_fromUtf8("infoExel"))
        self.infoExel.setRowCount(0)
        item = QtGui.QTableWidgetItem()
        self.infoExel.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.infoExel.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.infoExel.setHorizontalHeaderItem(2, item)
        item = QtGui.QTableWidgetItem()
        self.infoExel.setHorizontalHeaderItem(3, item)
        item = QtGui.QTableWidgetItem()
        self.infoExel.setHorizontalHeaderItem(4, item)
        item = QtGui.QTableWidgetItem()
        self.infoExel.setHorizontalHeaderItem(5, item)
        item = QtGui.QTableWidgetItem()
        self.infoExel.setHorizontalHeaderItem(6, item)
        item = QtGui.QTableWidgetItem()
        self.infoExel.setHorizontalHeaderItem(7, item)
        self.infoExel.horizontalHeader().setSortIndicatorShown(True)
        self.viewTabs.addTab(self.tab_4, _fromUtf8(""))
        self.tab_5 = QtGui.QWidget()
        self.tab_5.setObjectName(_fromUtf8("tab_5"))
        self.companyViewText = QtGui.QTextEdit(self.tab_5)
        self.companyViewText.setGeometry(QtCore.QRect(240, 0, 551, 511))
        self.companyViewText.setReadOnly(True)
        self.companyViewText.setObjectName(_fromUtf8("companyViewText"))
        self.gridLayoutWidget = QtGui.QWidget(self.tab_5)
        self.gridLayoutWidget.setGeometry(QtCore.QRect(0, 0, 234, 197))
        self.gridLayoutWidget.setObjectName(_fromUtf8("gridLayoutWidget"))
        self.gridLayout = QtGui.QGridLayout(self.gridLayoutWidget)
        self.gridLayout.setMargin(0)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.companyViewCalendar = QtGui.QCalendarWidget(self.gridLayoutWidget)
        self.companyViewCalendar.setObjectName(_fromUtf8("companyViewCalendar"))
        self.gridLayout.addWidget(self.companyViewCalendar, 1, 0, 1, 1)
        self.companyViewCalendarFilter = QtGui.QCheckBox(self.gridLayoutWidget)
        self.companyViewCalendarFilter.setObjectName(_fromUtf8("companyViewCalendarFilter"))
        self.gridLayout.addWidget(self.companyViewCalendarFilter, 0, 0, 1, 1)
        self.viewTabs.addTab(self.tab_5, _fromUtf8(""))
        self.mainTab.addTab(self.logic, _fromUtf8(""))
        self.tab_6 = QtGui.QWidget()
        self.tab_6.setObjectName(_fromUtf8("tab_6"))
        self.checkBox = QtGui.QCheckBox(self.tab_6)
        self.checkBox.setGeometry(QtCore.QRect(10, 10, 131, 21))
        self.checkBox.setObjectName(_fromUtf8("checkBox"))
        self.gridLayoutWidget_2 = QtGui.QWidget(self.tab_6)
        self.gridLayoutWidget_2.setGeometry(QtCore.QRect(0, 30, 451, 221))
        self.gridLayoutWidget_2.setObjectName(_fromUtf8("gridLayoutWidget_2"))
        self.gridLayout_2 = QtGui.QGridLayout(self.gridLayoutWidget_2)
        self.gridLayout_2.setMargin(0)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.label_33 = QtGui.QLabel(self.gridLayoutWidget_2)
        self.label_33.setObjectName(_fromUtf8("label_33"))
        self.gridLayout_2.addWidget(self.label_33, 2, 1, 1, 1)
        self.label_31 = QtGui.QLabel(self.gridLayoutWidget_2)
        self.label_31.setObjectName(_fromUtf8("label_31"))
        self.gridLayout_2.addWidget(self.label_31, 1, 1, 1, 1)
        self.label_37 = QtGui.QLabel(self.gridLayoutWidget_2)
        self.label_37.setObjectName(_fromUtf8("label_37"))
        self.gridLayout_2.addWidget(self.label_37, 3, 1, 1, 1)
        self.label_38 = QtGui.QLabel(self.gridLayoutWidget_2)
        self.label_38.setObjectName(_fromUtf8("label_38"))
        self.gridLayout_2.addWidget(self.label_38, 4, 1, 1, 1)
        self.label_32 = QtGui.QLabel(self.gridLayoutWidget_2)
        self.label_32.setObjectName(_fromUtf8("label_32"))
        self.gridLayout_2.addWidget(self.label_32, 0, 1, 1, 1)
        self.label_34 = QtGui.QLabel(self.gridLayoutWidget_2)
        self.label_34.setObjectName(_fromUtf8("label_34"))
        self.gridLayout_2.addWidget(self.label_34, 5, 1, 1, 1)
        self.pfList = QtGui.QListWidget(self.gridLayoutWidget_2)
        self.pfList.setObjectName(_fromUtf8("pfList"))
        self.gridLayout_2.addWidget(self.pfList, 0, 0, 7, 1)
        self.label_36 = QtGui.QLabel(self.gridLayoutWidget_2)
        self.label_36.setObjectName(_fromUtf8("label_36"))
        self.gridLayout_2.addWidget(self.label_36, 6, 1, 1, 1)
        self.pfName = QtGui.QLineEdit(self.gridLayoutWidget_2)
        self.pfName.setObjectName(_fromUtf8("pfName"))
        self.gridLayout_2.addWidget(self.pfName, 0, 2, 1, 1)
        self.pfValue = QtGui.QDoubleSpinBox(self.gridLayoutWidget_2)
        self.pfValue.setMaximum(9999999.99)
        self.pfValue.setObjectName(_fromUtf8("pfValue"))
        self.gridLayout_2.addWidget(self.pfValue, 1, 2, 1, 1)
        self.pfDate = QtGui.QDateEdit(self.gridLayoutWidget_2)
        self.pfDate.setCalendarPopup(True)
        self.pfDate.setObjectName(_fromUtf8("pfDate"))
        self.gridLayout_2.addWidget(self.pfDate, 2, 2, 1, 1)
        self.pfRepeat = QtGui.QComboBox(self.gridLayoutWidget_2)
        self.pfRepeat.setObjectName(_fromUtf8("pfRepeat"))
        self.pfRepeat.addItem(_fromUtf8(""))
        self.pfRepeat.addItem(_fromUtf8(""))
        self.pfRepeat.addItem(_fromUtf8(""))
        self.gridLayout_2.addWidget(self.pfRepeat, 3, 2, 1, 2)
        self.pfActive = QtGui.QCheckBox(self.gridLayoutWidget_2)
        self.pfActive.setText(_fromUtf8(""))
        self.pfActive.setChecked(True)
        self.pfActive.setObjectName(_fromUtf8("pfActive"))
        self.gridLayout_2.addWidget(self.pfActive, 6, 2, 1, 1)
        self.pfPlusMinus = QtGui.QComboBox(self.gridLayoutWidget_2)
        self.pfPlusMinus.setObjectName(_fromUtf8("pfPlusMinus"))
        self.pfPlusMinus.addItem(_fromUtf8(""))
        self.pfPlusMinus.addItem(_fromUtf8(""))
        self.gridLayout_2.addWidget(self.pfPlusMinus, 5, 2, 1, 1)
        self.pfRepeatTimes = QtGui.QSpinBox(self.gridLayoutWidget_2)
        self.pfRepeatTimes.setObjectName(_fromUtf8("pfRepeatTimes"))
        self.gridLayout_2.addWidget(self.pfRepeatTimes, 4, 2, 1, 1)
        self.pfCreate = QtGui.QPushButton(self.gridLayoutWidget_2)
        self.pfCreate.setObjectName(_fromUtf8("pfCreate"))
        self.gridLayout_2.addWidget(self.pfCreate, 7, 0, 1, 1)
        self.pfSave = QtGui.QPushButton(self.gridLayoutWidget_2)
        self.pfSave.setObjectName(_fromUtf8("pfSave"))
        self.gridLayout_2.addWidget(self.pfSave, 7, 1, 1, 1)
        self.pfDelete = QtGui.QPushButton(self.gridLayoutWidget_2)
        self.pfDelete.setObjectName(_fromUtf8("pfDelete"))
        self.gridLayout_2.addWidget(self.pfDelete, 7, 2, 1, 1)
        self.gridLayoutWidget_3 = QtGui.QWidget(self.tab_6)
        self.gridLayoutWidget_3.setGeometry(QtCore.QRect(460, 30, 461, 201))
        self.gridLayoutWidget_3.setObjectName(_fromUtf8("gridLayoutWidget_3"))
        self.gridLayout_3 = QtGui.QGridLayout(self.gridLayoutWidget_3)
        self.gridLayout_3.setMargin(0)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.label_39 = QtGui.QLabel(self.gridLayoutWidget_3)
        self.label_39.setObjectName(_fromUtf8("label_39"))
        self.gridLayout_3.addWidget(self.label_39, 0, 1, 1, 1)
        self.pfSearch = QtGui.QLineEdit(self.gridLayoutWidget_3)
        self.pfSearch.setObjectName(_fromUtf8("pfSearch"))
        self.gridLayout_3.addWidget(self.pfSearch, 0, 3, 1, 1)
        self.pfCalendarEnabled = QtGui.QCheckBox(self.gridLayoutWidget_3)
        self.pfCalendarEnabled.setObjectName(_fromUtf8("pfCalendarEnabled"))
        self.gridLayout_3.addWidget(self.pfCalendarEnabled, 2, 0, 1, 1)
        self.pfSearchEnabled = QtGui.QCheckBox(self.gridLayoutWidget_3)
        self.pfSearchEnabled.setText(_fromUtf8(""))
        self.pfSearchEnabled.setObjectName(_fromUtf8("pfSearchEnabled"))
        self.gridLayout_3.addWidget(self.pfSearchEnabled, 0, 4, 1, 1)
        self.pfCalendar = QtGui.QCalendarWidget(self.gridLayoutWidget_3)
        self.pfCalendar.setObjectName(_fromUtf8("pfCalendar"))
        self.gridLayout_3.addWidget(self.pfCalendar, 0, 0, 1, 1)
        self.pfSummary = QtGui.QTextEdit(self.tab_6)
        self.pfSummary.setGeometry(QtCore.QRect(20, 260, 671, 331))
        self.pfSummary.setObjectName(_fromUtf8("pfSummary"))
        self.mainTab.addTab(self.tab_6, _fromUtf8(""))
        self.settings = QtGui.QWidget()
        self.settings.setObjectName(_fromUtf8("settings"))
        self.formLayoutWidget_7 = QtGui.QWidget(self.settings)
        self.formLayoutWidget_7.setGeometry(QtCore.QRect(10, 10, 291, 251))
        self.formLayoutWidget_7.setObjectName(_fromUtf8("formLayoutWidget_7"))
        self.formLayout_7 = QtGui.QFormLayout(self.formLayoutWidget_7)
        self.formLayout_7.setLabelAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
        self.formLayout_7.setMargin(0)
        self.formLayout_7.setObjectName(_fromUtf8("formLayout_7"))
        self.label_23 = QtGui.QLabel(self.formLayoutWidget_7)
        self.label_23.setObjectName(_fromUtf8("label_23"))
        self.formLayout_7.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_23)
        self.configList = QtGui.QListWidget(self.formLayoutWidget_7)
        self.configList.setObjectName(_fromUtf8("configList"))
        self.formLayout_7.setWidget(3, QtGui.QFormLayout.SpanningRole, self.configList)
        self.label_26 = QtGui.QLabel(self.formLayoutWidget_7)
        self.label_26.setObjectName(_fromUtf8("label_26"))
        self.formLayout_7.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_26)
        self.label_27 = QtGui.QLabel(self.formLayoutWidget_7)
        self.label_27.setObjectName(_fromUtf8("label_27"))
        self.formLayout_7.setWidget(5, QtGui.QFormLayout.LabelRole, self.label_27)
        self.configKey = QtGui.QLineEdit(self.formLayoutWidget_7)
        self.configKey.setObjectName(_fromUtf8("configKey"))
        self.formLayout_7.setWidget(4, QtGui.QFormLayout.FieldRole, self.configKey)
        self.configValue = QtGui.QLineEdit(self.formLayoutWidget_7)
        self.configValue.setObjectName(_fromUtf8("configValue"))
        self.formLayout_7.setWidget(5, QtGui.QFormLayout.FieldRole, self.configValue)
        self.createConfig = QtGui.QPushButton(self.formLayoutWidget_7)
        self.createConfig.setObjectName(_fromUtf8("createConfig"))
        self.formLayout_7.setWidget(6, QtGui.QFormLayout.LabelRole, self.createConfig)
        self.saveConfig = QtGui.QPushButton(self.formLayoutWidget_7)
        self.saveConfig.setObjectName(_fromUtf8("saveConfig"))
        self.formLayout_7.setWidget(6, QtGui.QFormLayout.FieldRole, self.saveConfig)
        self.deleteConfig = QtGui.QPushButton(self.formLayoutWidget_7)
        self.deleteConfig.setObjectName(_fromUtf8("deleteConfig"))
        self.formLayout_7.setWidget(7, QtGui.QFormLayout.FieldRole, self.deleteConfig)
        self.textEdit = QtGui.QTextEdit(self.settings)
        self.textEdit.setGeometry(QtCore.QRect(330, 10, 421, 261))
        self.textEdit.setUndoRedoEnabled(False)
        self.textEdit.setReadOnly(True)
        self.textEdit.setObjectName(_fromUtf8("textEdit"))
        self.mainTab.addTab(self.settings, _fromUtf8(""))
        self.status = QtGui.QLabel(self.centralwidget)
        self.status.setGeometry(QtCore.QRect(760, 10, 271, 16))
        self.status.setTextFormat(QtCore.Qt.PlainText)
        self.status.setObjectName(_fromUtf8("status"))
        MainWindowSingle.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindowSingle)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 923, 20))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        MainWindowSingle.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindowSingle)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        MainWindowSingle.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindowSingle)
        self.mainTab.setCurrentIndex(1)
        self.tabWidget_2.setCurrentIndex(2)
        self.viewTabs.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindowSingle)

    def retranslateUi(self, MainWindowSingle):
        MainWindowSingle.setWindowTitle(_translate("MainWindowSingle", "Jobmanagement - Single View", None))
        self.mainTab.setWhatsThis(_translate("MainWindowSingle", "<html><head/><body><p>Personal finances</p></body></html>", None))
        self.label_2.setText(_translate("MainWindowSingle", "Jobs", None))
        self.showInactive.setText(_translate("MainWindowSingle", "Show Inactive", None))
        self.label_3.setText(_translate("MainWindowSingle", "Companyname", None))
        self.label_4.setText(_translate("MainWindowSingle", "Loan", None))
        self.saveCompany.setText(_translate("MainWindowSingle", "Save", None))
        self.label_25.setText(_translate("MainWindowSingle", "Credits (to Company)", None))
        self.label_15.setText(_translate("MainWindowSingle", "Money", None))
        self.label_16.setText(_translate("MainWindowSingle", "Date", None))
        self.creditDate.setDisplayFormat(_translate("MainWindowSingle", "dd.MM.yyyy", None))
        self.creditPayed.setText(_translate("MainWindowSingle", "Payed", None))
        self.label_30.setText(_translate("MainWindowSingle", "Name/Comment", None))
        self.creditActive.setText(_translate("MainWindowSingle", "Active", None))
        self.createCredit.setText(_translate("MainWindowSingle", "Create", None))
        self.saveCredit.setText(_translate("MainWindowSingle", "Save", None))
        self.deleteCredit.setText(_translate("MainWindowSingle", "Delete", None))
        self.tabWidget_2.setTabText(self.tabWidget_2.indexOf(self.tab), _translate("MainWindowSingle", "Credits", None))
        self.label_20.setText(_translate("MainWindowSingle", "Loan Splits", None))
        self.createLoanSplit.setText(_translate("MainWindowSingle", "Create", None))
        self.saveLoanSplit.setText(_translate("MainWindowSingle", "Save", None))
        self.deleteLoanSplit.setText(_translate("MainWindowSingle", "Delete", None))
        self.label_21.setText(_translate("MainWindowSingle", "Name", None))
        self.label_22.setText(_translate("MainWindowSingle", "Value", None))
        self.loanSplitMoney.setText(_translate("MainWindowSingle", "on=money,off=percent", None))
        self.tabWidget_2.setTabText(self.tabWidget_2.indexOf(self.tab_2), _translate("MainWindowSingle", "Loan Splits", None))
        self.label_17.setText(_translate("MainWindowSingle", "Name", None))
        self.label_18.setText(_translate("MainWindowSingle", "Money", None))
        self.label_8.setText(_translate("MainWindowSingle", "Static Charges", None))
        self.createCharge.setText(_translate("MainWindowSingle", "Create", None))
        self.saveCharge.setText(_translate("MainWindowSingle", "Save", None))
        self.deleteCharge.setText(_translate("MainWindowSingle", "Delete", None))
        self.addChargeToJob.setText(_translate("MainWindowSingle", "Add to job", None))
        self.plainTextEdit.setPlainText(_translate("MainWindowSingle", "A static charge doesn\'t get active till you add it to a job. Don\'t forget to tell the job, how many time u used the charge effective..", None))
        self.tabWidget_2.setTabText(self.tabWidget_2.indexOf(self.tab_3), _translate("MainWindowSingle", "Static Charges", None))
        self.label_5.setText(_translate("MainWindowSingle", "Jobname", None))
        self.label_6.setText(_translate("MainWindowSingle", "Place", None))
        self.label_7.setText(_translate("MainWindowSingle", "Leader", None))
        self.label_9.setText(_translate("MainWindowSingle", "Hours (per day)", None))
        self.label_12.setText(_translate("MainWindowSingle", "Correction (allTime)", None))
        self.label_11.setText(_translate("MainWindowSingle", "Weekenddays (per 7d)", None))
        self.jobComment.setPlainText(_translate("MainWindowSingle", "Comments...", None))
        self.saveJob.setText(_translate("MainWindowSingle", "Save", None))
        self.active.setText(_translate("MainWindowSingle", "Active", None))
        self.createJob.setText(_translate("MainWindowSingle", "Create", None))
        self.deleteJob.setText(_translate("MainWindowSingle", "Delete", None))
        self.daysCalc.setText(_translate("MainWindowSingle", "how many days..", None))
        self.hoursCalc.setText(_translate("MainWindowSingle", "how many hours @all..", None))
        self.deleteWorkSpese.setText(_translate("MainWindowSingle", "Delete", None))
        self.label_28.setText(_translate("MainWindowSingle", "Workchargetime (0=daily)", None))
        self.wChargeSave.setText(_translate("MainWindowSingle", "Save", None))
        self.label_29.setText(_translate("MainWindowSingle", "Workcharge", None))
        self.mainTab.setTabText(self.mainTab.indexOf(self.data), _translate("MainWindowSingle", "Data", None))
        self.mainTab.setTabToolTip(self.mainTab.indexOf(self.data), _translate("MainWindowSingle", "Here u could put in ur stuff", None))
        self.filterAll.setText(_translate("MainWindowSingle", " Filter @All", None))
        self.filterCalendar.setText(_translate("MainWindowSingle", "Filter Calendar", None))
        self.label_19.setText(_translate("MainWindowSingle", "Search", None))
        self.filterInactive.setText(_translate("MainWindowSingle", "Show Inactive", None))
        self.label_10.setText(_translate("MainWindowSingle", "Summe (gesammt)", None))
        self.infoExel.setSortingEnabled(True)
        item = self.infoExel.horizontalHeaderItem(0)
        item.setText(_translate("MainWindowSingle", "Jobname", None))
        item = self.infoExel.horizontalHeaderItem(1)
        item.setText(_translate("MainWindowSingle", "Place", None))
        item = self.infoExel.horizontalHeaderItem(2)
        item.setText(_translate("MainWindowSingle", "Leader", None))
        item = self.infoExel.horizontalHeaderItem(3)
        item.setText(_translate("MainWindowSingle", "Loan", None))
        item = self.infoExel.horizontalHeaderItem(4)
        item.setText(_translate("MainWindowSingle", "Time", None))
        item = self.infoExel.horizontalHeaderItem(5)
        item.setText(_translate("MainWindowSingle", "Charges", None))
        item = self.infoExel.horizontalHeaderItem(6)
        item.setText(_translate("MainWindowSingle", "Splits", None))
        item = self.infoExel.horizontalHeaderItem(7)
        item.setText(_translate("MainWindowSingle", "Summe", None))
        self.viewTabs.setTabText(self.viewTabs.indexOf(self.tab_4), _translate("MainWindowSingle", "Overview", None))
        self.companyViewCalendarFilter.setText(_translate("MainWindowSingle", "Calendarfilter", None))
        self.viewTabs.setTabText(self.viewTabs.indexOf(self.tab_5), _translate("MainWindowSingle", "Detailview Company", None))
        self.mainTab.setTabText(self.mainTab.indexOf(self.logic), _translate("MainWindowSingle", "Logics - Checks", None))
        self.checkBox.setText(_translate("MainWindowSingle", "Zeige Inaktive", None))
        self.label_33.setText(_translate("MainWindowSingle", "Date", None))
        self.label_31.setText(_translate("MainWindowSingle", "Value", None))
        self.label_37.setText(_translate("MainWindowSingle", "Repeat", None))
        self.label_38.setText(_translate("MainWindowSingle", "Repeat Times", None))
        self.label_32.setText(_translate("MainWindowSingle", "Name", None))
        self.label_34.setText(_translate("MainWindowSingle", "Plus/Minus", None))
        self.label_36.setText(_translate("MainWindowSingle", "Active", None))
        self.pfDate.setDisplayFormat(_translate("MainWindowSingle", "dd.MM.yyyy", None))
        self.pfRepeat.setItemText(0, _translate("MainWindowSingle", "Daily", None))
        self.pfRepeat.setItemText(1, _translate("MainWindowSingle", "Weekly", None))
        self.pfRepeat.setItemText(2, _translate("MainWindowSingle", "Monthly", None))
        self.pfPlusMinus.setItemText(0, _translate("MainWindowSingle", "+", None))
        self.pfPlusMinus.setItemText(1, _translate("MainWindowSingle", "-", None))
        self.pfCreate.setText(_translate("MainWindowSingle", "Create", None))
        self.pfSave.setText(_translate("MainWindowSingle", "Save", None))
        self.pfDelete.setText(_translate("MainWindowSingle", "Delete", None))
        self.label_39.setText(_translate("MainWindowSingle", "Search", None))
        self.pfCalendarEnabled.setText(_translate("MainWindowSingle", "Filter Calendar", None))
        self.mainTab.setTabText(self.mainTab.indexOf(self.tab_6), _translate("MainWindowSingle", "Personal finances", None))
        self.label_23.setText(_translate("MainWindowSingle", "Configs", None))
        self.label_26.setText(_translate("MainWindowSingle", "Key", None))
        self.label_27.setText(_translate("MainWindowSingle", "Value", None))
        self.createConfig.setText(_translate("MainWindowSingle", "Create", None))
        self.saveConfig.setText(_translate("MainWindowSingle", "Save", None))
        self.deleteConfig.setText(_translate("MainWindowSingle", "Delete", None))
        self.textEdit.setHtml(_translate("MainWindowSingle", "<!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:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:18pt; text-decoration: underline;\">Avaible Config-Keys</span></p>\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">lang / language = language - put the right filename (*.qm in your folder) there and restart</p></body></html>", None))
        self.mainTab.setTabText(self.mainTab.indexOf(self.settings), _translate("MainWindowSingle", "Settings", "en"))
        self.status.setText(_translate("MainWindowSingle", "Status..", None))
class Ui_SendSHP(object):
    def setupUi(self, SendSHP):
        SendSHP.setObjectName("SendSHP")
        SendSHP.resize(407, 393)
        self.shp_file = QtGui.QLineEdit(SendSHP)
        self.shp_file.setGeometry(QtCore.QRect(20, 120, 251, 27))
        self.shp_file.setObjectName("shp_file")
        self.label = QtGui.QLabel(SendSHP)
        self.label.setGeometry(QtCore.QRect(20, 90, 62, 17))
        self.label.setObjectName("label")
        self.layoutWidget = QtGui.QWidget(SendSHP)
        self.layoutWidget.setGeometry(QtCore.QRect(300, 10, 95, 171))
        self.layoutWidget.setObjectName("layoutWidget")
        self.verticalLayout = QtGui.QVBoxLayout(self.layoutWidget)
        self.verticalLayout.setObjectName("verticalLayout")
        self.shp_select = QtGui.QPushButton(self.layoutWidget)
        self.shp_select.setObjectName("shp_select")
        self.verticalLayout.addWidget(self.shp_select)
        self.shp_clear = QtGui.QPushButton(self.layoutWidget)
        self.shp_clear.setObjectName("shp_clear")
        self.verticalLayout.addWidget(self.shp_clear)
        self.shp_send = QtGui.QPushButton(self.layoutWidget)
        self.shp_send.setObjectName("shp_send")
        self.verticalLayout.addWidget(self.shp_send)
        self.shp_cancel = QtGui.QPushButton(self.layoutWidget)
        self.shp_cancel.setObjectName("shp_cancel")
        self.verticalLayout.addWidget(self.shp_cancel)
        self.status_led = KLed(SendSHP)
        self.status_led.setGeometry(QtCore.QRect(70, 370, 16, 16))
        self.status_led.setState(QtGui.KLed.Off)
        self.status_led.setShape(QtGui.KLed.Circular)
        self.status_led.setLook(QtGui.KLed.Raised)
        self.status_led.setObjectName("status_led")
        self.shp_status = QtGui.QLabel(SendSHP)
        self.shp_status.setGeometry(QtCore.QRect(20, 370, 50, 17))
        self.shp_status.setObjectName("shp_status")
        self.error_label = QtGui.QLabel(SendSHP)
        self.error_label.setGeometry(QtCore.QRect(20, 150, 251, 17))
        font = QtGui.QFont()
        font.setFamily("gargi")
        self.error_label.setFont(font)
        self.error_label.setText("")
        self.error_label.setObjectName("error_label")
        self.frame = QtGui.QFrame(SendSHP)
        self.frame.setGeometry(QtCore.QRect(20, 200, 251, 146))
        font = QtGui.QFont()
        font.setFamily("Andale Mono")
        font.setWeight(50)
        font.setStrikeOut(False)
        font.setBold(False)
        self.frame.setFont(font)
        self.frame.setFrameShape(QtGui.QFrame.Box)
        self.frame.setFrameShadow(QtGui.QFrame.Raised)
        self.frame.setLineWidth(1)
        self.frame.setObjectName("frame")
        self.line = QtGui.QFrame(self.frame)
        self.line.setGeometry(QtCore.QRect(0, 22, 251, 16))
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.line_2 = QtGui.QFrame(self.frame)
        self.line_2.setGeometry(QtCore.QRect(60, 0, 20, 151))
        self.line_2.setFrameShape(QtGui.QFrame.VLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.label_2 = QtGui.QLabel(self.frame)
        self.label_2.setGeometry(QtCore.QRect(0, 10, 62, 17))
        self.label_2.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
        self.label_2.setObjectName("label_2")
        self.label_3 = QtGui.QLabel(self.frame)
        self.label_3.setGeometry(QtCore.QRect(0, 40, 62, 17))
        self.label_3.setAutoFillBackground(False)
        self.label_3.setFrameShape(QtGui.QFrame.NoFrame)
        self.label_3.setFrameShadow(QtGui.QFrame.Plain)
        self.label_3.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
        self.label_3.setWordWrap(False)
        self.label_3.setObjectName("label_3")
        self.file_info = QtGui.QLabel(self.frame)
        self.file_info.setGeometry(QtCore.QRect(60, 10, 191, 17))
        self.file_info.setText("")
        self.file_info.setObjectName("file_info")
        self.table_info = QtGui.QLabel(self.frame)
        self.table_info.setGeometry(QtCore.QRect(60, 30, 191, 17))
        self.table_info.setText("")
        self.table_info.setObjectName("table_info")
        self.line_3 = QtGui.QFrame(self.frame)
        self.line_3.setGeometry(QtCore.QRect(0, 50, 251, 16))
        self.line_3.setFrameShape(QtGui.QFrame.HLine)
        self.line_3.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_3.setObjectName("line_3")
        self.line_4 = QtGui.QFrame(self.frame)
        self.line_4.setGeometry(QtCore.QRect(0, 80, 251, 16))
        self.line_4.setFrameShape(QtGui.QFrame.HLine)
        self.line_4.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_4.setObjectName("line_4")
        self.line_5 = QtGui.QFrame(self.frame)
        self.line_5.setGeometry(QtCore.QRect(0, 110, 251, 16))
        self.line_5.setFrameShape(QtGui.QFrame.HLine)
        self.line_5.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_5.setObjectName("line_5")
        self.label_5 = QtGui.QLabel(self.frame)
        self.label_5.setGeometry(QtCore.QRect(0, 70, 62, 17))
        self.label_5.setObjectName("label_5")
        self.label_6 = QtGui.QLabel(self.frame)
        self.label_6.setGeometry(QtCore.QRect(0, 100, 62, 17))
        self.label_6.setObjectName("label_6")
        self.label_7 = QtGui.QLabel(self.frame)
        self.label_7.setGeometry(QtCore.QRect(0, 130, 62, 17))
        self.label_7.setObjectName("label_7")
        self.host_info = QtGui.QLabel(self.frame)
        self.host_info.setGeometry(QtCore.QRect(70, 70, 171, 17))
        self.host_info.setText("")
        self.host_info.setObjectName("host_info")
        self.ip_info = QtGui.QLabel(self.frame)
        self.ip_info.setGeometry(QtCore.QRect(70, 100, 181, 17))
        self.ip_info.setText("")
        self.ip_info.setObjectName("ip_info")
        self.user_info = QtGui.QLabel(self.frame)
        self.user_info.setGeometry(QtCore.QRect(70, 126, 181, 21))
        self.user_info.setText("")
        self.user_info.setObjectName("user_info")
        self.label_4 = QtGui.QLabel(SendSHP)
        self.label_4.setGeometry(QtCore.QRect(20, 10, 62, 17))
        self.label_4.setObjectName("label_4")
        self.db_table = QtGui.QLineEdit(SendSHP)
        self.db_table.setGeometry(QtCore.QRect(20, 40, 251, 27))
        self.db_table.setObjectName("db_table")
        self.table_error_label = QtGui.QLabel(SendSHP)
        self.table_error_label.setGeometry(QtCore.QRect(20, 70, 251, 17))
        self.table_error_label.setText("")
        self.table_error_label.setObjectName("table_error_label")

        self.retranslateUi(SendSHP)
        QtCore.QObject.connect(self.shp_clear, QtCore.SIGNAL("clicked()"), self.shp_file.clear)
        QtCore.QMetaObject.connectSlotsByName(SendSHP)

    def retranslateUi(self, SendSHP):
        SendSHP.setWindowTitle(QtGui.QApplication.translate("SendSHP", "Send SHP", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("SendSHP", "File:", None, QtGui.QApplication.UnicodeUTF8))
        self.shp_select.setText(QtGui.QApplication.translate("SendSHP", "Select", None, QtGui.QApplication.UnicodeUTF8))
        self.shp_clear.setText(QtGui.QApplication.translate("SendSHP", "Clear", None, QtGui.QApplication.UnicodeUTF8))
        self.shp_send.setText(QtGui.QApplication.translate("SendSHP", "Send", None, QtGui.QApplication.UnicodeUTF8))
        self.shp_cancel.setText(QtGui.QApplication.translate("SendSHP", "Cancel", None, QtGui.QApplication.UnicodeUTF8))
        self.shp_status.setText(QtGui.QApplication.translate("SendSHP", "Status", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("SendSHP", "File", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("SendSHP", "Table", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("SendSHP", "Host", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("SendSHP", "IP", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("SendSHP", "User", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("SendSHP", "Table:", None, QtGui.QApplication.UnicodeUTF8))
Ejemplo n.º 6
0
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName(_fromUtf8("Dialog"))
        Dialog.resize(753, 682)
        self.frame = QtGui.QFrame(Dialog)
        self.frame.setGeometry(QtCore.QRect(20, 20, 341, 281))
        self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtGui.QFrame.Raised)
        self.frame.setObjectName(_fromUtf8("frame"))
        self.label_4 = QtGui.QLabel(self.frame)
        self.label_4.setGeometry(QtCore.QRect(60, 185, 161, 21))
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.label = QtGui.QLabel(self.frame)
        self.label.setGeometry(QtCore.QRect(60, 65, 51, 21))
        self.label.setObjectName(_fromUtf8("label"))
        self.kled_NETWORK = KLed(self.frame)
        self.kled_NETWORK.setGeometry(QtCore.QRect(20, 100, 28, 28))
        self.kled_NETWORK.setState(KLed.Off)
        self.kled_NETWORK.setObjectName(_fromUtf8("kled_NETWORK"))
        self.kled_SWITCH2 = KLed(self.frame)
        self.kled_SWITCH2.setGeometry(QtCore.QRect(20, 180, 28, 28))
        self.kled_SWITCH2.setState(KLed.Off)
        self.kled_SWITCH2.setObjectName(_fromUtf8("kled_SWITCH2"))
        self.kled_RFFE = KLed(self.frame)
        self.kled_RFFE.setGeometry(QtCore.QRect(20, 60, 28, 28))
        self.kled_RFFE.setState(KLed.Off)
        self.kled_RFFE.setObjectName(_fromUtf8("kled_RFFE"))
        self.label_3 = QtGui.QLabel(self.frame)
        self.label_3.setGeometry(QtCore.QRect(60, 145, 251, 21))
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.kled_SWITCH1 = KLed(self.frame)
        self.kled_SWITCH1.setGeometry(QtCore.QRect(20, 140, 28, 28))
        self.kled_SWITCH1.setState(KLed.Off)
        self.kled_SWITCH1.setObjectName(_fromUtf8("kled_SWITCH1"))
        self.label_2 = QtGui.QLabel(self.frame)
        self.label_2.setGeometry(QtCore.QRect(60, 105, 201, 21))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.label_5 = QtGui.QLabel(self.frame)
        self.label_5.setGeometry(QtCore.QRect(0, 20, 341, 20))
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.label_14 = QtGui.QLabel(self.frame)
        self.label_14.setGeometry(QtCore.QRect(60, 225, 171, 21))
        self.label_14.setObjectName(_fromUtf8("label_14"))
        self.kled_WAVEFORM = KLed(self.frame)
        self.kled_WAVEFORM.setGeometry(QtCore.QRect(20, 220, 28, 28))
        self.kled_WAVEFORM.setState(KLed.Off)
        self.kled_WAVEFORM.setObjectName(_fromUtf8("kled_WAVEFORM"))
        self.frame_2 = QtGui.QFrame(Dialog)
        self.frame_2.setGeometry(QtCore.QRect(380, 20, 341, 351))
        self.frame_2.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame_2.setFrameShadow(QtGui.QFrame.Raised)
        self.frame_2.setObjectName(_fromUtf8("frame_2"))
        self.label_6 = QtGui.QLabel(self.frame_2)
        self.label_6.setGeometry(QtCore.QRect(60, 155, 181, 20))
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.label_7 = QtGui.QLabel(self.frame_2)
        self.label_7.setGeometry(QtCore.QRect(60, 51, 121, 20))
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.kled_ATENUADORES_TEST = KLed(self.frame_2)
        self.kled_ATENUADORES_TEST.setGeometry(QtCore.QRect(20, 80, 31, 31))
        self.kled_ATENUADORES_TEST.setState(KLed.Off)
        self.kled_ATENUADORES_TEST.setObjectName(
            _fromUtf8("kled_ATENUADORES_TEST"))
        self.kled_RESP_FREQ_TEST = KLed(self.frame_2)
        self.kled_RESP_FREQ_TEST.setGeometry(QtCore.QRect(20, 150, 31, 31))
        self.kled_RESP_FREQ_TEST.setState(KLed.Off)
        self.kled_RESP_FREQ_TEST.setObjectName(
            _fromUtf8("kled_RESP_FREQ_TEST"))
        self.kled_PARAMETRO_S_TEST = KLed(self.frame_2)
        self.kled_PARAMETRO_S_TEST.setGeometry(QtCore.QRect(20, 45, 31, 31))
        self.kled_PARAMETRO_S_TEST.setState(KLed.Off)
        self.kled_PARAMETRO_S_TEST.setObjectName(
            _fromUtf8("kled_PARAMETRO_S_TEST"))
        self.label_8 = QtGui.QLabel(self.frame_2)
        self.label_8.setGeometry(QtCore.QRect(60, 125, 81, 16))
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.kled_RF_SWITCH_TEST = KLed(self.frame_2)
        self.kled_RF_SWITCH_TEST.setGeometry(QtCore.QRect(20, 115, 31, 31))
        self.kled_RF_SWITCH_TEST.setState(KLed.Off)
        self.kled_RF_SWITCH_TEST.setObjectName(
            _fromUtf8("kled_RF_SWITCH_TEST"))
        self.label_9 = QtGui.QLabel(self.frame_2)
        self.label_9.setGeometry(QtCore.QRect(60, 85, 201, 21))
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.label_10 = QtGui.QLabel(self.frame_2)
        self.label_10.setGeometry(QtCore.QRect(0, 20, 341, 20))
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.kled_RETURN_LOSS_TEST = KLed(self.frame_2)
        self.kled_RETURN_LOSS_TEST.setGeometry(QtCore.QRect(20, 185, 31, 31))
        self.kled_RETURN_LOSS_TEST.setState(KLed.Off)
        self.kled_RETURN_LOSS_TEST.setObjectName(
            _fromUtf8("kled_RETURN_LOSS_TEST"))
        self.label_12 = QtGui.QLabel(self.frame_2)
        self.label_12.setGeometry(QtCore.QRect(60, 190, 141, 21))
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.kled_LINEARIDADE_TEST = KLed(self.frame_2)
        self.kled_LINEARIDADE_TEST.setGeometry(QtCore.QRect(20, 220, 31, 31))
        self.kled_LINEARIDADE_TEST.setState(KLed.Off)
        self.kled_LINEARIDADE_TEST.setObjectName(
            _fromUtf8("kled_LINEARIDADE_TEST"))
        self.label_13 = QtGui.QLabel(self.frame_2)
        self.label_13.setGeometry(QtCore.QRect(60, 230, 141, 16))
        self.label_13.setObjectName(_fromUtf8("label_13"))
        self.kled_CROSSTALK_TEST = KLed(self.frame_2)
        self.kled_CROSSTALK_TEST.setGeometry(QtCore.QRect(20, 255, 31, 31))
        self.kled_CROSSTALK_TEST.setState(KLed.Off)
        self.kled_CROSSTALK_TEST.setObjectName(
            _fromUtf8("kled_CROSSTALK_TEST"))
        self.label_15 = QtGui.QLabel(self.frame_2)
        self.label_15.setGeometry(QtCore.QRect(60, 265, 141, 16))
        self.label_15.setObjectName(_fromUtf8("label_15"))
        self.kled_TEMPERATURE_TEST = KLed(self.frame_2)
        self.kled_TEMPERATURE_TEST.setGeometry(QtCore.QRect(20, 290, 31, 31))
        self.kled_TEMPERATURE_TEST.setState(KLed.Off)
        self.kled_TEMPERATURE_TEST.setObjectName(
            _fromUtf8("kled_TEMPERATURE_TEST"))
        self.label_16 = QtGui.QLabel(self.frame_2)
        self.label_16.setGeometry(QtCore.QRect(60, 300, 101, 16))
        self.label_16.setObjectName(_fromUtf8("label_16"))
        self.frame_4 = QtGui.QFrame(Dialog)
        self.frame_4.setGeometry(QtCore.QRect(380, 380, 341, 241))
        self.frame_4.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame_4.setFrameShadow(QtGui.QFrame.Raised)
        self.frame_4.setObjectName(_fromUtf8("frame_4"))
        self.label_27 = QtGui.QLabel(self.frame_4)
        self.label_27.setGeometry(QtCore.QRect(60, 45, 51, 21))
        self.label_27.setObjectName(_fromUtf8("label_27"))
        self.kled_statusFAIL = KLed(self.frame_4)
        self.kled_statusFAIL.setGeometry(QtCore.QRect(20, 80, 28, 28))
        self.kled_statusFAIL.setColor(QtGui.QColor(255, 0, 0))
        self.kled_statusFAIL.setObjectName(_fromUtf8("kled_statusFAIL"))
        self.kled_statusOK = KLed(self.frame_4)
        self.kled_statusOK.setGeometry(QtCore.QRect(20, 40, 28, 28))
        self.kled_statusOK.setObjectName(_fromUtf8("kled_statusOK"))
        self.label_28 = QtGui.QLabel(self.frame_4)
        self.label_28.setGeometry(QtCore.QRect(60, 165, 251, 21))
        self.label_28.setObjectName(_fromUtf8("label_28"))
        self.kled_statusNotUsed = KLed(self.frame_4)
        self.kled_statusNotUsed.setGeometry(QtCore.QRect(20, 160, 28, 28))
        self.kled_statusNotUsed.setColor(QtGui.QColor(0, 0, 255))
        self.kled_statusNotUsed.setObjectName(_fromUtf8("kled_statusNotUsed"))
        self.label_29 = QtGui.QLabel(self.frame_4)
        self.label_29.setGeometry(QtCore.QRect(60, 85, 201, 21))
        self.label_29.setObjectName(_fromUtf8("label_29"))
        self.label_30 = QtGui.QLabel(self.frame_4)
        self.label_30.setGeometry(QtCore.QRect(0, 20, 341, 20))
        self.label_30.setObjectName(_fromUtf8("label_30"))
        self.kled_statusNaoAvaliado = KLed(self.frame_4)
        self.kled_statusNaoAvaliado.setGeometry(QtCore.QRect(20, 200, 28, 28))
        self.kled_statusNaoAvaliado.setState(KLed.Off)
        self.kled_statusNaoAvaliado.setObjectName(
            _fromUtf8("kled_statusNaoAvaliado"))
        self.label_31 = QtGui.QLabel(self.frame_4)
        self.label_31.setGeometry(QtCore.QRect(60, 205, 251, 21))
        self.label_31.setObjectName(_fromUtf8("label_31"))
        self.kled_statusExecutando = KLed(self.frame_4)
        self.kled_statusExecutando.setGeometry(QtCore.QRect(20, 120, 28, 28))
        self.kled_statusExecutando.setColor(QtGui.QColor(255, 255, 0))
        self.kled_statusExecutando.setObjectName(
            _fromUtf8("kled_statusExecutando"))
        self.label_32 = QtGui.QLabel(self.frame_4)
        self.label_32.setGeometry(QtCore.QRect(60, 126, 201, 20))
        self.label_32.setObjectName(_fromUtf8("label_32"))
        self.OK_Button = QtGui.QPushButton(Dialog)
        self.OK_Button.setGeometry(QtCore.QRect(620, 640, 87, 27))
        self.OK_Button.setObjectName(_fromUtf8("OK_Button"))
        self.progressBar = QtGui.QProgressBar(Dialog)
        self.progressBar.setGeometry(QtCore.QRect(220, 640, 311, 23))
        self.progressBar.setProperty("value", 0)
        self.progressBar.setObjectName(_fromUtf8("progressBar"))
        self.frame_3 = QtGui.QFrame(Dialog)
        self.frame_3.setGeometry(QtCore.QRect(20, 320, 341, 291))
        self.frame_3.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame_3.setFrameShadow(QtGui.QFrame.Raised)
        self.frame_3.setObjectName(_fromUtf8("frame_3"))
        self.label_33 = QtGui.QLabel(self.frame_3)
        self.label_33.setGeometry(QtCore.QRect(0, 10, 341, 20))
        self.label_33.setObjectName(_fromUtf8("label_33"))
        self.kled_CH1_B_SWITCH2 = KLed(self.frame_3)
        self.kled_CH1_B_SWITCH2.setGeometry(QtCore.QRect(190, 195, 28, 28))
        self.kled_CH1_B_SWITCH2.setState(KLed.Off)
        self.kled_CH1_B_SWITCH2.setObjectName(_fromUtf8("kled_CH1_B_SWITCH2"))
        self.label_36 = QtGui.QLabel(self.frame_3)
        self.label_36.setGeometry(QtCore.QRect(280, 200, 31, 21))
        self.label_36.setObjectName(_fromUtf8("label_36"))
        self.kled_CH4_B_SWITCH2 = KLed(self.frame_3)
        self.kled_CH4_B_SWITCH2.setGeometry(QtCore.QRect(190, 235, 28, 28))
        self.kled_CH4_B_SWITCH2.setState(KLed.Off)
        self.kled_CH4_B_SWITCH2.setObjectName(_fromUtf8("kled_CH4_B_SWITCH2"))
        self.label_37 = QtGui.QLabel(self.frame_3)
        self.label_37.setGeometry(QtCore.QRect(220, 240, 31, 21))
        self.label_37.setObjectName(_fromUtf8("label_37"))
        self.kled_CH2_B_SWITCH2 = KLed(self.frame_3)
        self.kled_CH2_B_SWITCH2.setGeometry(QtCore.QRect(250, 195, 28, 28))
        self.kled_CH2_B_SWITCH2.setState(KLed.Off)
        self.kled_CH2_B_SWITCH2.setObjectName(_fromUtf8("kled_CH2_B_SWITCH2"))
        self.kled_CH3_B_SWITCH2 = KLed(self.frame_3)
        self.kled_CH3_B_SWITCH2.setGeometry(QtCore.QRect(250, 235, 28, 28))
        self.kled_CH3_B_SWITCH2.setState(KLed.Off)
        self.kled_CH3_B_SWITCH2.setObjectName(_fromUtf8("kled_CH3_B_SWITCH2"))
        self.label_38 = QtGui.QLabel(self.frame_3)
        self.label_38.setGeometry(QtCore.QRect(220, 200, 31, 21))
        self.label_38.setObjectName(_fromUtf8("label_38"))
        self.label_39 = QtGui.QLabel(self.frame_3)
        self.label_39.setGeometry(QtCore.QRect(280, 240, 31, 21))
        self.label_39.setObjectName(_fromUtf8("label_39"))
        self.kled_CH3_A_SWITCH2 = KLed(self.frame_3)
        self.kled_CH3_A_SWITCH2.setGeometry(QtCore.QRect(100, 235, 28, 28))
        self.kled_CH3_A_SWITCH2.setState(KLed.Off)
        self.kled_CH3_A_SWITCH2.setObjectName(_fromUtf8("kled_CH3_A_SWITCH2"))
        self.label_40 = QtGui.QLabel(self.frame_3)
        self.label_40.setGeometry(QtCore.QRect(130, 200, 31, 21))
        self.label_40.setObjectName(_fromUtf8("label_40"))
        self.label_41 = QtGui.QLabel(self.frame_3)
        self.label_41.setGeometry(QtCore.QRect(130, 240, 31, 21))
        self.label_41.setObjectName(_fromUtf8("label_41"))
        self.label_42 = QtGui.QLabel(self.frame_3)
        self.label_42.setGeometry(QtCore.QRect(70, 240, 31, 21))
        self.label_42.setObjectName(_fromUtf8("label_42"))
        self.kled_CH4_A_SWITCH2 = KLed(self.frame_3)
        self.kled_CH4_A_SWITCH2.setGeometry(QtCore.QRect(40, 235, 28, 28))
        self.kled_CH4_A_SWITCH2.setState(KLed.Off)
        self.kled_CH4_A_SWITCH2.setObjectName(_fromUtf8("kled_CH4_A_SWITCH2"))
        self.kled_CH1_A_SWITCH2 = KLed(self.frame_3)
        self.kled_CH1_A_SWITCH2.setGeometry(QtCore.QRect(40, 195, 28, 28))
        self.kled_CH1_A_SWITCH2.setState(KLed.Off)
        self.kled_CH1_A_SWITCH2.setObjectName(_fromUtf8("kled_CH1_A_SWITCH2"))
        self.label_43 = QtGui.QLabel(self.frame_3)
        self.label_43.setGeometry(QtCore.QRect(70, 200, 31, 21))
        self.label_43.setObjectName(_fromUtf8("label_43"))
        self.kled_CH2_A_SWITCH2 = KLed(self.frame_3)
        self.kled_CH2_A_SWITCH2.setGeometry(QtCore.QRect(100, 195, 28, 28))
        self.kled_CH2_A_SWITCH2.setState(KLed.Off)
        self.kled_CH2_A_SWITCH2.setObjectName(_fromUtf8("kled_CH2_A_SWITCH2"))
        self.frame_5 = QtGui.QFrame(self.frame_3)
        self.frame_5.setGeometry(QtCore.QRect(20, 165, 301, 111))
        self.frame_5.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame_5.setFrameShadow(QtGui.QFrame.Sunken)
        self.frame_5.setObjectName(_fromUtf8("frame_5"))
        self.label_44 = QtGui.QLabel(self.frame_3)
        self.label_44.setGeometry(QtCore.QRect(20, 165, 301, 21))
        self.label_44.setObjectName(_fromUtf8("label_44"))
        self.label_45 = QtGui.QLabel(self.frame_3)
        self.label_45.setGeometry(QtCore.QRect(40, 175, 121, 21))
        self.label_45.setObjectName(_fromUtf8("label_45"))
        self.label_46 = QtGui.QLabel(self.frame_3)
        self.label_46.setGeometry(QtCore.QRect(190, 175, 121, 21))
        self.label_46.setObjectName(_fromUtf8("label_46"))
        self.label_47 = QtGui.QLabel(self.frame_3)
        self.label_47.setGeometry(QtCore.QRect(280, 115, 31, 21))
        self.label_47.setObjectName(_fromUtf8("label_47"))
        self.kled_CH2_A_SWITCH1 = KLed(self.frame_3)
        self.kled_CH2_A_SWITCH1.setGeometry(QtCore.QRect(100, 70, 28, 28))
        self.kled_CH2_A_SWITCH1.setState(KLed.Off)
        self.kled_CH2_A_SWITCH1.setObjectName(_fromUtf8("kled_CH2_A_SWITCH1"))
        self.kled_CH4_B_SWITCH1 = KLed(self.frame_3)
        self.kled_CH4_B_SWITCH1.setGeometry(QtCore.QRect(190, 110, 28, 28))
        self.kled_CH4_B_SWITCH1.setState(KLed.Off)
        self.kled_CH4_B_SWITCH1.setObjectName(_fromUtf8("kled_CH4_B_SWITCH1"))
        self.label_48 = QtGui.QLabel(self.frame_3)
        self.label_48.setGeometry(QtCore.QRect(220, 115, 31, 21))
        self.label_48.setObjectName(_fromUtf8("label_48"))
        self.kled_CH1_B_SWITCH1 = KLed(self.frame_3)
        self.kled_CH1_B_SWITCH1.setGeometry(QtCore.QRect(190, 70, 28, 28))
        self.kled_CH1_B_SWITCH1.setState(KLed.Off)
        self.kled_CH1_B_SWITCH1.setObjectName(_fromUtf8("kled_CH1_B_SWITCH1"))
        self.kled_CH1_A_SWITCH1 = KLed(self.frame_3)
        self.kled_CH1_A_SWITCH1.setGeometry(QtCore.QRect(40, 70, 28, 28))
        self.kled_CH1_A_SWITCH1.setState(KLed.Off)
        self.kled_CH1_A_SWITCH1.setObjectName(_fromUtf8("kled_CH1_A_SWITCH1"))
        self.kled_CH4_A_SWITCH1 = KLed(self.frame_3)
        self.kled_CH4_A_SWITCH1.setGeometry(QtCore.QRect(40, 110, 28, 28))
        self.kled_CH4_A_SWITCH1.setState(KLed.Off)
        self.kled_CH4_A_SWITCH1.setObjectName(_fromUtf8("kled_CH4_A_SWITCH1"))
        self.label_49 = QtGui.QLabel(self.frame_3)
        self.label_49.setGeometry(QtCore.QRect(130, 115, 31, 21))
        self.label_49.setObjectName(_fromUtf8("label_49"))
        self.label_50 = QtGui.QLabel(self.frame_3)
        self.label_50.setGeometry(QtCore.QRect(20, 40, 301, 21))
        self.label_50.setObjectName(_fromUtf8("label_50"))
        self.kled_CH2_B_SWITCH1 = KLed(self.frame_3)
        self.kled_CH2_B_SWITCH1.setGeometry(QtCore.QRect(250, 70, 28, 28))
        self.kled_CH2_B_SWITCH1.setState(KLed.Off)
        self.kled_CH2_B_SWITCH1.setObjectName(_fromUtf8("kled_CH2_B_SWITCH1"))
        self.label_51 = QtGui.QLabel(self.frame_3)
        self.label_51.setGeometry(QtCore.QRect(280, 75, 31, 21))
        self.label_51.setObjectName(_fromUtf8("label_51"))
        self.label_52 = QtGui.QLabel(self.frame_3)
        self.label_52.setGeometry(QtCore.QRect(70, 75, 31, 21))
        self.label_52.setObjectName(_fromUtf8("label_52"))
        self.label_53 = QtGui.QLabel(self.frame_3)
        self.label_53.setGeometry(QtCore.QRect(40, 50, 121, 21))
        self.label_53.setObjectName(_fromUtf8("label_53"))
        self.kled_CH3_A_SWITCH1 = KLed(self.frame_3)
        self.kled_CH3_A_SWITCH1.setGeometry(QtCore.QRect(100, 110, 28, 28))
        self.kled_CH3_A_SWITCH1.setState(KLed.Off)
        self.kled_CH3_A_SWITCH1.setObjectName(_fromUtf8("kled_CH3_A_SWITCH1"))
        self.label_54 = QtGui.QLabel(self.frame_3)
        self.label_54.setGeometry(QtCore.QRect(190, 50, 121, 21))
        self.label_54.setObjectName(_fromUtf8("label_54"))
        self.label_55 = QtGui.QLabel(self.frame_3)
        self.label_55.setGeometry(QtCore.QRect(130, 75, 31, 21))
        self.label_55.setObjectName(_fromUtf8("label_55"))
        self.label_56 = QtGui.QLabel(self.frame_3)
        self.label_56.setGeometry(QtCore.QRect(220, 75, 31, 21))
        self.label_56.setObjectName(_fromUtf8("label_56"))
        self.kled_CH3_B_SWITCH1 = KLed(self.frame_3)
        self.kled_CH3_B_SWITCH1.setGeometry(QtCore.QRect(250, 110, 28, 28))
        self.kled_CH3_B_SWITCH1.setState(KLed.Off)
        self.kled_CH3_B_SWITCH1.setObjectName(_fromUtf8("kled_CH3_B_SWITCH1"))
        self.label_57 = QtGui.QLabel(self.frame_3)
        self.label_57.setGeometry(QtCore.QRect(70, 115, 31, 21))
        self.label_57.setObjectName(_fromUtf8("label_57"))
        self.frame_6 = QtGui.QFrame(self.frame_3)
        self.frame_6.setGeometry(QtCore.QRect(20, 40, 301, 111))
        self.frame_6.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame_6.setFrameShadow(QtGui.QFrame.Sunken)
        self.frame_6.setObjectName(_fromUtf8("frame_6"))

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

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(_translate("Dialog", "Status", None))
        self.label_4.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p>CHAVE DE RF - SWITCH 2</p></body></html>",
                None))
        self.label.setText(
            _translate("Dialog",
                       "<html><head/><body><p>RFFE</p></body></html>", None))
        self.label_3.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p>CHAVE DE RF - SWITCH 1</p></body></html>",
                None))
        self.label_2.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p>NETWORK ANALYZER</p></body></html>",
                None))
        self.label_5.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p align=\"center\"><span style=\" font-weight:600;\">COMUNICAÇÃO/AQUISIÇÃO DE DADOS</span></p></body></html>",
                None))
        self.label_14.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p>WAVEFORM GENERATOR</p></body></html>",
                None))
        self.label_6.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p>RESPOSTA EM FREQUÊNCIA</p></body></html>",
                None))
        self.label_7.setText(
            _translate("Dialog",
                       "<html><head/><body><p>PARÂMETRO-S</p></body></html>",
                       None))
        self.label_8.setText(
            _translate("Dialog",
                       "<html><head/><body><p>RF SWITCH</p></body></html>",
                       None))
        self.label_9.setText(
            _translate("Dialog",
                       "<html><head/><body><p>ATENUADORES</p></body></html>",
                       None))
        self.label_10.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p align=\"center\"><span style=\" font-weight:600;\">TESTES</span></p></body></html>",
                None))
        self.label_12.setText(
            _translate("Dialog",
                       "<html><head/><body><p>RETURN LOSS</p></body></html>",
                       None))
        self.label_13.setText(
            _translate("Dialog",
                       "<html><head/><body><p>LINEARIDADE</p></body></html>",
                       None))
        self.label_15.setText(
            _translate("Dialog",
                       "<html><head/><body><p>CROSSTALK</p></body></html>",
                       None))
        self.label_16.setText(
            _translate("Dialog",
                       "<html><head/><body><p>TEMPERATURA</p></body></html>",
                       None))
        self.label_27.setText(
            _translate("Dialog", "<html><head/><body><p>OK</p></body></html>",
                       None))
        self.label_28.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p>Não será executado</p></body></html>",
                None))
        self.label_29.setText(
            _translate("Dialog",
                       "<html><head/><body><p>Falhou</p></body></html>", None))
        self.label_30.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p align=\"center\"><span style=\" font-weight:600;\">LEGENDA</span></p></body></html>",
                None))
        self.label_31.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p>Status ainda não avaliado</p></body></html>",
                None))
        self.label_32.setText(
            _translate("Dialog",
                       "<html><head/><body><p>Em execução</p></body></html>",
                       None))
        self.OK_Button.setText(_translate("Dialog", "OK", None))
        self.label_33.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p align=\"center\"><span style=\" font-weight:600;\">CANAL ATIVO - CHAVE RF</span></p></body></html>",
                None))
        self.label_36.setText(
            _translate("Dialog", "<html><head/><body><p>CH2</p></body></html>",
                       None))
        self.label_37.setText(
            _translate("Dialog", "<html><head/><body><p>CH4</p></body></html>",
                       None))
        self.label_38.setText(
            _translate("Dialog", "<html><head/><body><p>CH1</p></body></html>",
                       None))
        self.label_39.setText(
            _translate("Dialog", "<html><head/><body><p>CH3</p></body></html>",
                       None))
        self.label_40.setText(
            _translate("Dialog", "<html><head/><body><p>CH2</p></body></html>",
                       None))
        self.label_41.setText(
            _translate("Dialog", "<html><head/><body><p>CH3</p></body></html>",
                       None))
        self.label_42.setText(
            _translate("Dialog", "<html><head/><body><p>CH4</p></body></html>",
                       None))
        self.label_43.setText(
            _translate("Dialog", "<html><head/><body><p>CH1</p></body></html>",
                       None))
        self.label_44.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p align=\"center\"><span style=\" font-weight:600;\">SWITCH 2</span></p></body></html>",
                None))
        self.label_45.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p align=\"center\"><span style=\" font-weight:600;\">A</span></p></body></html>",
                None))
        self.label_46.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p align=\"center\"><span style=\" font-weight:600;\">B</span></p></body></html>",
                None))
        self.label_47.setText(
            _translate("Dialog", "<html><head/><body><p>CH3</p></body></html>",
                       None))
        self.label_48.setText(
            _translate("Dialog", "<html><head/><body><p>CH4</p></body></html>",
                       None))
        self.label_49.setText(
            _translate("Dialog", "<html><head/><body><p>CH3</p></body></html>",
                       None))
        self.label_50.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p align=\"center\"><span style=\" font-weight:600;\">SWITCH 1</span></p></body></html>",
                None))
        self.label_51.setText(
            _translate("Dialog", "<html><head/><body><p>CH2</p></body></html>",
                       None))
        self.label_52.setText(
            _translate("Dialog", "<html><head/><body><p>CH1</p></body></html>",
                       None))
        self.label_53.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p align=\"center\"><span style=\" font-weight:600;\">A</span></p></body></html>",
                None))
        self.label_54.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p align=\"center\"><span style=\" font-weight:600;\">B</span></p></body></html>",
                None))
        self.label_55.setText(
            _translate("Dialog", "<html><head/><body><p>CH2</p></body></html>",
                       None))
        self.label_56.setText(
            _translate("Dialog", "<html><head/><body><p>CH1</p></body></html>",
                       None))
        self.label_57.setText(
            _translate("Dialog", "<html><head/><body><p>CH4</p></body></html>",
                       None))
Ejemplo n.º 7
0
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName(_fromUtf8("Dialog"))
        Dialog.resize(660, 476)
        self.frame = QtGui.QFrame(Dialog)
        self.frame.setGeometry(QtCore.QRect(20, 30, 281, 131))
        self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtGui.QFrame.Raised)
        self.frame.setObjectName(_fromUtf8("frame"))
        self.label = QtGui.QLabel(self.frame)
        self.label.setGeometry(QtCore.QRect(0, 20, 281, 20))
        self.label.setObjectName(_fromUtf8("label"))
        self.kled_CRATE = KLed(self.frame)
        self.kled_CRATE.setGeometry(QtCore.QRect(20, 50, 28, 28))
        self.kled_CRATE.setObjectName(_fromUtf8("kled_CRATE"))
        self.label_2 = QtGui.QLabel(self.frame)
        self.label_2.setGeometry(QtCore.QRect(60, 50, 58, 31))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.kled_FPGA = KLed(self.frame)
        self.kled_FPGA.setGeometry(QtCore.QRect(20, 90, 28, 28))
        self.kled_FPGA.setObjectName(_fromUtf8("kled_FPGA"))
        self.label_9 = QtGui.QLabel(self.frame)
        self.label_9.setGeometry(QtCore.QRect(60, 90, 121, 31))
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.frame_2 = QtGui.QFrame(Dialog)
        self.frame_2.setGeometry(QtCore.QRect(20, 180, 281, 191))
        self.frame_2.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame_2.setFrameShadow(QtGui.QFrame.Raised)
        self.frame_2.setObjectName(_fromUtf8("frame_2"))
        self.label_3 = QtGui.QLabel(self.frame_2)
        self.label_3.setGeometry(QtCore.QRect(0, 20, 281, 20))
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.kled_EEPROM = KLed(self.frame_2)
        self.kled_EEPROM.setGeometry(QtCore.QRect(20, 60, 28, 28))
        self.kled_EEPROM.setObjectName(_fromUtf8("kled_EEPROM"))
        self.label_4 = QtGui.QLabel(self.frame_2)
        self.label_4.setGeometry(QtCore.QRect(60, 60, 58, 31))
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.label_5 = QtGui.QLabel(self.frame_2)
        self.label_5.setGeometry(QtCore.QRect(60, 100, 58, 31))
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.kled_DDR3 = KLed(self.frame_2)
        self.kled_DDR3.setGeometry(QtCore.QRect(20, 100, 28, 28))
        self.kled_DDR3.setObjectName(_fromUtf8("kled_DDR3"))
        self.label_6 = QtGui.QLabel(self.frame_2)
        self.label_6.setGeometry(QtCore.QRect(60, 140, 101, 31))
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.kled_SENSORES_IPMI = KLed(self.frame_2)
        self.kled_SENSORES_IPMI.setGeometry(QtCore.QRect(20, 140, 28, 28))
        self.kled_SENSORES_IPMI.setObjectName(_fromUtf8("kled_SENSORES_IPMI"))
        self.frame_3 = QtGui.QFrame(Dialog)
        self.frame_3.setGeometry(QtCore.QRect(350, 60, 281, 281))
        self.frame_3.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame_3.setFrameShadow(QtGui.QFrame.Raised)
        self.frame_3.setObjectName(_fromUtf8("frame_3"))
        self.label_7 = QtGui.QLabel(self.frame_3)
        self.label_7.setGeometry(QtCore.QRect(0, 20, 281, 20))
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.kled_OK = KLed(self.frame_3)
        self.kled_OK.setGeometry(QtCore.QRect(20, 60, 28, 28))
        self.kled_OK.setObjectName(_fromUtf8("kled_OK"))
        self.label_8 = QtGui.QLabel(self.frame_3)
        self.label_8.setGeometry(QtCore.QRect(60, 60, 58, 31))
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.label_FALHOU = QtGui.QLabel(self.frame_3)
        self.label_FALHOU.setGeometry(QtCore.QRect(60, 100, 58, 31))
        self.label_FALHOU.setObjectName(_fromUtf8("label_FALHOU"))
        self.kled_FALHOU = KLed(self.frame_3)
        self.kled_FALHOU.setGeometry(QtCore.QRect(20, 100, 28, 28))
        self.kled_FALHOU.setColor(QtGui.QColor(255, 0, 0))
        self.kled_FALHOU.setObjectName(_fromUtf8("kled_FALHOU"))
        self.label_10 = QtGui.QLabel(self.frame_3)
        self.label_10.setGeometry(QtCore.QRect(60, 140, 101, 31))
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.kled_EXECUCAO = KLed(self.frame_3)
        self.kled_EXECUCAO.setGeometry(QtCore.QRect(20, 140, 28, 28))
        self.kled_EXECUCAO.setColor(QtGui.QColor(255, 255, 0))
        self.kled_EXECUCAO.setObjectName(_fromUtf8("kled_EXECUCAO"))
        self.kled_N_EXECUTADO = KLed(self.frame_3)
        self.kled_N_EXECUTADO.setGeometry(QtCore.QRect(20, 180, 28, 28))
        self.kled_N_EXECUTADO.setColor(QtGui.QColor(0, 0, 255))
        self.kled_N_EXECUTADO.setObjectName(_fromUtf8("kled_N_EXECUTADO"))
        self.label_11 = QtGui.QLabel(self.frame_3)
        self.label_11.setGeometry(QtCore.QRect(60, 180, 141, 31))
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.kled_N_AVALIADO = KLed(self.frame_3)
        self.kled_N_AVALIADO.setGeometry(QtCore.QRect(20, 220, 28, 28))
        self.kled_N_AVALIADO.setState(KLed.Off)
        self.kled_N_AVALIADO.setObjectName(_fromUtf8("kled_N_AVALIADO"))
        self.label_12 = QtGui.QLabel(self.frame_3)
        self.label_12.setGeometry(QtCore.QRect(60, 220, 171, 31))
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.progressBar = QtGui.QProgressBar(Dialog)
        self.progressBar.setGeometry(QtCore.QRect(150, 420, 331, 23))
        self.progressBar.setProperty("value", 0)
        self.progressBar.setObjectName(_fromUtf8("progressBar"))
        self.OK_BUTTON_LEDS = QtGui.QPushButton(Dialog)
        self.OK_BUTTON_LEDS.setGeometry(QtCore.QRect(530, 418, 87, 27))
        self.OK_BUTTON_LEDS.setObjectName(_fromUtf8("OK_BUTTON_LEDS"))

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

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(_translate("Dialog", "Status", None))
        self.label.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p align=\"center\"><span style=\" font-weight:600;\">COMUNICAÇÃO</span></p></body></html>",
                None))
        self.label_2.setText(_translate("Dialog", "CRATE", None))
        self.label_9.setText(_translate("Dialog", "Gravação de FPGA", None))
        self.label_3.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p align=\"center\"><span style=\" font-weight:600;\">TESTES</span></p></body></html>",
                None))
        self.label_4.setText(_translate("Dialog", "EEPROM", None))
        self.label_5.setText(_translate("Dialog", "DDR3", None))
        self.label_6.setText(_translate("Dialog", "SENSORES IMPI", None))
        self.label_7.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p align=\"center\"><span style=\" font-weight:600;\">LEGENDA</span></p></body></html>",
                None))
        self.label_8.setText(_translate("Dialog", "OK", None))
        self.label_FALHOU.setText(_translate("Dialog", "Falhou", None))
        self.label_10.setText(_translate("Dialog", "Em execução", None))
        self.label_11.setText(_translate("Dialog", "Não será executado", None))
        self.label_12.setText(
            _translate("Dialog", "Status ainda não avaliado", None))
        self.OK_BUTTON_LEDS.setText(_translate("Dialog", "OK", None))
Ejemplo n.º 8
0
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName(_fromUtf8("Dialog"))
        Dialog.resize(788, 669)
        self.slot1 = QtGui.QFrame(Dialog)
        self.slot1.setGeometry(QtCore.QRect(40, 70, 131, 211))
        self.slot1.setFrameShape(QtGui.QFrame.StyledPanel)
        self.slot1.setFrameShadow(QtGui.QFrame.Raised)
        self.slot1.setObjectName(_fromUtf8("slot1"))
        self.label1 = QtGui.QLabel(self.slot1)
        self.label1.setGeometry(QtCore.QRect(40, 10, 51, 20))
        self.label1.setAlignment(QtCore.Qt.AlignCenter)
        self.label1.setObjectName(_fromUtf8("label1"))
        self.led_esp1 = KLed(self.slot1)
        self.led_esp1.setGeometry(QtCore.QRect(50, 70, 31, 31))
        self.led_esp1.setState(KLed.Off)
        self.led_esp1.setColor(QtGui.QColor(170, 170, 255))
        self.led_esp1.setObjectName(_fromUtf8("led_esp1"))
        self.led_msp1 = KLed(self.slot1)
        self.led_msp1.setGeometry(QtCore.QRect(50, 150, 31, 31))
        self.led_msp1.setState(KLed.Off)
        self.led_msp1.setColor(QtGui.QColor(170, 170, 255))
        self.led_msp1.setObjectName(_fromUtf8("led_msp1"))
        self.label_esp1 = QtGui.QLabel(self.slot1)
        self.label_esp1.setGeometry(QtCore.QRect(50, 50, 31, 17))
        self.label_esp1.setAlignment(QtCore.Qt.AlignCenter)
        self.label_esp1.setObjectName(_fromUtf8("label_esp1"))
        self.label_msp1 = QtGui.QLabel(self.slot1)
        self.label_msp1.setGeometry(QtCore.QRect(40, 130, 51, 17))
        self.label_msp1.setAlignment(QtCore.Qt.AlignCenter)
        self.label_msp1.setObjectName(_fromUtf8("label_msp1"))
        self.slot2 = QtGui.QFrame(Dialog)
        self.slot2.setGeometry(QtCore.QRect(230, 70, 131, 211))
        self.slot2.setFrameShape(QtGui.QFrame.StyledPanel)
        self.slot2.setFrameShadow(QtGui.QFrame.Raised)
        self.slot2.setObjectName(_fromUtf8("slot2"))
        self.label2 = QtGui.QLabel(self.slot2)
        self.label2.setGeometry(QtCore.QRect(40, 10, 51, 20))
        self.label2.setAlignment(QtCore.Qt.AlignCenter)
        self.label2.setObjectName(_fromUtf8("label2"))
        self.led_esp2 = KLed(self.slot2)
        self.led_esp2.setGeometry(QtCore.QRect(50, 70, 31, 31))
        self.led_esp2.setState(KLed.Off)
        self.led_esp2.setColor(QtGui.QColor(170, 170, 255))
        self.led_esp2.setObjectName(_fromUtf8("led_esp2"))
        self.led_msp2 = KLed(self.slot2)
        self.led_msp2.setGeometry(QtCore.QRect(50, 150, 31, 31))
        self.led_msp2.setState(KLed.Off)
        self.led_msp2.setColor(QtGui.QColor(170, 170, 255))
        self.led_msp2.setObjectName(_fromUtf8("led_msp2"))
        self.label_esp2 = QtGui.QLabel(self.slot2)
        self.label_esp2.setGeometry(QtCore.QRect(50, 50, 31, 17))
        self.label_esp2.setAlignment(QtCore.Qt.AlignCenter)
        self.label_esp2.setObjectName(_fromUtf8("label_esp2"))
        self.label_msp2 = QtGui.QLabel(self.slot2)
        self.label_msp2.setGeometry(QtCore.QRect(40, 130, 51, 17))
        self.label_msp2.setAlignment(QtCore.Qt.AlignCenter)
        self.label_msp2.setObjectName(_fromUtf8("label_msp2"))
        self.slot3 = QtGui.QFrame(Dialog)
        self.slot3.setGeometry(QtCore.QRect(420, 70, 131, 211))
        self.slot3.setFrameShape(QtGui.QFrame.StyledPanel)
        self.slot3.setFrameShadow(QtGui.QFrame.Raised)
        self.slot3.setObjectName(_fromUtf8("slot3"))
        self.label3 = QtGui.QLabel(self.slot3)
        self.label3.setGeometry(QtCore.QRect(40, 10, 51, 20))
        self.label3.setAlignment(QtCore.Qt.AlignCenter)
        self.label3.setObjectName(_fromUtf8("label3"))
        self.led_esp3 = KLed(self.slot3)
        self.led_esp3.setGeometry(QtCore.QRect(50, 70, 31, 31))
        self.led_esp3.setState(KLed.Off)
        self.led_esp3.setColor(QtGui.QColor(170, 170, 255))
        self.led_esp3.setObjectName(_fromUtf8("led_esp3"))
        self.led_msp3 = KLed(self.slot3)
        self.led_msp3.setGeometry(QtCore.QRect(50, 150, 31, 31))
        self.led_msp3.setState(KLed.Off)
        self.led_msp3.setColor(QtGui.QColor(170, 170, 255))
        self.led_msp3.setObjectName(_fromUtf8("led_msp3"))
        self.label_esp3 = QtGui.QLabel(self.slot3)
        self.label_esp3.setGeometry(QtCore.QRect(50, 50, 31, 17))
        self.label_esp3.setAlignment(QtCore.Qt.AlignCenter)
        self.label_esp3.setObjectName(_fromUtf8("label_esp3"))
        self.label_msp3 = QtGui.QLabel(self.slot3)
        self.label_msp3.setGeometry(QtCore.QRect(40, 130, 51, 17))
        self.label_msp3.setAlignment(QtCore.Qt.AlignCenter)
        self.label_msp3.setObjectName(_fromUtf8("label_msp3"))
        self.slot4 = QtGui.QFrame(Dialog)
        self.slot4.setGeometry(QtCore.QRect(610, 70, 131, 211))
        self.slot4.setFrameShape(QtGui.QFrame.StyledPanel)
        self.slot4.setFrameShadow(QtGui.QFrame.Raised)
        self.slot4.setObjectName(_fromUtf8("slot4"))
        self.label4 = QtGui.QLabel(self.slot4)
        self.label4.setGeometry(QtCore.QRect(40, 10, 51, 20))
        self.label4.setAlignment(QtCore.Qt.AlignCenter)
        self.label4.setObjectName(_fromUtf8("label4"))
        self.led_esp4 = KLed(self.slot4)
        self.led_esp4.setGeometry(QtCore.QRect(50, 70, 31, 31))
        self.led_esp4.setState(KLed.Off)
        self.led_esp4.setColor(QtGui.QColor(170, 170, 255))
        self.led_esp4.setObjectName(_fromUtf8("led_esp4"))
        self.led_msp4 = KLed(self.slot4)
        self.led_msp4.setGeometry(QtCore.QRect(50, 150, 31, 31))
        self.led_msp4.setState(KLed.Off)
        self.led_msp4.setColor(QtGui.QColor(170, 170, 255))
        self.led_msp4.setObjectName(_fromUtf8("led_msp4"))
        self.label_esp4 = QtGui.QLabel(self.slot4)
        self.label_esp4.setGeometry(QtCore.QRect(50, 50, 31, 17))
        self.label_esp4.setAlignment(QtCore.Qt.AlignCenter)
        self.label_esp4.setObjectName(_fromUtf8("label_esp4"))
        self.label_msp4 = QtGui.QLabel(self.slot4)
        self.label_msp4.setGeometry(QtCore.QRect(40, 130, 51, 17))
        self.label_msp4.setAlignment(QtCore.Qt.AlignCenter)
        self.label_msp4.setObjectName(_fromUtf8("label_msp4"))
        self.start = QtGui.QPushButton(Dialog)
        self.start.setGeometry(QtCore.QRect(650, 620, 98, 27))
        self.start.setObjectName(_fromUtf8("start"))
        self.slot4_2 = QtGui.QFrame(Dialog)
        self.slot4_2.setGeometry(QtCore.QRect(40, 330, 131, 211))
        self.slot4_2.setFrameShape(QtGui.QFrame.StyledPanel)
        self.slot4_2.setFrameShadow(QtGui.QFrame.Raised)
        self.slot4_2.setObjectName(_fromUtf8("slot4_2"))
        self.label5 = QtGui.QLabel(self.slot4_2)
        self.label5.setGeometry(QtCore.QRect(40, 10, 51, 20))
        self.label5.setAlignment(QtCore.Qt.AlignCenter)
        self.label5.setObjectName(_fromUtf8("label5"))
        self.led_esp5 = KLed(self.slot4_2)
        self.led_esp5.setGeometry(QtCore.QRect(50, 70, 31, 31))
        self.led_esp5.setState(KLed.Off)
        self.led_esp5.setColor(QtGui.QColor(170, 170, 255))
        self.led_esp5.setObjectName(_fromUtf8("led_esp5"))
        self.led_msp5 = KLed(self.slot4_2)
        self.led_msp5.setGeometry(QtCore.QRect(50, 150, 31, 31))
        self.led_msp5.setState(KLed.Off)
        self.led_msp5.setColor(QtGui.QColor(170, 170, 255))
        self.led_msp5.setObjectName(_fromUtf8("led_msp5"))
        self.label_esp5 = QtGui.QLabel(self.slot4_2)
        self.label_esp5.setGeometry(QtCore.QRect(50, 50, 31, 17))
        self.label_esp5.setAlignment(QtCore.Qt.AlignCenter)
        self.label_esp5.setObjectName(_fromUtf8("label_esp5"))
        self.label_msp5 = QtGui.QLabel(self.slot4_2)
        self.label_msp5.setGeometry(QtCore.QRect(40, 130, 51, 17))
        self.label_msp5.setAlignment(QtCore.Qt.AlignCenter)
        self.label_msp5.setObjectName(_fromUtf8("label_msp5"))
        self.slot6 = QtGui.QFrame(Dialog)
        self.slot6.setGeometry(QtCore.QRect(230, 330, 131, 211))
        self.slot6.setFrameShape(QtGui.QFrame.StyledPanel)
        self.slot6.setFrameShadow(QtGui.QFrame.Raised)
        self.slot6.setObjectName(_fromUtf8("slot6"))
        self.label6 = QtGui.QLabel(self.slot6)
        self.label6.setGeometry(QtCore.QRect(40, 10, 51, 20))
        self.label6.setAlignment(QtCore.Qt.AlignCenter)
        self.label6.setObjectName(_fromUtf8("label6"))
        self.led_esp6 = KLed(self.slot6)
        self.led_esp6.setGeometry(QtCore.QRect(50, 70, 31, 31))
        self.led_esp6.setState(KLed.Off)
        self.led_esp6.setColor(QtGui.QColor(170, 170, 255))
        self.led_esp6.setObjectName(_fromUtf8("led_esp6"))
        self.led_msp6 = KLed(self.slot6)
        self.led_msp6.setGeometry(QtCore.QRect(50, 150, 31, 31))
        self.led_msp6.setState(KLed.Off)
        self.led_msp6.setColor(QtGui.QColor(170, 170, 255))
        self.led_msp6.setObjectName(_fromUtf8("led_msp6"))
        self.label_esp6 = QtGui.QLabel(self.slot6)
        self.label_esp6.setGeometry(QtCore.QRect(50, 50, 31, 17))
        self.label_esp6.setAlignment(QtCore.Qt.AlignCenter)
        self.label_esp6.setObjectName(_fromUtf8("label_esp6"))
        self.label_msp6 = QtGui.QLabel(self.slot6)
        self.label_msp6.setGeometry(QtCore.QRect(40, 130, 51, 17))
        self.label_msp6.setAlignment(QtCore.Qt.AlignCenter)
        self.label_msp6.setObjectName(_fromUtf8("label_msp6"))
        self.slot7 = QtGui.QFrame(Dialog)
        self.slot7.setGeometry(QtCore.QRect(420, 330, 131, 211))
        self.slot7.setFrameShape(QtGui.QFrame.StyledPanel)
        self.slot7.setFrameShadow(QtGui.QFrame.Raised)
        self.slot7.setObjectName(_fromUtf8("slot7"))
        self.label7 = QtGui.QLabel(self.slot7)
        self.label7.setGeometry(QtCore.QRect(40, 10, 51, 20))
        self.label7.setAlignment(QtCore.Qt.AlignCenter)
        self.label7.setObjectName(_fromUtf8("label7"))
        self.led_esp7 = KLed(self.slot7)
        self.led_esp7.setGeometry(QtCore.QRect(50, 70, 31, 31))
        self.led_esp7.setState(KLed.Off)
        self.led_esp7.setColor(QtGui.QColor(170, 170, 255))
        self.led_esp7.setObjectName(_fromUtf8("led_esp7"))
        self.led_msp7 = KLed(self.slot7)
        self.led_msp7.setGeometry(QtCore.QRect(50, 150, 31, 31))
        self.led_msp7.setState(KLed.Off)
        self.led_msp7.setColor(QtGui.QColor(170, 170, 255))
        self.led_msp7.setObjectName(_fromUtf8("led_msp7"))
        self.label_esp7 = QtGui.QLabel(self.slot7)
        self.label_esp7.setGeometry(QtCore.QRect(50, 50, 31, 17))
        self.label_esp7.setAlignment(QtCore.Qt.AlignCenter)
        self.label_esp7.setObjectName(_fromUtf8("label_esp7"))
        self.label_msp7 = QtGui.QLabel(self.slot7)
        self.label_msp7.setGeometry(QtCore.QRect(40, 130, 51, 17))
        self.label_msp7.setAlignment(QtCore.Qt.AlignCenter)
        self.label_msp7.setObjectName(_fromUtf8("label_msp7"))
        self.slot8 = QtGui.QFrame(Dialog)
        self.slot8.setGeometry(QtCore.QRect(610, 330, 131, 211))
        self.slot8.setFrameShape(QtGui.QFrame.StyledPanel)
        self.slot8.setFrameShadow(QtGui.QFrame.Raised)
        self.slot8.setObjectName(_fromUtf8("slot8"))
        self.label8 = QtGui.QLabel(self.slot8)
        self.label8.setGeometry(QtCore.QRect(40, 10, 51, 20))
        self.label8.setAlignment(QtCore.Qt.AlignCenter)
        self.label8.setObjectName(_fromUtf8("label8"))
        self.led_esp8 = KLed(self.slot8)
        self.led_esp8.setGeometry(QtCore.QRect(50, 70, 31, 31))
        self.led_esp8.setState(KLed.Off)
        self.led_esp8.setColor(QtGui.QColor(170, 170, 255))
        self.led_esp8.setObjectName(_fromUtf8("led_esp8"))
        self.led_msp8 = KLed(self.slot8)
        self.led_msp8.setGeometry(QtCore.QRect(50, 150, 31, 31))
        self.led_msp8.setState(KLed.Off)
        self.led_msp8.setColor(QtGui.QColor(170, 170, 255))
        self.led_msp8.setObjectName(_fromUtf8("led_msp8"))
        self.label_esp8 = QtGui.QLabel(self.slot8)
        self.label_esp8.setGeometry(QtCore.QRect(50, 50, 31, 17))
        self.label_esp8.setAlignment(QtCore.Qt.AlignCenter)
        self.label_esp8.setObjectName(_fromUtf8("label_esp8"))
        self.label_msp8 = QtGui.QLabel(self.slot8)
        self.label_msp8.setGeometry(QtCore.QRect(40, 130, 51, 17))
        self.label_msp8.setAlignment(QtCore.Qt.AlignCenter)
        self.label_msp8.setObjectName(_fromUtf8("label_msp8"))

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

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(_translate("Dialog", "Flash Process", None))
        self.label1.setText(_translate("Dialog", "SLOT1", None))
        self.label_esp1.setText(_translate("Dialog", "ESP", None))
        self.label_msp1.setText(_translate("Dialog", "MSP", None))
        self.label2.setText(_translate("Dialog", "SLOT2", None))
        self.label_esp2.setText(_translate("Dialog", "ESP", None))
        self.label_msp2.setText(_translate("Dialog", "MSP", None))
        self.label3.setText(_translate("Dialog", "SLOT3", None))
        self.label_esp3.setText(_translate("Dialog", "ESP", None))
        self.label_msp3.setText(_translate("Dialog", "MSP", None))
        self.label4.setText(_translate("Dialog", "SLOT4", None))
        self.label_esp4.setText(_translate("Dialog", "ESP", None))
        self.label_msp4.setText(_translate("Dialog", "MSP", None))
        self.start.setText(_translate("Dialog", "Start", None))
        self.label5.setText(_translate("Dialog", "SLOT5", None))
        self.label_esp5.setText(_translate("Dialog", "ESP", None))
        self.label_msp5.setText(_translate("Dialog", "MSP", None))
        self.label6.setText(_translate("Dialog", "SLOT6", None))
        self.label_esp6.setText(_translate("Dialog", "ESP", None))
        self.label_msp6.setText(_translate("Dialog", "MSP", None))
        self.label7.setText(_translate("Dialog", "SLOT7", None))
        self.label_esp7.setText(_translate("Dialog", "ESP", None))
        self.label_msp7.setText(_translate("Dialog", "MSP", None))
        self.label8.setText(_translate("Dialog", "SLOT8", None))
        self.label_esp8.setText(_translate("Dialog", "ESP", None))
        self.label_msp8.setText(_translate("Dialog", "MSP", None))
class Ui_SendSHP(Client):
    def setupUi(self, SendSHP):
        SendSHP.setObjectName("SendSHP")
        SendSHP.resize(407, 393)
        SendSHP.setFixedHeight(393)
        SendSHP.setFixedWidth(407)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(self.confIconsDir+'1344068458_db_comit.ico'), QtGui.QIcon.Normal, QtGui.QIcon.On)
        SendSHP.setWindowIcon(icon)
        self.shp_file = QtGui.QLineEdit(SendSHP)
        self.shp_file.setGeometry(QtCore.QRect(20, 120, 251, 27))
        self.shp_file.setObjectName("shp_file")
        self.label = QtGui.QLabel(SendSHP)
        self.label.setGeometry(QtCore.QRect(20, 90, 62, 17))
        self.label.setObjectName("label")
        self.layoutWidget = QtGui.QWidget(SendSHP)
        self.layoutWidget.setGeometry(QtCore.QRect(300, 10, 95, 171))
        self.layoutWidget.setObjectName("layoutWidget")
        self.verticalLayout = QtGui.QVBoxLayout(self.layoutWidget)
        self.verticalLayout.setObjectName("verticalLayout")
        self.shp_select = QtGui.QPushButton(self.layoutWidget)
        self.shp_select.setObjectName("shp_select")
        self.verticalLayout.addWidget(self.shp_select)
        self.shp_clear = QtGui.QPushButton(self.layoutWidget)
        self.shp_clear.setObjectName("shp_clear")
        self.verticalLayout.addWidget(self.shp_clear)
        self.shp_send = QtGui.QPushButton(self.layoutWidget)
        self.shp_send.setObjectName("shp_send")
        self.verticalLayout.addWidget(self.shp_send)
        self.shp_cancel = QtGui.QPushButton(self.layoutWidget)
        self.shp_cancel.setObjectName("shp_cancel")
        self.verticalLayout.addWidget(self.shp_cancel)
        self.status_led = KLed(SendSHP)
        self.status_led.setGeometry(QtCore.QRect(70, 370, 16, 16))
        self.status_led.setObjectName("status_led")
        self.status_led.setVisible(False)
        self.shp_status = QtGui.QLabel(SendSHP)
        self.shp_status.setGeometry(QtCore.QRect(20, 370, 50, 17))
        self.shp_status.setObjectName("shp_status")
        self.error_label = QtGui.QLabel(SendSHP)
        self.error_label.setGeometry(QtCore.QRect(20, 150, 251, 17))
        font = QtGui.QFont()
        font.setFamily("gargi")
        self.error_label.setFont(font)
        self.error_label.setText("")
        self.error_label.setObjectName("error_label")
        self.frame = QtGui.QFrame(SendSHP)
        self.frame.setGeometry(QtCore.QRect(20, 200, 251, 146))
        font = QtGui.QFont()
        font.setFamily("Andale Mono")
        font.setWeight(50)
        font.setStrikeOut(False)
        font.setBold(False)
        self.frame.setFont(font)
        self.frame.setFrameShape(QtGui.QFrame.Box)
        self.frame.setFrameShadow(QtGui.QFrame.Raised)
        self.frame.setLineWidth(1)
        self.frame.setObjectName("frame")
        self.line = QtGui.QFrame(self.frame)
        self.line.setGeometry(QtCore.QRect(0, 22, 251, 16))
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.line_2 = QtGui.QFrame(self.frame)
        self.line_2.setGeometry(QtCore.QRect(60, 0, 20, 151))
        self.line_2.setFrameShape(QtGui.QFrame.VLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.label_2 = QtGui.QLabel(self.frame)
        self.label_2.setGeometry(QtCore.QRect(0, 10, 62, 17))
        self.label_2.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
        self.label_2.setObjectName("label_2")
        self.label_3 = QtGui.QLabel(self.frame)
        self.label_3.setGeometry(QtCore.QRect(0, 40, 62, 17))
        self.label_3.setAutoFillBackground(False)
        self.label_3.setFrameShape(QtGui.QFrame.NoFrame)
        self.label_3.setFrameShadow(QtGui.QFrame.Plain)
        self.label_3.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
        self.label_3.setWordWrap(False)
        self.label_3.setObjectName("label_3")
        self.file_info = QtGui.QLabel(self.frame)
        self.file_info.setGeometry(QtCore.QRect(70, 10, 191, 17))
        self.file_info.setText("")
        self.file_info.setObjectName("file_info")
        self.table_info = QtGui.QLabel(self.frame)
        self.table_info.setGeometry(QtCore.QRect(70, 40, 191, 17))
        self.table_info.setText("")
        self.table_info.setObjectName("table_info")
        self.line_3 = QtGui.QFrame(self.frame)
        self.line_3.setGeometry(QtCore.QRect(0, 50, 251, 16))
        self.line_3.setFrameShape(QtGui.QFrame.HLine)
        self.line_3.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_3.setObjectName("line_3")
        self.line_4 = QtGui.QFrame(self.frame)
        self.line_4.setGeometry(QtCore.QRect(0, 80, 251, 16))
        self.line_4.setFrameShape(QtGui.QFrame.HLine)
        self.line_4.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_4.setObjectName("line_4")
        self.line_5 = QtGui.QFrame(self.frame)
        self.line_5.setGeometry(QtCore.QRect(0, 110, 251, 16))
        self.line_5.setFrameShape(QtGui.QFrame.HLine)
        self.line_5.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_5.setObjectName("line_5")
        self.label_5 = QtGui.QLabel(self.frame)
        self.label_5.setGeometry(QtCore.QRect(0, 70, 62, 17))
        self.label_5.setObjectName("label_5")
        self.label_6 = QtGui.QLabel(self.frame)
        self.label_6.setGeometry(QtCore.QRect(0, 100, 62, 17))
        self.label_6.setObjectName("label_6")
        self.label_7 = QtGui.QLabel(self.frame)
        self.label_7.setGeometry(QtCore.QRect(0, 130, 62, 17))
        self.label_7.setObjectName("label_7")
        self.host_info = QtGui.QLabel(self.frame)
        self.host_info.setGeometry(QtCore.QRect(70, 70, 171, 17))
        self.host_info.setText("")
        self.host_info.setObjectName("host_info")
        self.ip_info = QtGui.QLabel(self.frame)
        self.ip_info.setGeometry(QtCore.QRect(70, 100, 181, 17))
        self.ip_info.setText("")
        self.ip_info.setObjectName("ip_info")
        self.user_info = QtGui.QLabel(self.frame)
        self.user_info.setGeometry(QtCore.QRect(70, 126, 181, 21))
        self.user_info.setText("")
        self.user_info.setObjectName("user_info")
        self.label_4 = QtGui.QLabel(SendSHP)
        self.label_4.setGeometry(QtCore.QRect(20, 10, 62, 17))
        self.label_4.setObjectName("label_4")
        self.db_table = QtGui.QLineEdit(SendSHP)
        self.db_table.setGeometry(QtCore.QRect(20, 40, 251, 27))
        self.db_table.setObjectName("db_table")
        self.table_error_label = QtGui.QLabel(SendSHP)
        self.table_error_label.setGeometry(QtCore.QRect(20, 70, 251, 17))
        self.table_error_label.setText("")
        self.table_error_label.setObjectName("table_error_label")

        
        self.retranslateUi(SendSHP)
        QtCore.QObject.connect(self.shp_clear, QtCore.SIGNAL("clicked()"), self.clearFields)
        QtCore.QObject.connect(self.shp_select, QtCore.SIGNAL("clicked()"), self.selectSHP)
        QtCore.QObject.connect(self.shp_cancel, QtCore.SIGNAL("clicked()"), SendSHP,  QtCore.SLOT("close()"))
        QtCore.QObject.connect(self.shp_send, QtCore.SIGNAL("clicked()"), self.gui_client_send_shp_to_postgres)
        QtCore.QObject.connect(self.db_table, QtCore.SIGNAL("editingFinished()"), self.dbEntryReleased)
        QtCore.QMetaObject.connectSlotsByName(SendSHP)
  
    def retranslateUi(self, SendSHP):
        SendSHP.setWindowTitle(QtGui.QApplication.translate("SendSHP", "Send SHP", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("SendSHP", "File:", None, QtGui.QApplication.UnicodeUTF8))
        self.shp_select.setText(QtGui.QApplication.translate("SendSHP", "Select", None, QtGui.QApplication.UnicodeUTF8))
        self.shp_clear.setText(QtGui.QApplication.translate("SendSHP", "Clear", None, QtGui.QApplication.UnicodeUTF8))
        self.shp_send.setText(QtGui.QApplication.translate("SendSHP", "Send", None, QtGui.QApplication.UnicodeUTF8))
        self.shp_cancel.setText(QtGui.QApplication.translate("SendSHP", "Cancel", None, QtGui.QApplication.UnicodeUTF8))
        self.shp_status.setText(QtGui.QApplication.translate("SendSHP", "Status", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("SendSHP", "File", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("SendSHP", "Table", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("SendSHP", "Host", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("SendSHP", "IP", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("SendSHP", "User", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("SendSHP", "Table:", None, QtGui.QApplication.UnicodeUTF8))

    def clearFields(self):
        self.shp_file.clear()
        self.db_table.clear()
        self.db_table.setFocus()
        self.table_info.clear()
        self.file_info.clear()
        self.status_led.setVisible(False)
        
        
    def selectSHP(self):       
        fname = QtGui.QFileDialog.getOpenFileName(QtGui.QWidget(), 'Open')
        self.shp_file.setText(fname)
        self.file_info.setText(os.path.basename(str(fname)))
        
    def dbEntryReleased(self):
        dbName = self.db_table.text()
        self.table_info.setText(dbName)
        
    def gui_client_send_shp_to_postgres(self):
        self.fName = str(self.shp_file.text())
        self.tabName = str(self.db_table.text())
        self.dbParams = list()
        if self.fName == '':
            self.error_label.setText("<font color='red'>First select the shp file.</font>")
        if self.tabName == '':
            self.table_error_label.setText("<font color='red'>First fill out table name entry.</font>")
        else: 
            self.dbParams = self.client_send_shp_to_postgres(self.fName, self.tabName)
            print(self.dbParams.db_ip)
            print(self.dbParams.db_name)
            print(self.dbParams.db_user)
            if self.dbParams.db_ip != '':
                self.status_led.setVisible(True)
                self.ip_info.setText(self.dbParams.db_ip)
                self.host_info.setText(self.dbParams.db_name)
                self.user_info.setText(self.dbParams.db_user)
Ejemplo n.º 10
0
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(1280, 880)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(MainWindow.sizePolicy().hasHeightForWidth())
        MainWindow.setSizePolicy(sizePolicy)
        MainWindow.setMinimumSize(QtCore.QSize(10, 10))
        MainWindow.setMaximumSize(QtCore.QSize(1280, 880))
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.tabWidget = QtGui.QTabWidget(self.centralwidget)
        self.tabWidget.setGeometry(QtCore.QRect(-5, 0, 1280, 880))
        self.tabWidget.setMinimumSize(QtCore.QSize(10, 10))
        self.tabWidget.setMaximumSize(QtCore.QSize(1280, 880))
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tab = QtGui.QWidget()
        self.tab.setObjectName(_fromUtf8("tab"))
        self.groupBox = QtGui.QGroupBox(self.tab)
        self.groupBox.setGeometry(QtCore.QRect(10, 310, 716, 526))
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.tv_allAssets = QtGui.QTableView(self.groupBox)
        self.tv_allAssets.setGeometry(QtCore.QRect(10, 20, 686, 501))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.tv_allAssets.setFont(font)
        self.tv_allAssets.setObjectName(_fromUtf8("tv_allAssets"))
        self.groupBox_2 = QtGui.QGroupBox(self.tab)
        self.groupBox_2.setGeometry(QtCore.QRect(130, 10, 506, 266))
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.tv_accAssets = QtGui.QTableView(self.groupBox_2)
        self.tv_accAssets.setGeometry(QtCore.QRect(0, 25, 506, 241))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.tv_accAssets.setFont(font)
        self.tv_accAssets.setObjectName(_fromUtf8("tv_accAssets"))
        self.gb_AccSLT = QtGui.QGroupBox(self.tab)
        self.gb_AccSLT.setGeometry(QtCore.QRect(1030, 455, 236, 386))
        self.gb_AccSLT.setCheckable(True)
        self.gb_AccSLT.setObjectName(_fromUtf8("gb_AccSLT"))
        self.lineEdit_acctSlated = QtGui.QLineEdit(self.gb_AccSLT)
        self.lineEdit_acctSlated.setGeometry(QtCore.QRect(15, 40, 210, 22))
        self.lineEdit_acctSlated.setText(_fromUtf8(""))
        self.lineEdit_acctSlated.setObjectName(_fromUtf8("lineEdit_acctSlated"))
        self.groupBox_acctList = QtGui.QGroupBox(self.gb_AccSLT)
        self.groupBox_acctList.setGeometry(QtCore.QRect(10, 140, 226, 236))
        self.groupBox_acctList.setObjectName(_fromUtf8("groupBox_acctList"))
        self.lv_accounts1 = QtGui.QListView(self.groupBox_acctList)
        self.lv_accounts1.setGeometry(QtCore.QRect(5, 30, 210, 200))
        self.lv_accounts1.setObjectName(_fromUtf8("lv_accounts1"))
        self.gb_Nxt_2 = QtGui.QGroupBox(self.gb_AccSLT)
        self.gb_Nxt_2.setGeometry(QtCore.QRect(0, 65, 241, 81))
        self.gb_Nxt_2.setTitle(_fromUtf8(""))
        self.gb_Nxt_2.setObjectName(_fromUtf8("gb_Nxt_2"))
        self.lcdN_acctSLTU_Nqt = QtGui.QLCDNumber(self.gb_Nxt_2)
        self.lcdN_acctSLTU_Nqt.setGeometry(QtCore.QRect(135, 45, 100, 21))
        self.lcdN_acctSLTU_Nqt.setNumDigits(8)
        self.lcdN_acctSLTU_Nqt.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcdN_acctSLTU_Nqt.setObjectName(_fromUtf8("lcdN_acctSLTU_Nqt"))
        self.lcdN_acctSLTU_Nxt = QtGui.QLCDNumber(self.gb_Nxt_2)
        self.lcdN_acctSLTU_Nxt.setGeometry(QtCore.QRect(0, 40, 120, 26))
        self.lcdN_acctSLTU_Nxt.setNumDigits(9)
        self.lcdN_acctSLTU_Nxt.setDigitCount(9)
        self.lcdN_acctSLTU_Nxt.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcdN_acctSLTU_Nxt.setObjectName(_fromUtf8("lcdN_acctSLTU_Nxt"))
        self.lcdN_acctSLT_Nqt = QtGui.QLCDNumber(self.gb_Nxt_2)
        self.lcdN_acctSLT_Nqt.setGeometry(QtCore.QRect(135, 15, 100, 21))
        self.lcdN_acctSLT_Nqt.setNumDigits(8)
        self.lcdN_acctSLT_Nqt.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcdN_acctSLT_Nqt.setObjectName(_fromUtf8("lcdN_acctSLT_Nqt"))
        self.lcdN_acctSLT_Nxt = QtGui.QLCDNumber(self.gb_Nxt_2)
        self.lcdN_acctSLT_Nxt.setGeometry(QtCore.QRect(0, 10, 121, 26))
        self.lcdN_acctSLT_Nxt.setNumDigits(9)
        self.lcdN_acctSLT_Nxt.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcdN_acctSLT_Nxt.setObjectName(_fromUtf8("lcdN_acctSLT_Nxt"))
        self.label_dot_5 = QtGui.QLabel(self.gb_Nxt_2)
        self.label_dot_5.setGeometry(QtCore.QRect(125, 40, 10, 26))
        font = QtGui.QFont()
        font.setPointSize(24)
        font.setBold(True)
        font.setWeight(75)
        self.label_dot_5.setFont(font)
        self.label_dot_5.setObjectName(_fromUtf8("label_dot_5"))
        self.label_dot_6 = QtGui.QLabel(self.gb_Nxt_2)
        self.label_dot_6.setGeometry(QtCore.QRect(125, 5, 11, 31))
        font = QtGui.QFont()
        font.setPointSize(24)
        font.setBold(True)
        font.setWeight(75)
        self.label_dot_6.setFont(font)
        self.label_dot_6.setObjectName(_fromUtf8("label_dot_6"))
        self.groupBox_assetList = QtGui.QGroupBox(self.tab)
        self.groupBox_assetList.setGeometry(QtCore.QRect(1050, 145, 216, 286))
        self.groupBox_assetList.setObjectName(_fromUtf8("groupBox_assetList"))
        self.pb_assToOB = QtGui.QPushButton(self.groupBox_assetList)
        self.pb_assToOB.setGeometry(QtCore.QRect(150, 10, 61, 26))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.pb_assToOB.setFont(font)
        self.pb_assToOB.setObjectName(_fromUtf8("pb_assToOB"))
        self.lineEdit_assetSLT = QtGui.QLineEdit(self.groupBox_assetList)
        self.lineEdit_assetSLT.setGeometry(QtCore.QRect(0, 40, 210, 22))
        self.lineEdit_assetSLT.setObjectName(_fromUtf8("lineEdit_assetSLT"))
        self.lv_assets1 = QtGui.QListView(self.groupBox_assetList)
        self.lv_assets1.setGeometry(QtCore.QRect(0, 70, 210, 200))
        self.lv_assets1.setObjectName(_fromUtf8("lv_assets1"))
        self.gb_AccResid = QtGui.QGroupBox(self.tab)
        self.gb_AccResid.setGeometry(QtCore.QRect(1030, 5, 241, 126))
        self.gb_AccResid.setCheckable(True)
        self.gb_AccResid.setObjectName(_fromUtf8("gb_AccResid"))
        self.lineEdit_acctResid = QtGui.QLineEdit(self.gb_AccResid)
        self.lineEdit_acctResid.setGeometry(QtCore.QRect(25, 30, 210, 22))
        self.lineEdit_acctResid.setObjectName(_fromUtf8("lineEdit_acctResid"))
        self.gb_Nxt = QtGui.QGroupBox(self.gb_AccResid)
        self.gb_Nxt.setGeometry(QtCore.QRect(0, 55, 241, 81))
        self.gb_Nxt.setTitle(_fromUtf8(""))
        self.gb_Nxt.setObjectName(_fromUtf8("gb_Nxt"))
        self.lcdN_acctResU_Nqt = QtGui.QLCDNumber(self.gb_Nxt)
        self.lcdN_acctResU_Nqt.setGeometry(QtCore.QRect(135, 45, 100, 21))
        self.lcdN_acctResU_Nqt.setNumDigits(8)
        self.lcdN_acctResU_Nqt.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcdN_acctResU_Nqt.setObjectName(_fromUtf8("lcdN_acctResU_Nqt"))
        self.lcdN_acctResU_Nxt = QtGui.QLCDNumber(self.gb_Nxt)
        self.lcdN_acctResU_Nxt.setGeometry(QtCore.QRect(0, 40, 120, 26))
        self.lcdN_acctResU_Nxt.setNumDigits(9)
        self.lcdN_acctResU_Nxt.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcdN_acctResU_Nxt.setObjectName(_fromUtf8("lcdN_acctResU_Nxt"))
        self.lcdN_acctRes_Nqt = QtGui.QLCDNumber(self.gb_Nxt)
        self.lcdN_acctRes_Nqt.setGeometry(QtCore.QRect(135, 15, 100, 21))
        self.lcdN_acctRes_Nqt.setNumDigits(8)
        self.lcdN_acctRes_Nqt.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcdN_acctRes_Nqt.setObjectName(_fromUtf8("lcdN_acctRes_Nqt"))
        self.lcdN_acctRes_Nxt = QtGui.QLCDNumber(self.gb_Nxt)
        self.lcdN_acctRes_Nxt.setGeometry(QtCore.QRect(0, 10, 121, 26))
        self.lcdN_acctRes_Nxt.setNumDigits(9)
        self.lcdN_acctRes_Nxt.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcdN_acctRes_Nxt.setObjectName(_fromUtf8("lcdN_acctRes_Nxt"))
        self.label_dot_2 = QtGui.QLabel(self.gb_Nxt)
        self.label_dot_2.setGeometry(QtCore.QRect(125, 40, 10, 26))
        font = QtGui.QFont()
        font.setPointSize(24)
        font.setBold(True)
        font.setWeight(75)
        self.label_dot_2.setFont(font)
        self.label_dot_2.setObjectName(_fromUtf8("label_dot_2"))
        self.label_dot = QtGui.QLabel(self.gb_Nxt)
        self.label_dot.setGeometry(QtCore.QRect(125, 5, 11, 31))
        font = QtGui.QFont()
        font.setPointSize(24)
        font.setBold(True)
        font.setWeight(75)
        self.label_dot.setFont(font)
        self.label_dot.setObjectName(_fromUtf8("label_dot"))
        self.groupBox_4 = QtGui.QGroupBox(self.tab)
        self.groupBox_4.setGeometry(QtCore.QRect(730, 160, 286, 386))
        self.groupBox_4.setObjectName(_fromUtf8("groupBox_4"))
        self.textEdit_assetDesc = QtGui.QTextEdit(self.groupBox_4)
        self.textEdit_assetDesc.setGeometry(QtCore.QRect(15, 25, 266, 361))
        self.textEdit_assetDesc.setObjectName(_fromUtf8("textEdit_assetDesc"))
        self.pb_getAllAssets = QtGui.QPushButton(self.tab)
        self.pb_getAllAssets.setGeometry(QtCore.QRect(790, 25, 146, 91))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.pb_getAllAssets.setFont(font)
        self.pb_getAllAssets.setObjectName(_fromUtf8("pb_getAllAssets"))
        self.tabWidget.addTab(self.tab, _fromUtf8(""))
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName(_fromUtf8("tab_2"))
        self.textEdit_test = QtGui.QTextEdit(self.tab_2)
        self.textEdit_test.setGeometry(QtCore.QRect(45, 35, 831, 681))
        self.textEdit_test.setObjectName(_fromUtf8("textEdit_test"))
        self.pb_clear = QtGui.QPushButton(self.tab_2)
        self.pb_clear.setGeometry(QtCore.QRect(970, 665, 101, 27))
        self.pb_clear.setObjectName(_fromUtf8("pb_clear"))
        self.pb_1 = QtGui.QPushButton(self.tab_2)
        self.pb_1.setGeometry(QtCore.QRect(970, 460, 101, 27))
        self.pb_1.setObjectName(_fromUtf8("pb_1"))
        self.pb_2 = QtGui.QPushButton(self.tab_2)
        self.pb_2.setGeometry(QtCore.QRect(970, 500, 101, 27))
        self.pb_2.setObjectName(_fromUtf8("pb_2"))
        self.pb_3 = QtGui.QPushButton(self.tab_2)
        self.pb_3.setGeometry(QtCore.QRect(970, 540, 101, 27))
        self.pb_3.setObjectName(_fromUtf8("pb_3"))
        self.pb_4 = QtGui.QPushButton(self.tab_2)
        self.pb_4.setGeometry(QtCore.QRect(970, 580, 101, 27))
        self.pb_4.setObjectName(_fromUtf8("pb_4"))
        self.pb_5 = QtGui.QPushButton(self.tab_2)
        self.pb_5.setGeometry(QtCore.QRect(970, 625, 101, 27))
        self.pb_5.setObjectName(_fromUtf8("pb_5"))
        self.groupBox_5 = QtGui.QGroupBox(self.tab_2)
        self.groupBox_5.setGeometry(QtCore.QRect(900, 90, 361, 281))
        self.groupBox_5.setCheckable(True)
        self.groupBox_5.setChecked(False)
        self.groupBox_5.setObjectName(_fromUtf8("groupBox_5"))
        self.tableWidget = QtGui.QTableWidget(self.groupBox_5)
        self.tableWidget.setGeometry(QtCore.QRect(15, 40, 181, 226))
        self.tableWidget.setObjectName(_fromUtf8("tableWidget"))
        self.tableWidget.setColumnCount(0)
        self.tableWidget.setRowCount(0)
        self.gb_poll2 = QtGui.QGroupBox(self.groupBox_5)
        self.gb_poll2.setGeometry(QtCore.QRect(275, 5, 81, 41))
        self.gb_poll2.setCheckable(True)
        self.gb_poll2.setObjectName(_fromUtf8("gb_poll2"))
        self.kled_poll2 = KLed(self.gb_poll2)
        self.kled_poll2.setGeometry(QtCore.QRect(0, 20, 26, 21))
        self.kled_poll2.setColor(QtGui.QColor(0, 10, 250))
        self.kled_poll2.setObjectName(_fromUtf8("kled_poll2"))
        self.lineEdit_pollTimer2 = QtGui.QLineEdit(self.gb_poll2)
        self.lineEdit_pollTimer2.setGeometry(QtCore.QRect(25, 20, 50, 16))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.lineEdit_pollTimer2.setFont(font)
        self.lineEdit_pollTimer2.setMaxLength(200)
        self.lineEdit_pollTimer2.setObjectName(_fromUtf8("lineEdit_pollTimer2"))
        self.tabWidget.addTab(self.tab_2, _fromUtf8(""))
        self.tab_3 = QtGui.QWidget()
        self.tab_3.setObjectName(_fromUtf8("tab_3"))
        self.tabWidget.addTab(self.tab_3, _fromUtf8(""))
        MainWindow.setCentralWidget(self.centralwidget)
        self.actionMenu = QtGui.QAction(MainWindow)
        self.actionMenu.setObjectName(_fromUtf8("actionMenu"))

        self.retranslateUi(MainWindow)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(_translate("MainWindow", "NxtPowerTools - Assets&Accounts", None))
        self.groupBox.setTitle(_translate("MainWindow", "Exchange Assets", None))
        self.groupBox_2.setTitle(_translate("MainWindow", "Account Assets", None))
        self.gb_AccSLT.setTitle(_translate("MainWindow", "slated Account", None))
        self.groupBox_acctList.setTitle(_translate("MainWindow", "Account List", None))
        self.label_dot_5.setText(_translate("MainWindow", ".", None))
        self.label_dot_6.setText(_translate("MainWindow", ".", None))
        self.groupBox_assetList.setTitle(_translate("MainWindow", "Asset List", None))
        self.pb_assToOB.setText(_translate("MainWindow", "to OB", None))
        self.gb_AccResid.setTitle(_translate("MainWindow", "resident Account", None))
        self.label_dot_2.setText(_translate("MainWindow", ".", None))
        self.label_dot.setText(_translate("MainWindow", ".", None))
        self.groupBox_4.setTitle(_translate("MainWindow", "Asset Description", None))
        self.pb_getAllAssets.setText(_translate("MainWindow", "get Assets", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "Assets", None))
        self.pb_clear.setText(_translate("MainWindow", "clear", None))
        self.pb_1.setText(_translate("MainWindow", "1", None))
        self.pb_2.setText(_translate("MainWindow", "2", None))
        self.pb_3.setText(_translate("MainWindow", "3", None))
        self.pb_4.setText(_translate("MainWindow", "4", None))
        self.pb_5.setText(_translate("MainWindow", "5", None))
        self.groupBox_5.setTitle(_translate("MainWindow", "Filters", None))
        self.gb_poll2.setTitle(_translate("MainWindow", "Poll", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "Filters", None))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("MainWindow", "Seite", None))
        self.actionMenu.setText(_translate("MainWindow", "nxTrading", None))
Ejemplo n.º 11
0
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName(_fromUtf8("Dialog"))
        Dialog.resize(755, 682)
        self.frame = QtGui.QFrame(Dialog)
        self.frame.setGeometry(QtCore.QRect(20, 20, 341, 311))
        self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtGui.QFrame.Raised)
        self.frame.setObjectName(_fromUtf8("frame"))
        self.label_4 = QtGui.QLabel(self.frame)
        self.label_4.setGeometry(QtCore.QRect(60, 185, 91, 21))
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.label = QtGui.QLabel(self.frame)
        self.label.setGeometry(QtCore.QRect(60, 65, 51, 21))
        self.label.setObjectName(_fromUtf8("label"))
        self.kled_ger_sin_clk = KLed(self.frame)
        self.kled_ger_sin_clk.setGeometry(QtCore.QRect(20, 100, 28, 28))
        self.kled_ger_sin_clk.setState(KLed.Off)
        self.kled_ger_sin_clk.setObjectName(_fromUtf8("kled_ger_sin_clk"))
        self.kled_switch = KLed(self.frame)
        self.kled_switch.setGeometry(QtCore.QRect(20, 180, 28, 28))
        self.kled_switch.setState(KLed.Off)
        self.kled_switch.setObjectName(_fromUtf8("kled_switch"))
        self.kled_crate = KLed(self.frame)
        self.kled_crate.setGeometry(QtCore.QRect(20, 60, 28, 28))
        self.kled_crate.setState(KLed.Off)
        self.kled_crate.setObjectName(_fromUtf8("kled_crate"))
        self.label_3 = QtGui.QLabel(self.frame)
        self.label_3.setGeometry(QtCore.QRect(60, 145, 251, 21))
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.kled_ger_sin_in = KLed(self.frame)
        self.kled_ger_sin_in.setGeometry(QtCore.QRect(20, 140, 28, 28))
        self.kled_ger_sin_in.setState(KLed.Off)
        self.kled_ger_sin_in.setObjectName(_fromUtf8("kled_ger_sin_in"))
        self.label_2 = QtGui.QLabel(self.frame)
        self.label_2.setGeometry(QtCore.QRect(60, 105, 201, 21))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.label_5 = QtGui.QLabel(self.frame)
        self.label_5.setGeometry(QtCore.QRect(0, 20, 341, 20))
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.label_11 = QtGui.QLabel(self.frame)
        self.label_11.setGeometry(QtCore.QRect(60, 265, 171, 21))
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.kled_data_acquisition = KLed(self.frame)
        self.kled_data_acquisition.setGeometry(QtCore.QRect(20, 260, 28, 28))
        self.kled_data_acquisition.setState(KLed.Off)
        self.kled_data_acquisition.setObjectName(
            _fromUtf8("kled_data_acquisition"))
        self.label_14 = QtGui.QLabel(self.frame)
        self.label_14.setGeometry(QtCore.QRect(60, 225, 171, 21))
        self.label_14.setObjectName(_fromUtf8("label_14"))
        self.kled_fpga = KLed(self.frame)
        self.kled_fpga.setGeometry(QtCore.QRect(20, 220, 28, 28))
        self.kled_fpga.setState(KLed.Off)
        self.kled_fpga.setObjectName(_fromUtf8("kled_fpga"))
        self.frame_2 = QtGui.QFrame(Dialog)
        self.frame_2.setGeometry(QtCore.QRect(380, 20, 341, 321))
        self.frame_2.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame_2.setFrameShadow(QtGui.QFrame.Raised)
        self.frame_2.setObjectName(_fromUtf8("frame_2"))
        self.label_6 = QtGui.QLabel(self.frame_2)
        self.label_6.setGeometry(QtCore.QRect(60, 186, 101, 20))
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.label_7 = QtGui.QLabel(self.frame_2)
        self.label_7.setGeometry(QtCore.QRect(60, 66, 51, 20))
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.kled_sfdr = KLed(self.frame_2)
        self.kled_sfdr.setGeometry(QtCore.QRect(20, 100, 31, 31))
        self.kled_sfdr.setState(KLed.Off)
        self.kled_sfdr.setObjectName(_fromUtf8("kled_sfdr"))
        self.kled_crosstalk = KLed(self.frame_2)
        self.kled_crosstalk.setGeometry(QtCore.QRect(20, 180, 31, 31))
        self.kled_crosstalk.setState(KLed.Off)
        self.kled_crosstalk.setObjectName(_fromUtf8("kled_crosstalk"))
        self.kled_snr = KLed(self.frame_2)
        self.kled_snr.setGeometry(QtCore.QRect(20, 60, 31, 31))
        self.kled_snr.setState(KLed.Off)
        self.kled_snr.setObjectName(_fromUtf8("kled_snr"))
        self.label_8 = QtGui.QLabel(self.frame_2)
        self.label_8.setGeometry(QtCore.QRect(60, 150, 251, 16))
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.kled_enob = KLed(self.frame_2)
        self.kled_enob.setGeometry(QtCore.QRect(20, 140, 31, 31))
        self.kled_enob.setState(KLed.Off)
        self.kled_enob.setObjectName(_fromUtf8("kled_enob"))
        self.label_9 = QtGui.QLabel(self.frame_2)
        self.label_9.setGeometry(QtCore.QRect(60, 105, 201, 21))
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.label_10 = QtGui.QLabel(self.frame_2)
        self.label_10.setGeometry(QtCore.QRect(0, 20, 341, 20))
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.kled_dif_amp = KLed(self.frame_2)
        self.kled_dif_amp.setGeometry(QtCore.QRect(20, 220, 31, 31))
        self.kled_dif_amp.setState(KLed.Off)
        self.kled_dif_amp.setObjectName(_fromUtf8("kled_dif_amp"))
        self.label_12 = QtGui.QLabel(self.frame_2)
        self.label_12.setGeometry(QtCore.QRect(60, 225, 141, 21))
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.kled_missing_codes = KLed(self.frame_2)
        self.kled_missing_codes.setGeometry(QtCore.QRect(20, 260, 31, 31))
        self.kled_missing_codes.setState(KLed.Off)
        self.kled_missing_codes.setObjectName(_fromUtf8("kled_missing_codes"))
        self.label_13 = QtGui.QLabel(self.frame_2)
        self.label_13.setGeometry(QtCore.QRect(60, 270, 141, 16))
        self.label_13.setObjectName(_fromUtf8("label_13"))
        self.frame_3 = QtGui.QFrame(Dialog)
        self.frame_3.setGeometry(QtCore.QRect(20, 350, 341, 261))
        self.frame_3.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame_3.setFrameShadow(QtGui.QFrame.Raised)
        self.frame_3.setObjectName(_fromUtf8("frame_3"))
        self.label_20 = QtGui.QLabel(self.frame_3)
        self.label_20.setGeometry(QtCore.QRect(60, 175, 111, 21))
        self.label_20.setObjectName(_fromUtf8("label_20"))
        self.label_21 = QtGui.QLabel(self.frame_3)
        self.label_21.setGeometry(QtCore.QRect(60, 55, 51, 21))
        self.label_21.setObjectName(_fromUtf8("label_21"))
        self.kled_ad9510 = KLed(self.frame_3)
        self.kled_ad9510.setGeometry(QtCore.QRect(20, 90, 28, 28))
        self.kled_ad9510.setState(KLed.Off)
        self.kled_ad9510.setObjectName(_fromUtf8("kled_ad9510"))
        self.kled_ics854s01i = KLed(self.frame_3)
        self.kled_ics854s01i.setGeometry(QtCore.QRect(20, 170, 28, 28))
        self.kled_ics854s01i.setState(KLed.Off)
        self.kled_ics854s01i.setObjectName(_fromUtf8("kled_ics854s01i"))
        self.kled_si571 = KLed(self.frame_3)
        self.kled_si571.setGeometry(QtCore.QRect(20, 50, 28, 28))
        self.kled_si571.setState(KLed.Off)
        self.kled_si571.setObjectName(_fromUtf8("kled_si571"))
        self.label_22 = QtGui.QLabel(self.frame_3)
        self.label_22.setGeometry(QtCore.QRect(60, 135, 251, 21))
        self.label_22.setObjectName(_fromUtf8("label_22"))
        self.kled_eeprom = KLed(self.frame_3)
        self.kled_eeprom.setGeometry(QtCore.QRect(20, 130, 28, 28))
        self.kled_eeprom.setState(KLed.Off)
        self.kled_eeprom.setObjectName(_fromUtf8("kled_eeprom"))
        self.label_23 = QtGui.QLabel(self.frame_3)
        self.label_23.setGeometry(QtCore.QRect(60, 95, 201, 21))
        self.label_23.setObjectName(_fromUtf8("label_23"))
        self.label_24 = QtGui.QLabel(self.frame_3)
        self.label_24.setGeometry(QtCore.QRect(0, 20, 341, 20))
        self.label_24.setObjectName(_fromUtf8("label_24"))
        self.kled_sensor_temperatura = KLed(self.frame_3)
        self.kled_sensor_temperatura.setGeometry(QtCore.QRect(20, 210, 28, 28))
        self.kled_sensor_temperatura.setState(KLed.Off)
        self.kled_sensor_temperatura.setObjectName(
            _fromUtf8("kled_sensor_temperatura"))
        self.label_25 = QtGui.QLabel(self.frame_3)
        self.label_25.setGeometry(QtCore.QRect(60, 215, 181, 21))
        self.label_25.setObjectName(_fromUtf8("label_25"))
        self.frame_4 = QtGui.QFrame(Dialog)
        self.frame_4.setGeometry(QtCore.QRect(380, 360, 341, 251))
        self.frame_4.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame_4.setFrameShadow(QtGui.QFrame.Raised)
        self.frame_4.setObjectName(_fromUtf8("frame_4"))
        self.label_27 = QtGui.QLabel(self.frame_4)
        self.label_27.setGeometry(QtCore.QRect(60, 45, 51, 21))
        self.label_27.setObjectName(_fromUtf8("label_27"))
        self.kled_statusFAIL = KLed(self.frame_4)
        self.kled_statusFAIL.setGeometry(QtCore.QRect(20, 80, 28, 28))
        self.kled_statusFAIL.setColor(QtGui.QColor(255, 0, 0))
        self.kled_statusFAIL.setObjectName(_fromUtf8("kled_statusFAIL"))
        self.kled_statusOK = KLed(self.frame_4)
        self.kled_statusOK.setGeometry(QtCore.QRect(20, 40, 28, 28))
        self.kled_statusOK.setObjectName(_fromUtf8("kled_statusOK"))
        self.label_28 = QtGui.QLabel(self.frame_4)
        self.label_28.setGeometry(QtCore.QRect(60, 165, 251, 21))
        self.label_28.setObjectName(_fromUtf8("label_28"))
        self.kled_statusNotUsed = KLed(self.frame_4)
        self.kled_statusNotUsed.setGeometry(QtCore.QRect(20, 160, 28, 28))
        self.kled_statusNotUsed.setColor(QtGui.QColor(0, 0, 255))
        self.kled_statusNotUsed.setObjectName(_fromUtf8("kled_statusNotUsed"))
        self.label_29 = QtGui.QLabel(self.frame_4)
        self.label_29.setGeometry(QtCore.QRect(60, 85, 201, 21))
        self.label_29.setObjectName(_fromUtf8("label_29"))
        self.label_30 = QtGui.QLabel(self.frame_4)
        self.label_30.setGeometry(QtCore.QRect(0, 20, 341, 20))
        self.label_30.setObjectName(_fromUtf8("label_30"))
        self.kled_statusNaoAvaliado = KLed(self.frame_4)
        self.kled_statusNaoAvaliado.setGeometry(QtCore.QRect(20, 200, 28, 28))
        self.kled_statusNaoAvaliado.setState(KLed.Off)
        self.kled_statusNaoAvaliado.setObjectName(
            _fromUtf8("kled_statusNaoAvaliado"))
        self.label_31 = QtGui.QLabel(self.frame_4)
        self.label_31.setGeometry(QtCore.QRect(60, 205, 251, 21))
        self.label_31.setObjectName(_fromUtf8("label_31"))
        self.kled_statusExecutando = KLed(self.frame_4)
        self.kled_statusExecutando.setGeometry(QtCore.QRect(20, 120, 28, 28))
        self.kled_statusExecutando.setColor(QtGui.QColor(255, 255, 0))
        self.kled_statusExecutando.setObjectName(
            _fromUtf8("kled_statusExecutando"))
        self.label_32 = QtGui.QLabel(self.frame_4)
        self.label_32.setGeometry(QtCore.QRect(60, 126, 201, 20))
        self.label_32.setObjectName(_fromUtf8("label_32"))
        self.OK_Button = QtGui.QPushButton(Dialog)
        self.OK_Button.setGeometry(QtCore.QRect(620, 640, 87, 27))
        self.OK_Button.setObjectName(_fromUtf8("OK_Button"))
        self.progressBar = QtGui.QProgressBar(Dialog)
        self.progressBar.setGeometry(QtCore.QRect(220, 640, 311, 23))
        self.progressBar.setProperty("value", 0)
        self.progressBar.setObjectName(_fromUtf8("progressBar"))

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

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(_translate("Dialog", "Status", None))
        self.label_4.setText(
            _translate("Dialog",
                       "<html><head/><body><p>Switch</p></body></html>", None))
        self.label.setText(
            _translate("Dialog",
                       "<html><head/><body><p>CRATE</p></body></html>", None))
        self.label_3.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p>Gerador de Sinais (Input Signal)</p></body></html>",
                None))
        self.label_2.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p>Gerador de Sinais (Clock)</p></body></html>",
                None))
        self.label_5.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p align=\"center\"><span style=\" font-weight:600;\">COMUNICAÇÃO/AQUISIÇÃO DE DADOS</span></p></body></html>",
                None))
        self.label_11.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p>Aquisição de Dados</p></body></html>",
                None))
        self.label_14.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p>Gravação da FPGA</p></body></html>",
                None))
        self.label_6.setText(
            _translate("Dialog",
                       "<html><head/><body><p>CROSSTALK</p></body></html>",
                       None))
        self.label_7.setText(
            _translate("Dialog", "<html><head/><body><p>SNR</p></body></html>",
                       None))
        self.label_8.setText(
            _translate("Dialog",
                       "<html><head/><body><p>ENOB</p></body></html>", None))
        self.label_9.setText(
            _translate("Dialog",
                       "<html><head/><body><p>SFDR</p></body></html>", None))
        self.label_10.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p align=\"center\"><span style=\" font-weight:600;\">TESTES DE PERFOMANCE</span></p></body></html>",
                None))
        self.label_12.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p>DIF. AMPLITUDES</p></body></html>",
                None))
        self.label_13.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p>MISSING CODES</p></body></html>", None))
        self.label_20.setText(
            _translate("Dialog",
                       "<html><head/><body><p>ICS854S01I</p></body></html>",
                       None))
        self.label_21.setText(
            _translate("Dialog",
                       "<html><head/><body><p>Si571</p></body></html>", None))
        self.label_22.setText(
            _translate("Dialog",
                       "<html><head/><body><p>EEPROM</p></body></html>", None))
        self.label_23.setText(
            _translate("Dialog",
                       "<html><head/><body><p>AD9510</p></body></html>", None))
        self.label_24.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p align=\"center\"><span style=\" font-weight:600;\">TESTES DE COMPONENTES</span></p></body></html>",
                None))
        self.label_25.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p>Sensor de Temperatura</p></body></html>",
                None))
        self.label_27.setText(
            _translate("Dialog", "<html><head/><body><p>OK</p></body></html>",
                       None))
        self.label_28.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p>Não será executado</p></body></html>",
                None))
        self.label_29.setText(
            _translate("Dialog",
                       "<html><head/><body><p>Falhou</p></body></html>", None))
        self.label_30.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p align=\"center\"><span style=\" font-weight:600;\">LEGENDA</span></p></body></html>",
                None))
        self.label_31.setText(
            _translate(
                "Dialog",
                "<html><head/><body><p>Status ainda não avaliado</p></body></html>",
                None))
        self.label_32.setText(
            _translate("Dialog",
                       "<html><head/><body><p>Em execução</p></body></html>",
                       None))
        self.OK_Button.setText(_translate("Dialog", "OK", None))
Ejemplo n.º 12
0
class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(966, 728)
        self.grid_main = QtGui.QWidget(MainWindow)
        self.grid_main.setObjectName(_fromUtf8("grid_main"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.grid_main)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.grid_lcd = QtGui.QGridLayout()
        self.grid_lcd.setObjectName(_fromUtf8("grid_lcd"))
        self.label_ta = QtGui.QLabel(self.grid_main)
        self.label_ta.setObjectName(_fromUtf8("label_ta"))
        self.grid_lcd.addWidget(self.label_ta, 0, 2, 1, 1)
        self.label_hur = QtGui.QLabel(self.grid_main)
        self.label_hur.setObjectName(_fromUtf8("label_hur"))
        self.grid_lcd.addWidget(self.label_hur, 0, 3, 1, 1)
        self.lcd_hur_3 = QtGui.QLCDNumber(self.grid_main)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Century Schoolbook L"))
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        font.setStyleStrategy(QtGui.QFont.PreferDefault)
        self.lcd_hur_3.setFont(font)
        self.lcd_hur_3.setAutoFillBackground(True)
        self.lcd_hur_3.setFrameShape(QtGui.QFrame.Box)
        self.lcd_hur_3.setFrameShadow(QtGui.QFrame.Plain)
        self.lcd_hur_3.setLineWidth(2)
        self.lcd_hur_3.setMidLineWidth(0)
        self.lcd_hur_3.setSmallDecimalPoint(False)
        self.lcd_hur_3.setNumDigits(5)
        self.lcd_hur_3.setDigitCount(5)
        self.lcd_hur_3.setMode(QtGui.QLCDNumber.Dec)
        self.lcd_hur_3.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcd_hur_3.setProperty("value", 0.0)
        self.lcd_hur_3.setProperty("intValue", 0)
        self.lcd_hur_3.setObjectName(_fromUtf8("lcd_hur_3"))
        self.grid_lcd.addWidget(self.lcd_hur_3, 3, 3, 1, 1)
        self.lcd_vin_2 = QtGui.QLCDNumber(self.grid_main)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Century Schoolbook L"))
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        font.setStyleStrategy(QtGui.QFont.PreferDefault)
        self.lcd_vin_2.setFont(font)
        self.lcd_vin_2.setAutoFillBackground(True)
        self.lcd_vin_2.setFrameShape(QtGui.QFrame.Box)
        self.lcd_vin_2.setFrameShadow(QtGui.QFrame.Plain)
        self.lcd_vin_2.setLineWidth(2)
        self.lcd_vin_2.setMidLineWidth(0)
        self.lcd_vin_2.setSmallDecimalPoint(False)
        self.lcd_vin_2.setNumDigits(5)
        self.lcd_vin_2.setDigitCount(5)
        self.lcd_vin_2.setMode(QtGui.QLCDNumber.Dec)
        self.lcd_vin_2.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcd_vin_2.setProperty("value", 0.0)
        self.lcd_vin_2.setProperty("intValue", 0)
        self.lcd_vin_2.setObjectName(_fromUtf8("lcd_vin_2"))
        self.grid_lcd.addWidget(self.lcd_vin_2, 2, 8, 1, 1)
        self.lcd_vin_4 = QtGui.QLCDNumber(self.grid_main)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Century Schoolbook L"))
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        font.setStyleStrategy(QtGui.QFont.PreferDefault)
        self.lcd_vin_4.setFont(font)
        self.lcd_vin_4.setAutoFillBackground(True)
        self.lcd_vin_4.setFrameShape(QtGui.QFrame.Box)
        self.lcd_vin_4.setFrameShadow(QtGui.QFrame.Plain)
        self.lcd_vin_4.setLineWidth(2)
        self.lcd_vin_4.setMidLineWidth(0)
        self.lcd_vin_4.setSmallDecimalPoint(False)
        self.lcd_vin_4.setNumDigits(5)
        self.lcd_vin_4.setDigitCount(5)
        self.lcd_vin_4.setMode(QtGui.QLCDNumber.Dec)
        self.lcd_vin_4.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcd_vin_4.setProperty("value", 0.0)
        self.lcd_vin_4.setProperty("intValue", 0)
        self.lcd_vin_4.setObjectName(_fromUtf8("lcd_vin_4"))
        self.grid_lcd.addWidget(self.lcd_vin_4, 4, 8, 1, 1)
        self.lcd_alt_2 = QtGui.QLCDNumber(self.grid_main)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Century Schoolbook L"))
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        font.setStyleStrategy(QtGui.QFont.PreferDefault)
        self.lcd_alt_2.setFont(font)
        self.lcd_alt_2.setAutoFillBackground(True)
        self.lcd_alt_2.setFrameShape(QtGui.QFrame.Box)
        self.lcd_alt_2.setFrameShadow(QtGui.QFrame.Plain)
        self.lcd_alt_2.setLineWidth(2)
        self.lcd_alt_2.setMidLineWidth(0)
        self.lcd_alt_2.setSmallDecimalPoint(False)
        self.lcd_alt_2.setNumDigits(5)
        self.lcd_alt_2.setDigitCount(5)
        self.lcd_alt_2.setMode(QtGui.QLCDNumber.Dec)
        self.lcd_alt_2.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcd_alt_2.setProperty("value", 0.0)
        self.lcd_alt_2.setProperty("intValue", 0)
        self.lcd_alt_2.setObjectName(_fromUtf8("lcd_alt_2"))
        self.grid_lcd.addWidget(self.lcd_alt_2, 2, 7, 1, 1)
        self.label_mc4 = QtGui.QLabel(self.grid_main)
        self.label_mc4.setObjectName(_fromUtf8("label_mc4"))
        self.grid_lcd.addWidget(self.label_mc4, 4, 0, 1, 1)
        self.label_ps = QtGui.QLabel(self.grid_main)
        self.label_ps.setObjectName(_fromUtf8("label_ps"))
        self.grid_lcd.addWidget(self.label_ps, 0, 4, 1, 1)
        self.label_wdir = QtGui.QLabel(self.grid_main)
        self.label_wdir.setObjectName(_fromUtf8("label_wdir"))
        self.grid_lcd.addWidget(self.label_wdir, 0, 6, 1, 1)
        self.lcd_alt_1 = QtGui.QLCDNumber(self.grid_main)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Century Schoolbook L"))
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        font.setStyleStrategy(QtGui.QFont.PreferDefault)
        self.lcd_alt_1.setFont(font)
        self.lcd_alt_1.setAutoFillBackground(True)
        self.lcd_alt_1.setFrameShape(QtGui.QFrame.Box)
        self.lcd_alt_1.setFrameShadow(QtGui.QFrame.Plain)
        self.lcd_alt_1.setLineWidth(2)
        self.lcd_alt_1.setMidLineWidth(0)
        self.lcd_alt_1.setSmallDecimalPoint(False)
        self.lcd_alt_1.setNumDigits(5)
        self.lcd_alt_1.setDigitCount(5)
        self.lcd_alt_1.setMode(QtGui.QLCDNumber.Dec)
        self.lcd_alt_1.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcd_alt_1.setProperty("value", 0.0)
        self.lcd_alt_1.setProperty("intValue", 0)
        self.lcd_alt_1.setObjectName(_fromUtf8("lcd_alt_1"))
        self.grid_lcd.addWidget(self.lcd_alt_1, 1, 7, 1, 1)
        self.lcd_ta_2 = QtGui.QLCDNumber(self.grid_main)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Century Schoolbook L"))
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        font.setStyleStrategy(QtGui.QFont.PreferDefault)
        self.lcd_ta_2.setFont(font)
        self.lcd_ta_2.setAutoFillBackground(True)
        self.lcd_ta_2.setFrameShape(QtGui.QFrame.Box)
        self.lcd_ta_2.setFrameShadow(QtGui.QFrame.Plain)
        self.lcd_ta_2.setLineWidth(2)
        self.lcd_ta_2.setMidLineWidth(0)
        self.lcd_ta_2.setSmallDecimalPoint(False)
        self.lcd_ta_2.setNumDigits(5)
        self.lcd_ta_2.setDigitCount(5)
        self.lcd_ta_2.setMode(QtGui.QLCDNumber.Dec)
        self.lcd_ta_2.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcd_ta_2.setProperty("value", 0.0)
        self.lcd_ta_2.setProperty("intValue", 0)
        self.lcd_ta_2.setObjectName(_fromUtf8("lcd_ta_2"))
        self.grid_lcd.addWidget(self.lcd_ta_2, 2, 2, 1, 1)
        self.lcd_ta_3 = QtGui.QLCDNumber(self.grid_main)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Century Schoolbook L"))
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        font.setStyleStrategy(QtGui.QFont.PreferDefault)
        self.lcd_ta_3.setFont(font)
        self.lcd_ta_3.setAutoFillBackground(True)
        self.lcd_ta_3.setFrameShape(QtGui.QFrame.Box)
        self.lcd_ta_3.setFrameShadow(QtGui.QFrame.Plain)
        self.lcd_ta_3.setLineWidth(2)
        self.lcd_ta_3.setMidLineWidth(0)
        self.lcd_ta_3.setSmallDecimalPoint(False)
        self.lcd_ta_3.setNumDigits(5)
        self.lcd_ta_3.setDigitCount(5)
        self.lcd_ta_3.setMode(QtGui.QLCDNumber.Dec)
        self.lcd_ta_3.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcd_ta_3.setProperty("value", 0.0)
        self.lcd_ta_3.setProperty("intValue", 0)
        self.lcd_ta_3.setObjectName(_fromUtf8("lcd_ta_3"))
        self.grid_lcd.addWidget(self.lcd_ta_3, 3, 2, 1, 1)
        self.lcd_ta_1 = QtGui.QLCDNumber(self.grid_main)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Century Schoolbook L"))
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        font.setStyleStrategy(QtGui.QFont.PreferDefault)
        self.lcd_ta_1.setFont(font)
        self.lcd_ta_1.setAutoFillBackground(True)
        self.lcd_ta_1.setFrameShape(QtGui.QFrame.Box)
        self.lcd_ta_1.setFrameShadow(QtGui.QFrame.Plain)
        self.lcd_ta_1.setLineWidth(2)
        self.lcd_ta_1.setMidLineWidth(0)
        self.lcd_ta_1.setSmallDecimalPoint(False)
        self.lcd_ta_1.setNumDigits(5)
        self.lcd_ta_1.setDigitCount(5)
        self.lcd_ta_1.setMode(QtGui.QLCDNumber.Dec)
        self.lcd_ta_1.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcd_ta_1.setProperty("value", 0.0)
        self.lcd_ta_1.setProperty("intValue", 0)
        self.lcd_ta_1.setObjectName(_fromUtf8("lcd_ta_1"))
        self.grid_lcd.addWidget(self.lcd_ta_1, 1, 2, 1, 1)
        self.lcd_ws_3 = QtGui.QLCDNumber(self.grid_main)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Century Schoolbook L"))
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        font.setStyleStrategy(QtGui.QFont.PreferDefault)
        self.lcd_ws_3.setFont(font)
        self.lcd_ws_3.setAutoFillBackground(True)
        self.lcd_ws_3.setFrameShape(QtGui.QFrame.Box)
        self.lcd_ws_3.setFrameShadow(QtGui.QFrame.Plain)
        self.lcd_ws_3.setLineWidth(2)
        self.lcd_ws_3.setMidLineWidth(0)
        self.lcd_ws_3.setSmallDecimalPoint(False)
        self.lcd_ws_3.setNumDigits(5)
        self.lcd_ws_3.setDigitCount(5)
        self.lcd_ws_3.setMode(QtGui.QLCDNumber.Dec)
        self.lcd_ws_3.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcd_ws_3.setProperty("value", 0.0)
        self.lcd_ws_3.setProperty("intValue", 0)
        self.lcd_ws_3.setObjectName(_fromUtf8("lcd_ws_3"))
        self.grid_lcd.addWidget(self.lcd_ws_3, 3, 5, 1, 1)
        self.lcd_ws_2 = QtGui.QLCDNumber(self.grid_main)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Century Schoolbook L"))
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        font.setStyleStrategy(QtGui.QFont.PreferDefault)
        self.lcd_ws_2.setFont(font)
        self.lcd_ws_2.setAutoFillBackground(True)
        self.lcd_ws_2.setFrameShape(QtGui.QFrame.Box)
        self.lcd_ws_2.setFrameShadow(QtGui.QFrame.Plain)
        self.lcd_ws_2.setLineWidth(2)
        self.lcd_ws_2.setMidLineWidth(0)
        self.lcd_ws_2.setSmallDecimalPoint(False)
        self.lcd_ws_2.setNumDigits(5)
        self.lcd_ws_2.setDigitCount(5)
        self.lcd_ws_2.setMode(QtGui.QLCDNumber.Dec)
        self.lcd_ws_2.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcd_ws_2.setProperty("value", 0.0)
        self.lcd_ws_2.setProperty("intValue", 0)
        self.lcd_ws_2.setObjectName(_fromUtf8("lcd_ws_2"))
        self.grid_lcd.addWidget(self.lcd_ws_2, 2, 5, 1, 1)
        self.lcd_ta_4 = QtGui.QLCDNumber(self.grid_main)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Century Schoolbook L"))
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        font.setStyleStrategy(QtGui.QFont.PreferDefault)
        self.lcd_ta_4.setFont(font)
        self.lcd_ta_4.setAutoFillBackground(True)
        self.lcd_ta_4.setFrameShape(QtGui.QFrame.Box)
        self.lcd_ta_4.setFrameShadow(QtGui.QFrame.Plain)
        self.lcd_ta_4.setLineWidth(2)
        self.lcd_ta_4.setMidLineWidth(0)
        self.lcd_ta_4.setSmallDecimalPoint(False)
        self.lcd_ta_4.setNumDigits(5)
        self.lcd_ta_4.setDigitCount(5)
        self.lcd_ta_4.setMode(QtGui.QLCDNumber.Dec)
        self.lcd_ta_4.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcd_ta_4.setProperty("value", 0.0)
        self.lcd_ta_4.setProperty("intValue", 0)
        self.lcd_ta_4.setObjectName(_fromUtf8("lcd_ta_4"))
        self.grid_lcd.addWidget(self.lcd_ta_4, 4, 2, 1, 1)
        self.lcd_wdir_3 = QtGui.QLCDNumber(self.grid_main)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Century Schoolbook L"))
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        font.setStyleStrategy(QtGui.QFont.PreferDefault)
        self.lcd_wdir_3.setFont(font)
        self.lcd_wdir_3.setAutoFillBackground(True)
        self.lcd_wdir_3.setFrameShape(QtGui.QFrame.Box)
        self.lcd_wdir_3.setFrameShadow(QtGui.QFrame.Plain)
        self.lcd_wdir_3.setLineWidth(2)
        self.lcd_wdir_3.setMidLineWidth(0)
        self.lcd_wdir_3.setSmallDecimalPoint(False)
        self.lcd_wdir_3.setNumDigits(5)
        self.lcd_wdir_3.setDigitCount(5)
        self.lcd_wdir_3.setMode(QtGui.QLCDNumber.Dec)
        self.lcd_wdir_3.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcd_wdir_3.setProperty("value", 0.0)
        self.lcd_wdir_3.setProperty("intValue", 0)
        self.lcd_wdir_3.setObjectName(_fromUtf8("lcd_wdir_3"))
        self.grid_lcd.addWidget(self.lcd_wdir_3, 3, 6, 1, 1)
        self.lcd_ws_1 = QtGui.QLCDNumber(self.grid_main)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Century Schoolbook L"))
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        font.setStyleStrategy(QtGui.QFont.PreferDefault)
        self.lcd_ws_1.setFont(font)
        self.lcd_ws_1.setAutoFillBackground(True)
        self.lcd_ws_1.setFrameShape(QtGui.QFrame.Box)
        self.lcd_ws_1.setFrameShadow(QtGui.QFrame.Plain)
        self.lcd_ws_1.setLineWidth(2)
        self.lcd_ws_1.setMidLineWidth(0)
        self.lcd_ws_1.setSmallDecimalPoint(False)
        self.lcd_ws_1.setNumDigits(5)
        self.lcd_ws_1.setDigitCount(5)
        self.lcd_ws_1.setMode(QtGui.QLCDNumber.Dec)
        self.lcd_ws_1.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcd_ws_1.setProperty("value", 0.0)
        self.lcd_ws_1.setProperty("intValue", 0)
        self.lcd_ws_1.setObjectName(_fromUtf8("lcd_ws_1"))
        self.grid_lcd.addWidget(self.lcd_ws_1, 1, 5, 1, 1)
        self.label_mc2 = QtGui.QLabel(self.grid_main)
        self.label_mc2.setObjectName(_fromUtf8("label_mc2"))
        self.grid_lcd.addWidget(self.label_mc2, 2, 0, 1, 1)
        self.lcd_alt_4 = QtGui.QLCDNumber(self.grid_main)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Century Schoolbook L"))
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        font.setStyleStrategy(QtGui.QFont.PreferDefault)
        self.lcd_alt_4.setFont(font)
        self.lcd_alt_4.setAutoFillBackground(True)
        self.lcd_alt_4.setFrameShape(QtGui.QFrame.Box)
        self.lcd_alt_4.setFrameShadow(QtGui.QFrame.Plain)
        self.lcd_alt_4.setLineWidth(2)
        self.lcd_alt_4.setMidLineWidth(0)
        self.lcd_alt_4.setSmallDecimalPoint(False)
        self.lcd_alt_4.setNumDigits(5)
        self.lcd_alt_4.setDigitCount(5)
        self.lcd_alt_4.setMode(QtGui.QLCDNumber.Dec)
        self.lcd_alt_4.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcd_alt_4.setProperty("value", 0.0)
        self.lcd_alt_4.setProperty("intValue", 0)
        self.lcd_alt_4.setObjectName(_fromUtf8("lcd_alt_4"))
        self.grid_lcd.addWidget(self.lcd_alt_4, 4, 7, 1, 1)
        self.lcd_alt_3 = QtGui.QLCDNumber(self.grid_main)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Century Schoolbook L"))
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        font.setStyleStrategy(QtGui.QFont.PreferDefault)
        self.lcd_alt_3.setFont(font)
        self.lcd_alt_3.setAutoFillBackground(True)
        self.lcd_alt_3.setFrameShape(QtGui.QFrame.Box)
        self.lcd_alt_3.setFrameShadow(QtGui.QFrame.Plain)
        self.lcd_alt_3.setLineWidth(2)
        self.lcd_alt_3.setMidLineWidth(0)
        self.lcd_alt_3.setSmallDecimalPoint(False)
        self.lcd_alt_3.setNumDigits(5)
        self.lcd_alt_3.setDigitCount(5)
        self.lcd_alt_3.setMode(QtGui.QLCDNumber.Dec)
        self.lcd_alt_3.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcd_alt_3.setProperty("value", 0.0)
        self.lcd_alt_3.setProperty("intValue", 0)
        self.lcd_alt_3.setObjectName(_fromUtf8("lcd_alt_3"))
        self.grid_lcd.addWidget(self.lcd_alt_3, 3, 7, 1, 1)
        self.label_mc3 = QtGui.QLabel(self.grid_main)
        self.label_mc3.setObjectName(_fromUtf8("label_mc3"))
        self.grid_lcd.addWidget(self.label_mc3, 3, 0, 1, 1)
        self.label_alt = QtGui.QLabel(self.grid_main)
        self.label_alt.setObjectName(_fromUtf8("label_alt"))
        self.grid_lcd.addWidget(self.label_alt, 0, 7, 1, 1)
        self.label_vin = QtGui.QLabel(self.grid_main)
        self.label_vin.setObjectName(_fromUtf8("label_vin"))
        self.grid_lcd.addWidget(self.label_vin, 0, 8, 1, 1)
        self.label_ws = QtGui.QLabel(self.grid_main)
        self.label_ws.setObjectName(_fromUtf8("label_ws"))
        self.grid_lcd.addWidget(self.label_ws, 0, 5, 1, 1)
        self.lcd_vin_1 = QtGui.QLCDNumber(self.grid_main)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Century Schoolbook L"))
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        font.setStyleStrategy(QtGui.QFont.PreferDefault)
        self.lcd_vin_1.setFont(font)
        self.lcd_vin_1.setAutoFillBackground(True)
        self.lcd_vin_1.setFrameShape(QtGui.QFrame.Box)
        self.lcd_vin_1.setFrameShadow(QtGui.QFrame.Plain)
        self.lcd_vin_1.setLineWidth(2)
        self.lcd_vin_1.setMidLineWidth(0)
        self.lcd_vin_1.setSmallDecimalPoint(False)
        self.lcd_vin_1.setNumDigits(5)
        self.lcd_vin_1.setDigitCount(5)
        self.lcd_vin_1.setMode(QtGui.QLCDNumber.Dec)
        self.lcd_vin_1.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcd_vin_1.setProperty("value", 0.0)
        self.lcd_vin_1.setProperty("intValue", 0)
        self.lcd_vin_1.setObjectName(_fromUtf8("lcd_vin_1"))
        self.grid_lcd.addWidget(self.lcd_vin_1, 1, 8, 1, 1)
        self.lcd_ps_4 = QtGui.QLCDNumber(self.grid_main)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Century Schoolbook L"))
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        font.setStyleStrategy(QtGui.QFont.PreferDefault)
        self.lcd_ps_4.setFont(font)
        self.lcd_ps_4.setAutoFillBackground(True)
        self.lcd_ps_4.setFrameShape(QtGui.QFrame.Box)
        self.lcd_ps_4.setFrameShadow(QtGui.QFrame.Plain)
        self.lcd_ps_4.setLineWidth(2)
        self.lcd_ps_4.setMidLineWidth(0)
        self.lcd_ps_4.setSmallDecimalPoint(False)
        self.lcd_ps_4.setNumDigits(5)
        self.lcd_ps_4.setDigitCount(5)
        self.lcd_ps_4.setMode(QtGui.QLCDNumber.Dec)
        self.lcd_ps_4.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcd_ps_4.setProperty("value", 0.0)
        self.lcd_ps_4.setProperty("intValue", 0)
        self.lcd_ps_4.setObjectName(_fromUtf8("lcd_ps_4"))
        self.grid_lcd.addWidget(self.lcd_ps_4, 4, 4, 1, 1)
        self.lcd_wdir_4 = QtGui.QLCDNumber(self.grid_main)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Century Schoolbook L"))
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        font.setStyleStrategy(QtGui.QFont.PreferDefault)
        self.lcd_wdir_4.setFont(font)
        self.lcd_wdir_4.setAutoFillBackground(True)
        self.lcd_wdir_4.setFrameShape(QtGui.QFrame.Box)
        self.lcd_wdir_4.setFrameShadow(QtGui.QFrame.Plain)
        self.lcd_wdir_4.setLineWidth(2)
        self.lcd_wdir_4.setMidLineWidth(0)
        self.lcd_wdir_4.setSmallDecimalPoint(False)
        self.lcd_wdir_4.setNumDigits(5)
        self.lcd_wdir_4.setDigitCount(5)
        self.lcd_wdir_4.setMode(QtGui.QLCDNumber.Dec)
        self.lcd_wdir_4.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcd_wdir_4.setProperty("value", 0.0)
        self.lcd_wdir_4.setProperty("intValue", 0)
        self.lcd_wdir_4.setObjectName(_fromUtf8("lcd_wdir_4"))
        self.grid_lcd.addWidget(self.lcd_wdir_4, 4, 6, 1, 1)
        self.lcd_ws_4 = QtGui.QLCDNumber(self.grid_main)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Century Schoolbook L"))
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        font.setStyleStrategy(QtGui.QFont.PreferDefault)
        self.lcd_ws_4.setFont(font)
        self.lcd_ws_4.setAutoFillBackground(True)
        self.lcd_ws_4.setFrameShape(QtGui.QFrame.Box)
        self.lcd_ws_4.setFrameShadow(QtGui.QFrame.Plain)
        self.lcd_ws_4.setLineWidth(2)
        self.lcd_ws_4.setMidLineWidth(0)
        self.lcd_ws_4.setSmallDecimalPoint(False)
        self.lcd_ws_4.setNumDigits(6)
        self.lcd_ws_4.setDigitCount(6)
        self.lcd_ws_4.setMode(QtGui.QLCDNumber.Dec)
        self.lcd_ws_4.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcd_ws_4.setProperty("value", 0.0)
        self.lcd_ws_4.setProperty("intValue", 0)
        self.lcd_ws_4.setObjectName(_fromUtf8("lcd_ws_4"))
        self.grid_lcd.addWidget(self.lcd_ws_4, 4, 5, 1, 1)
        self.label_mc1 = QtGui.QLabel(self.grid_main)
        self.label_mc1.setObjectName(_fromUtf8("label_mc1"))
        self.grid_lcd.addWidget(self.label_mc1, 1, 0, 1, 1)
        self.lcd_hur_1 = QtGui.QLCDNumber(self.grid_main)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Century Schoolbook L"))
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        font.setStyleStrategy(QtGui.QFont.PreferDefault)
        self.lcd_hur_1.setFont(font)
        self.lcd_hur_1.setAutoFillBackground(True)
        self.lcd_hur_1.setFrameShape(QtGui.QFrame.Box)
        self.lcd_hur_1.setFrameShadow(QtGui.QFrame.Plain)
        self.lcd_hur_1.setLineWidth(2)
        self.lcd_hur_1.setMidLineWidth(0)
        self.lcd_hur_1.setSmallDecimalPoint(False)
        self.lcd_hur_1.setNumDigits(5)
        self.lcd_hur_1.setDigitCount(5)
        self.lcd_hur_1.setMode(QtGui.QLCDNumber.Dec)
        self.lcd_hur_1.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcd_hur_1.setProperty("value", 0.0)
        self.lcd_hur_1.setProperty("intValue", 0)
        self.lcd_hur_1.setObjectName(_fromUtf8("lcd_hur_1"))
        self.grid_lcd.addWidget(self.lcd_hur_1, 1, 3, 1, 1)
        self.lcd_ps_1 = QtGui.QLCDNumber(self.grid_main)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Century Schoolbook L"))
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        font.setStyleStrategy(QtGui.QFont.PreferDefault)
        self.lcd_ps_1.setFont(font)
        self.lcd_ps_1.setAutoFillBackground(True)
        self.lcd_ps_1.setFrameShape(QtGui.QFrame.Box)
        self.lcd_ps_1.setFrameShadow(QtGui.QFrame.Plain)
        self.lcd_ps_1.setLineWidth(2)
        self.lcd_ps_1.setMidLineWidth(0)
        self.lcd_ps_1.setSmallDecimalPoint(False)
        self.lcd_ps_1.setNumDigits(5)
        self.lcd_ps_1.setDigitCount(5)
        self.lcd_ps_1.setMode(QtGui.QLCDNumber.Dec)
        self.lcd_ps_1.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcd_ps_1.setProperty("value", 0.0)
        self.lcd_ps_1.setProperty("intValue", 0)
        self.lcd_ps_1.setObjectName(_fromUtf8("lcd_ps_1"))
        self.grid_lcd.addWidget(self.lcd_ps_1, 1, 4, 1, 1)
        self.lcd_vin_3 = QtGui.QLCDNumber(self.grid_main)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Century Schoolbook L"))
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        font.setStyleStrategy(QtGui.QFont.PreferDefault)
        self.lcd_vin_3.setFont(font)
        self.lcd_vin_3.setAutoFillBackground(True)
        self.lcd_vin_3.setFrameShape(QtGui.QFrame.Box)
        self.lcd_vin_3.setFrameShadow(QtGui.QFrame.Plain)
        self.lcd_vin_3.setLineWidth(2)
        self.lcd_vin_3.setMidLineWidth(0)
        self.lcd_vin_3.setSmallDecimalPoint(False)
        self.lcd_vin_3.setNumDigits(5)
        self.lcd_vin_3.setDigitCount(5)
        self.lcd_vin_3.setMode(QtGui.QLCDNumber.Dec)
        self.lcd_vin_3.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcd_vin_3.setProperty("value", 0.0)
        self.lcd_vin_3.setProperty("intValue", 0)
        self.lcd_vin_3.setObjectName(_fromUtf8("lcd_vin_3"))
        self.grid_lcd.addWidget(self.lcd_vin_3, 3, 8, 1, 1)
        self.lcd_ps_3 = QtGui.QLCDNumber(self.grid_main)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Century Schoolbook L"))
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        font.setStyleStrategy(QtGui.QFont.PreferDefault)
        self.lcd_ps_3.setFont(font)
        self.lcd_ps_3.setAutoFillBackground(True)
        self.lcd_ps_3.setFrameShape(QtGui.QFrame.Box)
        self.lcd_ps_3.setFrameShadow(QtGui.QFrame.Plain)
        self.lcd_ps_3.setLineWidth(2)
        self.lcd_ps_3.setMidLineWidth(0)
        self.lcd_ps_3.setSmallDecimalPoint(False)
        self.lcd_ps_3.setNumDigits(5)
        self.lcd_ps_3.setDigitCount(5)
        self.lcd_ps_3.setMode(QtGui.QLCDNumber.Dec)
        self.lcd_ps_3.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcd_ps_3.setProperty("value", 0.0)
        self.lcd_ps_3.setProperty("intValue", 0)
        self.lcd_ps_3.setObjectName(_fromUtf8("lcd_ps_3"))
        self.grid_lcd.addWidget(self.lcd_ps_3, 3, 4, 1, 1)
        self.lcd_wdir_2 = QtGui.QLCDNumber(self.grid_main)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Century Schoolbook L"))
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        font.setStyleStrategy(QtGui.QFont.PreferDefault)
        self.lcd_wdir_2.setFont(font)
        self.lcd_wdir_2.setAutoFillBackground(True)
        self.lcd_wdir_2.setFrameShape(QtGui.QFrame.Box)
        self.lcd_wdir_2.setFrameShadow(QtGui.QFrame.Plain)
        self.lcd_wdir_2.setLineWidth(2)
        self.lcd_wdir_2.setMidLineWidth(0)
        self.lcd_wdir_2.setSmallDecimalPoint(False)
        self.lcd_wdir_2.setNumDigits(5)
        self.lcd_wdir_2.setDigitCount(5)
        self.lcd_wdir_2.setMode(QtGui.QLCDNumber.Dec)
        self.lcd_wdir_2.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcd_wdir_2.setProperty("value", 0.0)
        self.lcd_wdir_2.setProperty("intValue", 0)
        self.lcd_wdir_2.setObjectName(_fromUtf8("lcd_wdir_2"))
        self.grid_lcd.addWidget(self.lcd_wdir_2, 2, 6, 1, 1)
        self.lcd_wdir_1 = QtGui.QLCDNumber(self.grid_main)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Century Schoolbook L"))
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        font.setStyleStrategy(QtGui.QFont.PreferDefault)
        self.lcd_wdir_1.setFont(font)
        self.lcd_wdir_1.setAutoFillBackground(True)
        self.lcd_wdir_1.setFrameShape(QtGui.QFrame.Box)
        self.lcd_wdir_1.setFrameShadow(QtGui.QFrame.Plain)
        self.lcd_wdir_1.setLineWidth(2)
        self.lcd_wdir_1.setMidLineWidth(0)
        self.lcd_wdir_1.setSmallDecimalPoint(False)
        self.lcd_wdir_1.setNumDigits(5)
        self.lcd_wdir_1.setDigitCount(5)
        self.lcd_wdir_1.setMode(QtGui.QLCDNumber.Dec)
        self.lcd_wdir_1.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcd_wdir_1.setProperty("value", 0.0)
        self.lcd_wdir_1.setProperty("intValue", 0)
        self.lcd_wdir_1.setObjectName(_fromUtf8("lcd_wdir_1"))
        self.grid_lcd.addWidget(self.lcd_wdir_1, 1, 6, 1, 1)
        self.lcd_hur_2 = QtGui.QLCDNumber(self.grid_main)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Century Schoolbook L"))
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        font.setStyleStrategy(QtGui.QFont.PreferDefault)
        self.lcd_hur_2.setFont(font)
        self.lcd_hur_2.setAutoFillBackground(True)
        self.lcd_hur_2.setFrameShape(QtGui.QFrame.Box)
        self.lcd_hur_2.setFrameShadow(QtGui.QFrame.Plain)
        self.lcd_hur_2.setLineWidth(2)
        self.lcd_hur_2.setMidLineWidth(0)
        self.lcd_hur_2.setSmallDecimalPoint(False)
        self.lcd_hur_2.setNumDigits(5)
        self.lcd_hur_2.setDigitCount(5)
        self.lcd_hur_2.setMode(QtGui.QLCDNumber.Dec)
        self.lcd_hur_2.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcd_hur_2.setProperty("value", 0.0)
        self.lcd_hur_2.setProperty("intValue", 0)
        self.lcd_hur_2.setObjectName(_fromUtf8("lcd_hur_2"))
        self.grid_lcd.addWidget(self.lcd_hur_2, 2, 3, 1, 1)
        self.lcd_hur_4 = QtGui.QLCDNumber(self.grid_main)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Century Schoolbook L"))
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        font.setStyleStrategy(QtGui.QFont.PreferDefault)
        self.lcd_hur_4.setFont(font)
        self.lcd_hur_4.setAutoFillBackground(True)
        self.lcd_hur_4.setFrameShape(QtGui.QFrame.Box)
        self.lcd_hur_4.setFrameShadow(QtGui.QFrame.Plain)
        self.lcd_hur_4.setLineWidth(2)
        self.lcd_hur_4.setMidLineWidth(0)
        self.lcd_hur_4.setSmallDecimalPoint(False)
        self.lcd_hur_4.setNumDigits(5)
        self.lcd_hur_4.setDigitCount(5)
        self.lcd_hur_4.setMode(QtGui.QLCDNumber.Dec)
        self.lcd_hur_4.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcd_hur_4.setProperty("value", 0.0)
        self.lcd_hur_4.setProperty("intValue", 0)
        self.lcd_hur_4.setObjectName(_fromUtf8("lcd_hur_4"))
        self.grid_lcd.addWidget(self.lcd_hur_4, 4, 3, 1, 1)
        self.lcd_ps_2 = QtGui.QLCDNumber(self.grid_main)
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Century Schoolbook L"))
        font.setPointSize(10)
        font.setBold(True)
        font.setWeight(75)
        font.setStyleStrategy(QtGui.QFont.PreferDefault)
        self.lcd_ps_2.setFont(font)
        self.lcd_ps_2.setAutoFillBackground(True)
        self.lcd_ps_2.setFrameShape(QtGui.QFrame.Box)
        self.lcd_ps_2.setFrameShadow(QtGui.QFrame.Plain)
        self.lcd_ps_2.setLineWidth(2)
        self.lcd_ps_2.setMidLineWidth(0)
        self.lcd_ps_2.setSmallDecimalPoint(False)
        self.lcd_ps_2.setNumDigits(5)
        self.lcd_ps_2.setDigitCount(5)
        self.lcd_ps_2.setMode(QtGui.QLCDNumber.Dec)
        self.lcd_ps_2.setSegmentStyle(QtGui.QLCDNumber.Flat)
        self.lcd_ps_2.setProperty("value", 0.0)
        self.lcd_ps_2.setProperty("intValue", 0)
        self.lcd_ps_2.setObjectName(_fromUtf8("lcd_ps_2"))
        self.grid_lcd.addWidget(self.lcd_ps_2, 2, 4, 1, 1)
        self.radio_ref_4 = QtGui.QRadioButton(self.grid_main)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.radio_ref_4.sizePolicy().hasHeightForWidth())
        self.radio_ref_4.setSizePolicy(sizePolicy)
        self.radio_ref_4.setMaximumSize(QtCore.QSize(20, 20))
        self.radio_ref_4.setAutoFillBackground(False)
        self.radio_ref_4.setText(_fromUtf8(""))
        self.radio_ref_4.setChecked(True)
        self.radio_ref_4.setObjectName(_fromUtf8("radio_ref_4"))
        self.grid_lcd.addWidget(self.radio_ref_4, 4, 1, 1, 1)
        self.radio_ref_2 = QtGui.QRadioButton(self.grid_main)
        self.radio_ref_2.setText(_fromUtf8(""))
        self.radio_ref_2.setObjectName(_fromUtf8("radio_ref_2"))
        self.grid_lcd.addWidget(self.radio_ref_2, 2, 1, 1, 1)
        self.radio_ref_3 = QtGui.QRadioButton(self.grid_main)
        self.radio_ref_3.setText(_fromUtf8(""))
        self.radio_ref_3.setObjectName(_fromUtf8("radio_ref_3"))
        self.grid_lcd.addWidget(self.radio_ref_3, 3, 1, 1, 1)
        self.radio_ref_1 = QtGui.QRadioButton(self.grid_main)
        self.radio_ref_1.setText(_fromUtf8(""))
        self.radio_ref_1.setObjectName(_fromUtf8("radio_ref_1"))
        self.grid_lcd.addWidget(self.radio_ref_1, 1, 1, 1, 1)
        self.label = QtGui.QLabel(self.grid_main)
        self.label.setObjectName(_fromUtf8("label"))
        self.grid_lcd.addWidget(self.label, 0, 1, 1, 1)
        self.verticalLayout_2.addLayout(self.grid_lcd)
        self.mpl = MplWidget(self.grid_main)
        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_2.addWidget(self.mpl)
        self.grid_adjust = QtGui.QGridLayout()
        self.grid_adjust.setObjectName(_fromUtf8("grid_adjust"))
        self.recordButton = QtGui.QPushButton(self.grid_main)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.recordButton.sizePolicy().hasHeightForWidth())
        self.recordButton.setSizePolicy(sizePolicy)
        self.recordButton.setObjectName(_fromUtf8("recordButton"))
        self.grid_adjust.addWidget(self.recordButton, 1, 6, 1, 1)
        self.analyseButton = QtGui.QPushButton(self.grid_main)
        self.analyseButton.setObjectName(_fromUtf8("analyseButton"))
        self.grid_adjust.addWidget(self.analyseButton, 1, 5, 1, 1)
        self.filelineEdit = QtGui.QLineEdit(self.grid_main)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.filelineEdit.sizePolicy().hasHeightForWidth())
        self.filelineEdit.setSizePolicy(sizePolicy)
        self.filelineEdit.setText(_fromUtf8(""))
        self.filelineEdit.setObjectName(_fromUtf8("filelineEdit"))
        self.grid_adjust.addWidget(self.filelineEdit, 1, 3, 1, 1)
        self.COMlineEdit = QtGui.QLineEdit(self.grid_main)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.COMlineEdit.sizePolicy().hasHeightForWidth())
        self.COMlineEdit.setSizePolicy(sizePolicy)
        self.COMlineEdit.setObjectName(_fromUtf8("COMlineEdit"))
        self.grid_adjust.addWidget(self.COMlineEdit, 0, 3, 1, 1)
        self.comboBox = QtGui.QComboBox(self.grid_main)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.comboBox.sizePolicy().hasHeightForWidth())
        self.comboBox.setSizePolicy(sizePolicy)
        self.comboBox.setMinimumSize(QtCore.QSize(100, 20))
        self.comboBox.setObjectName(_fromUtf8("comboBox"))
        self.comboBox.addItem(_fromUtf8(""))
        self.comboBox.addItem(_fromUtf8(""))
        self.comboBox.addItem(_fromUtf8(""))
        self.comboBox.addItem(_fromUtf8(""))
        self.grid_adjust.addWidget(self.comboBox, 1, 0, 1, 1)
        self.COMPort = QtGui.QLabel(self.grid_main)
        self.COMPort.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.COMPort.setObjectName(_fromUtf8("COMPort"))
        self.grid_adjust.addWidget(self.COMPort, 0, 2, 1, 1)
        self.File = QtGui.QLabel(self.grid_main)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.File.sizePolicy().hasHeightForWidth())
        self.File.setSizePolicy(sizePolicy)
        self.File.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.File.setObjectName(_fromUtf8("File"))
        self.grid_adjust.addWidget(self.File, 1, 2, 1, 1)
        self.monitorButton = QtGui.QPushButton(self.grid_main)
        self.monitorButton.setObjectName(_fromUtf8("monitorButton"))
        self.grid_adjust.addWidget(self.monitorButton, 0, 0, 1, 1)
        self.kled = KLed(self.grid_main)
        self.kled.setEnabled(False)
        self.kled.setState(KLed.On)
        self.kled.setShape(KLed.Rectangular)
        self.kled.setColor(QtGui.QColor(195, 195, 195))
        self.kled.setObjectName(_fromUtf8("kled"))
        self.grid_adjust.addWidget(self.kled, 0, 6, 1, 1)
        self.yaxischeckBox = QtGui.QCheckBox(self.grid_main)
        self.yaxischeckBox.setEnabled(True)
        self.yaxischeckBox.setChecked(True)
        self.yaxischeckBox.setObjectName(_fromUtf8("yaxischeckBox"))
        self.grid_adjust.addWidget(self.yaxischeckBox, 1, 1, 1, 1)
        self.verticalLayout_2.addLayout(self.grid_adjust)
        MainWindow.setCentralWidget(self.grid_main)
        self.menuBar = QtGui.QMenuBar(MainWindow)
        self.menuBar.setGeometry(QtCore.QRect(0, 0, 966, 21))
        self.menuBar.setMouseTracking(True)
        self.menuBar.setObjectName(_fromUtf8("menuBar"))
        self.menuConfigure = QtGui.QMenu(self.menuBar)
        self.menuConfigure.setObjectName(_fromUtf8("menuConfigure"))
        MainWindow.setMenuBar(self.menuBar)
        self.mplactionOpen = QtGui.QAction(MainWindow)
        self.mplactionOpen.setObjectName(_fromUtf8("mplactionOpen"))
        self.seperator = QtGui.QAction(MainWindow)
        self.seperator.setObjectName(_fromUtf8("seperator"))
        self.mplactionQuit = QtGui.QAction(MainWindow)
        self.mplactionQuit.setObjectName(_fromUtf8("mplactionQuit"))
        self.actionJob = QtGui.QAction(MainWindow)
        self.actionJob.setObjectName(_fromUtf8("actionJob"))
        self.openCom = QtGui.QAction(MainWindow)
        self.openCom.setObjectName(_fromUtf8("openCom"))
        self.filePath = QtGui.QAction(MainWindow)
        self.filePath.setObjectName(_fromUtf8("filePath"))
        self.actionQuit = QtGui.QAction(MainWindow)
        self.actionQuit.setObjectName(_fromUtf8("actionQuit"))
        self.menuConfigure.addAction(self.openCom)
        self.menuConfigure.addAction(self.filePath)
        self.menuConfigure.addAction(self.actionQuit)
        self.menuBar.addAction(self.menuConfigure.menuAction())

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

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow", None))
        self.label_ta.setText(_translate("MainWindow", "Temperatur", None))
        self.label_hur.setText(_translate("MainWindow", "relative Humidity", None))
        self.label_mc4.setText(_translate("MainWindow", "Sensor Unit 4", None))
        self.label_ps.setText(_translate("MainWindow", "Pressure", None))
        self.label_wdir.setText(_translate("MainWindow", "Wind Direction", None))
        self.label_mc2.setText(_translate("MainWindow", "Sensor Unit 2", None))
        self.label_mc3.setText(_translate("MainWindow", "Sensor Unit 3", None))
        self.label_alt.setText(_translate("MainWindow", "Hight", None))
        self.label_vin.setText(_translate("MainWindow", "Batterie", None))
        self.label_ws.setText(_translate("MainWindow", "Wind Speed", None))
        self.label_mc1.setText(_translate("MainWindow", "Sensor Unit 1", None))
        self.label.setText(_translate("MainWindow", "ref.", None))
        self.recordButton.setText(_translate("MainWindow", "Start record", None))
        self.analyseButton.setText(_translate("MainWindow", "analyse", None))
        self.COMlineEdit.setText(_translate("MainWindow", "/dev/ttyUSB0", None))
        self.comboBox.setItemText(0, _translate("MainWindow", "Temperature", None))
        self.comboBox.setItemText(1, _translate("MainWindow", "Relative Hum", None))
        self.comboBox.setItemText(2, _translate("MainWindow", "Wind Speed", None))
        self.comboBox.setItemText(3, _translate("MainWindow", "Wind Direction", None))
        self.COMPort.setText(_translate("MainWindow", "COM Port", None))
        self.File.setText(_translate("MainWindow", "File", None))
        self.monitorButton.setText(_translate("MainWindow", "update Monitor", None))
        self.yaxischeckBox.setText(_translate("MainWindow", "Y Axis = Hight ", None))
        self.menuConfigure.setTitle(_translate("MainWindow", "configure", None))
        self.mplactionOpen.setText(_translate("MainWindow", "file", None))
        self.seperator.setText(_translate("MainWindow", "seperate", None))
        self.mplactionQuit.setText(_translate("MainWindow", "Quit", None))
        self.actionJob.setText(_translate("MainWindow", "Job", None))
        self.openCom.setText(_translate("MainWindow", "Com Port", None))
        self.filePath.setText(_translate("MainWindow", "File", None))
        self.actionQuit.setText(_translate("MainWindow", "Quit", None))