Exemple #1
1
    def setupUi(self, mainwindow):
        mainwindow.setObjectName(_fromUtf8("mainwindow"))
        mainwindow.resize(1454, 812)
        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(1454, 812))
        mainwindow.setMaximumSize(QtCore.QSize(1454, 812))
        mainwindow.setToolButtonStyle(QtCore.Qt.ToolButtonIconOnly)
        self.centralwidget = QtGui.QWidget(mainwindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.tabWidget = QtGui.QTabWidget(self.centralwidget)
        self.tabWidget.setGeometry(QtCore.QRect(-10, 0, 1431, 771))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.tabWidget.sizePolicy().hasHeightForWidth())
        self.tabWidget.setSizePolicy(sizePolicy)
        self.tabWidget.setMinimumSize(QtCore.QSize(1431, 771))
        self.tabWidget.setMaximumSize(QtCore.QSize(1431, 771))
        self.tabWidget.setAutoFillBackground(False)
        self.tabWidget.setIconSize(QtCore.QSize(30, 30))
        self.tabWidget.setDocumentMode(False)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.home_tab = QtGui.QWidget()
        self.home_tab.setObjectName(_fromUtf8("home_tab"))
        self.verticalLayoutWidget = QtGui.QWidget(self.home_tab)
        self.verticalLayoutWidget.setGeometry(QtCore.QRect(10, 0, 1311, 721))
        self.verticalLayoutWidget.setObjectName(_fromUtf8("verticalLayoutWidget"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.verticalLayoutWidget)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.groupBox = QtGui.QGroupBox(self.verticalLayoutWidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
        self.groupBox.setSizePolicy(sizePolicy)
        self.groupBox.setMinimumSize(QtCore.QSize(1309, 719))
        self.groupBox.setMaximumSize(QtCore.QSize(1309, 719))
        self.groupBox.setStyleSheet(_fromUtf8(""))
        self.groupBox.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.groupBox_2 = QtGui.QGroupBox(self.groupBox)
        self.groupBox_2.setGeometry(QtCore.QRect(290, 0, 971, 681))
        self.groupBox_2.setMinimumSize(QtCore.QSize(971, 681))
        self.groupBox_2.setMaximumSize(QtCore.QSize(971, 681))
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.Interface_groupBox = QtGui.QGroupBox(self.groupBox_2)
        self.Interface_groupBox.setGeometry(QtCore.QRect(10, 20, 286, 187))
        self.Interface_groupBox.setObjectName(_fromUtf8("Interface_groupBox"))
        self.layoutWidget = QtGui.QWidget(self.Interface_groupBox)
        self.layoutWidget.setGeometry(QtCore.QRect(10, 20, 266, 147))
        self.layoutWidget.setObjectName(_fromUtf8("layoutWidget"))
        self.gridLayout_2 = QtGui.QGridLayout(self.layoutWidget)
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.list_interfaces_Button = QtGui.QPushButton(self.layoutWidget)
        self.list_interfaces_Button.setObjectName(_fromUtf8("list_interfaces_Button"))
        self.gridLayout_2.addWidget(self.list_interfaces_Button, 0, 0, 1, 1)
        self.gridLayout = QtGui.QGridLayout()
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.wlan1_monitor_button = QtGui.QPushButton(self.layoutWidget)
        self.wlan1_monitor_button.setObjectName(_fromUtf8("wlan1_monitor_button"))
        self.gridLayout.addWidget(self.wlan1_monitor_button, 1, 1, 1, 1)
        self.monitors_comboBox = QtGui.QComboBox(self.layoutWidget)
        self.monitors_comboBox.setObjectName(_fromUtf8("monitors_comboBox"))
        self.gridLayout.addWidget(self.monitors_comboBox, 1, 0, 1, 1)
        self.wlan0_monitor_Button = QtGui.QPushButton(self.layoutWidget)
        self.wlan0_monitor_Button.setObjectName(_fromUtf8("wlan0_monitor_Button"))
        self.gridLayout.addWidget(self.wlan0_monitor_Button, 0, 1, 1, 1)
        self.adapters_comboBox = QtGui.QComboBox(self.layoutWidget)
        self.adapters_comboBox.setObjectName(_fromUtf8("adapters_comboBox"))
        self.gridLayout.addWidget(self.adapters_comboBox, 0, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem, 2, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridLayout.addItem(spacerItem1, 2, 0, 1, 1)
        self.gridLayout_2.addLayout(self.gridLayout, 1, 0, 1, 1)
        self.groupBox_3 = QtGui.QGroupBox(self.groupBox_2)
        self.groupBox_3.setGeometry(QtCore.QRect(310, 10, 531, 261))
        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
        self.layoutWidget1 = QtGui.QWidget(self.groupBox_3)
        self.layoutWidget1.setGeometry(QtCore.QRect(1, 31, 501, 214))
        self.layoutWidget1.setObjectName(_fromUtf8("layoutWidget1"))
        self.gridLayout_3 = QtGui.QGridLayout(self.layoutWidget1)
        self.gridLayout_3.setObjectName(_fromUtf8("gridLayout_3"))
        self.Get_Wordlist_Button = QtGui.QPushButton(self.layoutWidget1)
        self.Get_Wordlist_Button.setObjectName(_fromUtf8("Get_Wordlist_Button"))
        self.gridLayout_3.addWidget(self.Get_Wordlist_Button, 0, 0, 1, 1)
        self.sort_wordlist_lineEdit = QtGui.QLineEdit(self.layoutWidget1)
        self.sort_wordlist_lineEdit.setObjectName(_fromUtf8("sort_wordlist_lineEdit"))
        self.gridLayout_3.addWidget(self.sort_wordlist_lineEdit, 0, 1, 1, 2)
        self.wordlist_save_button = QtGui.QPushButton(self.layoutWidget1)
        self.wordlist_save_button.setObjectName(_fromUtf8("wordlist_save_button"))
        self.gridLayout_3.addWidget(self.wordlist_save_button, 1, 0, 1, 1)
        self.saveLineEdit = QtGui.QLineEdit(self.layoutWidget1)
        self.saveLineEdit.setObjectName(_fromUtf8("saveLineEdit"))
        self.gridLayout_3.addWidget(self.saveLineEdit, 1, 1, 1, 2)
        self.Process_wordlist_Button = QtGui.QPushButton(self.layoutWidget1)
        self.Process_wordlist_Button.setObjectName(_fromUtf8("Process_wordlist_Button"))
        self.gridLayout_3.addWidget(self.Process_wordlist_Button, 2, 0, 1, 1)
        self.sort_checkBox = QtGui.QCheckBox(self.layoutWidget1)
        self.sort_checkBox.setObjectName(_fromUtf8("sort_checkBox"))
        self.gridLayout_3.addWidget(self.sort_checkBox, 2, 1, 1, 1)
        self.pwinspector_checkBox = QtGui.QCheckBox(self.layoutWidget1)
        self.pwinspector_checkBox.setObjectName(_fromUtf8("pwinspector_checkBox"))
        self.gridLayout_3.addWidget(self.pwinspector_checkBox, 2, 2, 1, 1)
        self.label_2 = QtGui.QLabel(self.layoutWidget1)
        self.label_2.setToolTip(_fromUtf8(""))
        self.label_2.setWordWrap(True)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.gridLayout_3.addWidget(self.label_2, 3, 0, 1, 3)
        self.line = QtGui.QFrame(self.groupBox_2)
        self.line.setGeometry(QtCore.QRect(0, 20, 16, 651))
        self.line.setFrameShape(QtGui.QFrame.VLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.lcd_time_Number = QtGui.QLCDNumber(self.groupBox_2)
        self.lcd_time_Number.setGeometry(QtCore.QRect(860, 0, 111, 31))
        font = QtGui.QFont()
        font.setBold(False)
        font.setItalic(False)
        font.setWeight(50)
        self.lcd_time_Number.setFont(font)
        self.lcd_time_Number.setStyleSheet(_fromUtf8("color:rgb(255, 0, 0)"))
        self.lcd_time_Number.setObjectName(_fromUtf8("lcd_time_Number"))
        self.groupBox_5 = QtGui.QGroupBox(self.groupBox_2)
        self.groupBox_5.setGeometry(QtCore.QRect(30, 210, 251, 121))
        self.groupBox_5.setObjectName(_fromUtf8("groupBox_5"))
        self.mac_gen_lineEdit = QtGui.QLineEdit(self.groupBox_5)
        self.mac_gen_lineEdit.setGeometry(QtCore.QRect(140, 80, 101, 31))
        self.mac_gen_lineEdit.setObjectName(_fromUtf8("mac_gen_lineEdit"))
        self.mac_gen_Button = QtGui.QPushButton(self.groupBox_5)
        self.mac_gen_Button.setGeometry(QtCore.QRect(7, 80, 127, 31))
        self.mac_gen_Button.setObjectName(_fromUtf8("mac_gen_Button"))
        self.label_11 = QtGui.QLabel(self.groupBox_5)
        self.label_11.setGeometry(QtCore.QRect(10, 20, 231, 51))
        self.label_11.setWordWrap(True)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.groupBox_6 = QtGui.QGroupBox(self.groupBox_2)
        self.groupBox_6.setGeometry(QtCore.QRect(310, 270, 511, 171))
        self.groupBox_6.setObjectName(_fromUtf8("groupBox_6"))
        self.layoutWidget2 = QtGui.QWidget(self.groupBox_6)
        self.layoutWidget2.setGeometry(QtCore.QRect(10, 20, 199, 144))
        self.layoutWidget2.setObjectName(_fromUtf8("layoutWidget2"))
        self.verticalLayout_7 = QtGui.QVBoxLayout(self.layoutWidget2)
        self.verticalLayout_7.setObjectName(_fromUtf8("verticalLayout_7"))
        self.Pyrit_import_pw_Button = QtGui.QPushButton(self.layoutWidget2)
        self.Pyrit_import_pw_Button.setObjectName(_fromUtf8("Pyrit_import_pw_Button"))
        self.verticalLayout_7.addWidget(self.Pyrit_import_pw_Button)
        self.Pyrit_import_todb_Button = QtGui.QPushButton(self.layoutWidget2)
        self.Pyrit_import_todb_Button.setObjectName(_fromUtf8("Pyrit_import_todb_Button"))
        self.verticalLayout_7.addWidget(self.Pyrit_import_todb_Button)
        self.Pyrit_handshake_getButton = QtGui.QPushButton(self.layoutWidget2)
        self.Pyrit_handshake_getButton.setObjectName(_fromUtf8("Pyrit_handshake_getButton"))
        self.verticalLayout_7.addWidget(self.Pyrit_handshake_getButton)
        self.Pyrit_handshake_attackButton = QtGui.QPushButton(self.layoutWidget2)
        self.Pyrit_handshake_attackButton.setObjectName(_fromUtf8("Pyrit_handshake_attackButton"))
        self.verticalLayout_7.addWidget(self.Pyrit_handshake_attackButton)
        self.pyrit_import_pw_lineEdit = QtGui.QLineEdit(self.groupBox_6)
        self.pyrit_import_pw_lineEdit.setGeometry(QtCore.QRect(211, 21, 291, 31))
        self.pyrit_import_pw_lineEdit.setObjectName(_fromUtf8("pyrit_import_pw_lineEdit"))
        self.pyrit_attack_Hshake_progressBar = QtGui.QProgressBar(self.groupBox_6)
        self.pyrit_attack_Hshake_progressBar.setGeometry(QtCore.QRect(211, 130, 291, 29))
        self.pyrit_attack_Hshake_progressBar.setProperty("value", 0)
        self.pyrit_attack_Hshake_progressBar.setObjectName(_fromUtf8("pyrit_attack_Hshake_progressBar"))
        self.pyrit_import_Hshake_lineEdit = QtGui.QLineEdit(self.groupBox_6)
        self.pyrit_import_Hshake_lineEdit.setGeometry(QtCore.QRect(211, 93, 291, 31))
        self.pyrit_import_Hshake_lineEdit.setObjectName(_fromUtf8("pyrit_import_Hshake_lineEdit"))
        self.groupBox_4 = QtGui.QGroupBox(self.groupBox)
        self.groupBox_4.setGeometry(QtCore.QRect(0, 20, 291, 691))
        self.groupBox_4.setTitle(_fromUtf8(""))
        self.groupBox_4.setObjectName(_fromUtf8("groupBox_4"))
        self.my_tableWidget = QtGui.QTableWidget(self.groupBox_4)
        self.my_tableWidget.setGeometry(QtCore.QRect(10, 90, 271, 571))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.my_tableWidget.sizePolicy().hasHeightForWidth())
        self.my_tableWidget.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(10)
        self.my_tableWidget.setFont(font)
        self.my_tableWidget.setStyleSheet(_fromUtf8("color:rgb(0, 109, 0)"))
        self.my_tableWidget.setFrameShape(QtGui.QFrame.StyledPanel)
        self.my_tableWidget.setSelectionMode(QtGui.QAbstractItemView.SingleSelection)
        self.my_tableWidget.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.my_tableWidget.setObjectName(_fromUtf8("my_tableWidget"))
        self.my_tableWidget.setColumnCount(3)
        self.my_tableWidget.setRowCount(0)
        item = QtGui.QTableWidgetItem()
        self.my_tableWidget.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.my_tableWidget.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.my_tableWidget.setHorizontalHeaderItem(2, item)
        self.label_5 = QtGui.QLabel(self.groupBox_4)
        self.label_5.setGeometry(QtCore.QRect(10, 0, 281, 91))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label_5.sizePolicy().hasHeightForWidth())
        self.label_5.setSizePolicy(sizePolicy)
        self.label_5.setWordWrap(True)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.Rec_Install_Button = QtGui.QPushButton(self.groupBox_4)
        self.Rec_Install_Button.setGeometry(QtCore.QRect(50, 660, 180, 31))
        self.Rec_Install_Button.setObjectName(_fromUtf8("Rec_Install_Button"))
        self.verticalLayout_2.addWidget(self.groupBox)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/home_tab/Home-icon.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.tabWidget.addTab(self.home_tab, icon, _fromUtf8(""))
        self.wifi_tab = QtGui.QWidget()
        self.wifi_tab.setObjectName(_fromUtf8("wifi_tab"))
        self.access_pointScan_Button = QtGui.QPushButton(self.wifi_tab)
        self.access_pointScan_Button.setGeometry(QtCore.QRect(40, 10, 181, 31))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.access_pointScan_Button.setFont(font)
        self.access_pointScan_Button.setObjectName(_fromUtf8("access_pointScan_Button"))
        self.accessPointTable = QtGui.QTableView(self.wifi_tab)
        self.accessPointTable.setGeometry(QtCore.QRect(10, 110, 1011, 611))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.accessPointTable.sizePolicy().hasHeightForWidth())
        self.accessPointTable.setSizePolicy(sizePolicy)
        self.accessPointTable.setStyleSheet(_fromUtf8("color:rgb(0, 109, 0)"))
        self.accessPointTable.setLineWidth(3)
        self.accessPointTable.setAlternatingRowColors(True)
        self.accessPointTable.setSelectionMode(QtGui.QAbstractItemView.SingleSelection)
        self.accessPointTable.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.accessPointTable.setWordWrap(False)
        self.accessPointTable.setObjectName(_fromUtf8("accessPointTable"))
        self.EncryptionGroupBox = QtGui.QGroupBox(self.wifi_tab)
        self.EncryptionGroupBox.setGeometry(QtCore.QRect(1060, 90, 241, 71))
        self.EncryptionGroupBox.setObjectName(_fromUtf8("EncryptionGroupBox"))
        self.wep_radioButton = QtGui.QRadioButton(self.EncryptionGroupBox)
        self.wep_radioButton.setGeometry(QtCore.QRect(80, 30, 61, 26))
        self.wep_radioButton.setObjectName(_fromUtf8("wep_radioButton"))
        self.wpa_radioButton = QtGui.QRadioButton(self.EncryptionGroupBox)
        self.wpa_radioButton.setGeometry(QtCore.QRect(0, 30, 61, 26))
        self.wpa_radioButton.setObjectName(_fromUtf8("wpa_radioButton"))
        self.wps_radioButton = QtGui.QRadioButton(self.EncryptionGroupBox)
        self.wps_radioButton.setGeometry(QtCore.QRect(160, 30, 71, 26))
        self.wps_radioButton.setObjectName(_fromUtf8("wps_radioButton"))
        self.dictionary_groupBox = QtGui.QGroupBox(self.wifi_tab)
        self.dictionary_groupBox.setGeometry(QtCore.QRect(1060, 170, 241, 91))
        self.dictionary_groupBox.setObjectName(_fromUtf8("dictionary_groupBox"))
        self.dictionary_select_Button = QtGui.QPushButton(self.dictionary_groupBox)
        self.dictionary_select_Button.setGeometry(QtCore.QRect(110, 10, 121, 31))
        self.dictionary_select_Button.setObjectName(_fromUtf8("dictionary_select_Button"))
        self.dict_file_path = QtGui.QLineEdit(self.dictionary_groupBox)
        self.dict_file_path.setGeometry(QtCore.QRect(0, 50, 241, 31))
        self.dict_file_path.setObjectName(_fromUtf8("dict_file_path"))
        self.Clients_Groupbox = QtGui.QGroupBox(self.wifi_tab)
        self.Clients_Groupbox.setGeometry(QtCore.QRect(1060, 270, 201, 141))
        self.Clients_Groupbox.setObjectName(_fromUtf8("Clients_Groupbox"))
        self.Client_columnView = QtGui.QColumnView(self.Clients_Groupbox)
        self.Client_columnView.setGeometry(QtCore.QRect(0, 20, 231, 131))
        self.Client_columnView.setObjectName(_fromUtf8("Client_columnView"))
        self.toolbox_groupBox = QtGui.QGroupBox(self.wifi_tab)
        self.toolbox_groupBox.setGeometry(QtCore.QRect(1050, 510, 241, 171))
        self.toolbox_groupBox.setObjectName(_fromUtf8("toolbox_groupBox"))
        self.pushButton = QtGui.QPushButton(self.toolbox_groupBox)
        self.pushButton.setGeometry(QtCore.QRect(10, 60, 95, 31))
        self.pushButton.setObjectName(_fromUtf8("pushButton"))
        self.label = QtGui.QLabel(self.toolbox_groupBox)
        self.label.setGeometry(QtCore.QRect(0, 20, 241, 41))
        self.label.setWordWrap(True)
        self.label.setObjectName(_fromUtf8("label"))
        self.pushButton_2 = QtGui.QPushButton(self.toolbox_groupBox)
        self.pushButton_2.setGeometry(QtCore.QRect(110, 60, 95, 31))
        self.pushButton_2.setObjectName(_fromUtf8("pushButton_2"))
        self.pushButton_3 = QtGui.QPushButton(self.toolbox_groupBox)
        self.pushButton_3.setGeometry(QtCore.QRect(10, 90, 95, 31))
        self.pushButton_3.setObjectName(_fromUtf8("pushButton_3"))
        self.pushButton_4 = QtGui.QPushButton(self.toolbox_groupBox)
        self.pushButton_4.setGeometry(QtCore.QRect(10, 120, 95, 31))
        self.pushButton_4.setObjectName(_fromUtf8("pushButton_4"))
        self.pushButton_5 = QtGui.QPushButton(self.toolbox_groupBox)
        self.pushButton_5.setGeometry(QtCore.QRect(110, 90, 95, 31))
        self.pushButton_5.setObjectName(_fromUtf8("pushButton_5"))
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(_fromUtf8(":/wifi_tab/WiFi.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.tabWidget.addTab(self.wifi_tab, icon1, _fromUtf8(""))
        self.tab = QtGui.QWidget()
        self.tab.setObjectName(_fromUtf8("tab"))
        self.layoutWidget3 = QtGui.QWidget(self.tab)
        self.layoutWidget3.setGeometry(QtCore.QRect(800, 30, 223, 322))
        self.layoutWidget3.setObjectName(_fromUtf8("layoutWidget3"))
        self.verticalLayout_6 = QtGui.QVBoxLayout(self.layoutWidget3)
        self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6"))
        self.radioButton_9 = QtGui.QRadioButton(self.layoutWidget3)
        self.radioButton_9.setObjectName(_fromUtf8("radioButton_9"))
        self.verticalLayout_6.addWidget(self.radioButton_9)
        self.radioButton_8 = QtGui.QRadioButton(self.layoutWidget3)
        self.radioButton_8.setObjectName(_fromUtf8("radioButton_8"))
        self.verticalLayout_6.addWidget(self.radioButton_8)
        self.radioButton_6 = QtGui.QRadioButton(self.layoutWidget3)
        self.radioButton_6.setObjectName(_fromUtf8("radioButton_6"))
        self.verticalLayout_6.addWidget(self.radioButton_6)
        self.radioButton_5 = QtGui.QRadioButton(self.layoutWidget3)
        self.radioButton_5.setObjectName(_fromUtf8("radioButton_5"))
        self.verticalLayout_6.addWidget(self.radioButton_5)
        self.radioButton_4 = QtGui.QRadioButton(self.layoutWidget3)
        self.radioButton_4.setObjectName(_fromUtf8("radioButton_4"))
        self.verticalLayout_6.addWidget(self.radioButton_4)
        self.radioButton_7 = QtGui.QRadioButton(self.layoutWidget3)
        self.radioButton_7.setObjectName(_fromUtf8("radioButton_7"))
        self.verticalLayout_6.addWidget(self.radioButton_7)
        self.radioButton_3 = QtGui.QRadioButton(self.layoutWidget3)
        self.radioButton_3.setObjectName(_fromUtf8("radioButton_3"))
        self.verticalLayout_6.addWidget(self.radioButton_3)
        self.radioButton = QtGui.QRadioButton(self.layoutWidget3)
        self.radioButton.setObjectName(_fromUtf8("radioButton"))
        self.verticalLayout_6.addWidget(self.radioButton)
        self.radioButton_2 = QtGui.QRadioButton(self.layoutWidget3)
        self.radioButton_2.setObjectName(_fromUtf8("radioButton_2"))
        self.verticalLayout_6.addWidget(self.radioButton_2)
        self.layoutWidget4 = QtGui.QWidget(self.tab)
        self.layoutWidget4.setGeometry(QtCore.QRect(12, 12, 765, 510))
        self.layoutWidget4.setObjectName(_fromUtf8("layoutWidget4"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.layoutWidget4)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        spacerItem2 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem2)
        self.label_3 = QtGui.QLabel(self.layoutWidget4)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.horizontalLayout_3.addWidget(self.label_3)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.Monitor_select_comboBox = QtGui.QComboBox(self.layoutWidget4)
        self.Monitor_select_comboBox.setObjectName(_fromUtf8("Monitor_select_comboBox"))
        self.horizontalLayout_2.addWidget(self.Monitor_select_comboBox)
        self.label_4 = QtGui.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_4.setFont(font)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.horizontalLayout_2.addWidget(self.label_4)
        self.start_wash_Button = QtGui.QPushButton(self.layoutWidget4)
        self.start_wash_Button.setObjectName(_fromUtf8("start_wash_Button"))
        self.horizontalLayout_2.addWidget(self.start_wash_Button)
        spacerItem3 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem3)
        self.horizontalLayout_3.addLayout(self.horizontalLayout_2)
        self.verticalLayout.addLayout(self.horizontalLayout_3)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.wash_tableView = QtGui.QTableView(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(11)
        font.setBold(False)
        font.setWeight(50)
        self.wash_tableView.setFont(font)
        self.wash_tableView.setAutoFillBackground(True)
        self.wash_tableView.setStyleSheet(_fromUtf8("color:rgb(0, 109, 0)"))
        self.wash_tableView.setFrameShadow(QtGui.QFrame.Raised)
        self.wash_tableView.setLineWidth(2)
        self.wash_tableView.setEditTriggers(QtGui.QAbstractItemView.SelectedClicked)
        self.wash_tableView.setDragDropOverwriteMode(False)
        self.wash_tableView.setAlternatingRowColors(True)
        self.wash_tableView.setSelectionMode(QtGui.QAbstractItemView.SingleSelection)
        self.wash_tableView.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.wash_tableView.setGridStyle(QtCore.Qt.NoPen)
        self.wash_tableView.setSortingEnabled(False)
        self.wash_tableView.setWordWrap(False)
        self.wash_tableView.setObjectName(_fromUtf8("wash_tableView"))
        self.horizontalLayout_6.addWidget(self.wash_tableView)
        spacerItem4 = QtGui.QSpacerItem(150, 20, QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_6.addItem(spacerItem4)
        self.verticalLayout.addLayout(self.horizontalLayout_6)
        self.verticalLayout_4.addLayout(self.verticalLayout)
        self.gridLayout_4 = QtGui.QGridLayout()
        self.gridLayout_4.setObjectName(_fromUtf8("gridLayout_4"))
        self.reaver_command_label = QtGui.QLabel(self.layoutWidget4)
        self.reaver_command_label.setStyleSheet(_fromUtf8("color: rgb(0, 0, 255);"))
        self.reaver_command_label.setFrameShape(QtGui.QFrame.Box)
        self.reaver_command_label.setText(_fromUtf8(""))
        self.reaver_command_label.setObjectName(_fromUtf8("reaver_command_label"))
        self.gridLayout_4.addWidget(self.reaver_command_label, 2, 0, 1, 1)
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.label_8 = QtGui.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_8.setFont(font)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.verticalLayout_3.addWidget(self.label_8)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label_6 = QtGui.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setWeight(75)
        self.label_6.setFont(font)
        self.label_6.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.horizontalLayout.addWidget(self.label_6)
        self.reaverPin_lineEdit = QtGui.QLineEdit(self.layoutWidget4)
        self.reaverPin_lineEdit.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.reaverPin_lineEdit.setInputMask(_fromUtf8(""))
        self.reaverPin_lineEdit.setMaxLength(8)
        self.reaverPin_lineEdit.setObjectName(_fromUtf8("reaverPin_lineEdit"))
        self.horizontalLayout.addWidget(self.reaverPin_lineEdit)
        self.reaver_eapterminate = QtGui.QCheckBox(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(11)
        font.setBold(False)
        font.setWeight(50)
        self.reaver_eapterminate.setFont(font)
        self.reaver_eapterminate.setObjectName(_fromUtf8("reaver_eapterminate"))
        self.horizontalLayout.addWidget(self.reaver_eapterminate)
        self.reaver_onAssoc = QtGui.QCheckBox(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(11)
        font.setBold(False)
        font.setWeight(50)
        self.reaver_onAssoc.setFont(font)
        self.reaver_onAssoc.setObjectName(_fromUtf8("reaver_onAssoc"))
        self.horizontalLayout.addWidget(self.reaver_onAssoc)
        self.reaver_dhsmall = QtGui.QCheckBox(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(11)
        font.setBold(False)
        font.setWeight(50)
        self.reaver_dhsmall.setFont(font)
        self.reaver_dhsmall.setStyleSheet(_fromUtf8("color:rgb(0, 109, 0)"))
        self.reaver_dhsmall.setObjectName(_fromUtf8("reaver_dhsmall"))
        self.horizontalLayout.addWidget(self.reaver_dhsmall)
        self.reaver_ignorelocks = QtGui.QCheckBox(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(11)
        font.setBold(False)
        font.setWeight(50)
        self.reaver_ignorelocks.setFont(font)
        self.reaver_ignorelocks.setObjectName(_fromUtf8("reaver_ignorelocks"))
        self.horizontalLayout.addWidget(self.reaver_ignorelocks)
        self.reaver_nonacks = QtGui.QCheckBox(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(11)
        font.setBold(False)
        font.setWeight(50)
        self.reaver_nonacks.setFont(font)
        self.reaver_nonacks.setStyleSheet(_fromUtf8("color:rgb(0, 109, 0)"))
        self.reaver_nonacks.setObjectName(_fromUtf8("reaver_nonacks"))
        self.horizontalLayout.addWidget(self.reaver_nonacks)
        self.verticalLayout_3.addLayout(self.horizontalLayout)
        self.gridLayout_4.addLayout(self.verticalLayout_3, 0, 0, 1, 1)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.startReaver_Button = QtGui.QPushButton(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setWeight(75)
        self.startReaver_Button.setFont(font)
        self.startReaver_Button.setObjectName(_fromUtf8("startReaver_Button"))
        self.horizontalLayout_5.addWidget(self.startReaver_Button)
        self.gridLayout_4.addLayout(self.horizontalLayout_5, 1, 0, 1, 1)
        self.verticalLayout_5 = QtGui.QVBoxLayout()
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.label_9 = QtGui.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_9.setFont(font)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.verticalLayout_5.addWidget(self.label_9)
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.label_7 = QtGui.QLabel(self.layoutWidget4)
        font = QtGui.QFont()
        font.setPointSize(12)
        font.setBold(True)
        font.setWeight(75)
        self.label_7.setFont(font)
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.horizontalLayout_4.addWidget(self.label_7)
        self.lineEdit = QtGui.QLineEdit(self.layoutWidget4)
        self.lineEdit.setMaxLength(8)
        self.lineEdit.setObjectName(_fromUtf8("lineEdit"))
        self.horizontalLayout_4.addWidget(self.lineEdit)
        self.checkBox_4 = QtGui.QCheckBox(self.layoutWidget4)
        self.checkBox_4.setObjectName(_fromUtf8("checkBox_4"))
        self.horizontalLayout_4.addWidget(self.checkBox_4)
        self.checkBox_3 = QtGui.QCheckBox(self.layoutWidget4)
        self.checkBox_3.setObjectName(_fromUtf8("checkBox_3"))
        self.horizontalLayout_4.addWidget(self.checkBox_3)
        self.radioButton1 = QtGui.QRadioButton(self.layoutWidget4)
        self.radioButton1.setObjectName(_fromUtf8("radioButton1"))
        self.horizontalLayout_4.addWidget(self.radioButton1)
        self.checkBox_2 = QtGui.QCheckBox(self.layoutWidget4)
        self.checkBox_2.setObjectName(_fromUtf8("checkBox_2"))
        self.horizontalLayout_4.addWidget(self.checkBox_2)
        self.checkBox_5 = QtGui.QCheckBox(self.layoutWidget4)
        self.checkBox_5.setObjectName(_fromUtf8("checkBox_5"))
        self.horizontalLayout_4.addWidget(self.checkBox_5)
        self.verticalLayout_5.addLayout(self.horizontalLayout_4)
        self.pushButton_6 = QtGui.QPushButton(self.layoutWidget4)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.pushButton_6.setFont(font)
        self.pushButton_6.setObjectName(_fromUtf8("pushButton_6"))
        self.verticalLayout_5.addWidget(self.pushButton_6)
        self.label_10 = QtGui.QLabel(self.layoutWidget4)
        self.label_10.setStyleSheet(_fromUtf8("color: rgb(0, 0, 255);"))
        self.label_10.setFrameShape(QtGui.QFrame.Box)
        self.label_10.setText(_fromUtf8(""))
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.verticalLayout_5.addWidget(self.label_10)
        self.gridLayout_4.addLayout(self.verticalLayout_5, 3, 0, 1, 1)
        self.verticalLayout_4.addLayout(self.gridLayout_4)
        self.tabWidget.addTab(self.tab, _fromUtf8(""))
        mainwindow.setCentralWidget(self.centralwidget)
        self.statusbar = QtGui.QStatusBar(mainwindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        mainwindow.setStatusBar(self.statusbar)

        self.retranslateUi(mainwindow)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(mainwindow)
Exemple #2
1
    def setupUi(self, Form):
        Form.setObjectName(_fromUtf8("Form"))
        Form.resize(501, 278)
        self.formLayout = QtGui.QFormLayout(Form)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.splitter_4 = QtGui.QSplitter(Form)
        self.splitter_4.setOrientation(QtCore.Qt.Horizontal)
        self.splitter_4.setObjectName(_fromUtf8("splitter_4"))
        self.splitter_3 = QtGui.QSplitter(self.splitter_4)
        self.splitter_3.setOrientation(QtCore.Qt.Vertical)
        self.splitter_3.setObjectName(_fromUtf8("splitter_3"))
        self.splitter = QtGui.QSplitter(self.splitter_3)
        self.splitter.setOrientation(QtCore.Qt.Vertical)
        self.splitter.setObjectName(_fromUtf8("splitter"))
        self.splitter_2 = QtGui.QSplitter(self.splitter)
        self.splitter_2.setOrientation(QtCore.Qt.Vertical)
        self.splitter_2.setObjectName(_fromUtf8("splitter_2"))
        self.widget = QtGui.QWidget(self.splitter_2)
        self.widget.setObjectName(_fromUtf8("widget"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.widget)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.label = QtGui.QLabel(self.widget)
        self.label.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
        self.label.setSizePolicy(sizePolicy)
        self.label.setAutoFillBackground(False)
        self.label.setTextFormat(QtCore.Qt.RichText)
        self.label.setScaledContents(False)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout_2.addWidget(self.label)
        self.label_2 = QtGui.QLabel(self.widget)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.verticalLayout_2.addWidget(self.label_2)
        self.horizontalLayout.addLayout(self.verticalLayout_2)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.ipEdit = QtGui.QLineEdit(self.widget)
        self.ipEdit.setObjectName(_fromUtf8("ipEdit"))
        self.verticalLayout.addWidget(self.ipEdit)
        self.passwordEdit = QtGui.QLineEdit(self.widget)
        self.passwordEdit.setContextMenuPolicy(QtCore.Qt.DefaultContextMenu)
        self.passwordEdit.setEchoMode(QtGui.QLineEdit.Password)
        self.passwordEdit.setObjectName(_fromUtf8("passwordEdit"))
        self.verticalLayout.addWidget(self.passwordEdit)
        self.horizontalLayout.addLayout(self.verticalLayout)
        self.pushButton = QtGui.QPushButton(self.splitter_2)
        self.pushButton.setObjectName(_fromUtf8("pushButton"))
        self.widget1 = QtGui.QWidget(self.splitter_3)
        self.widget1.setObjectName(_fromUtf8("widget1"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.widget1)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.verticalLayout_5 = QtGui.QVBoxLayout()
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.label_3 = QtGui.QLabel(self.widget1)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.verticalLayout_5.addWidget(self.label_3)
        self.label_4 = QtGui.QLabel(self.widget1)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.verticalLayout_5.addWidget(self.label_4)
        self.horizontalLayout_2.addLayout(self.verticalLayout_5)
        self.verticalLayout_4 = QtGui.QVBoxLayout()
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.lcdNumber = QtGui.QLCDNumber(self.widget1)
        self.lcdNumber.setObjectName(_fromUtf8("lcdNumber"))
        self.verticalLayout_4.addWidget(self.lcdNumber)
        self.lcdNumber_2 = QtGui.QLCDNumber(self.widget1)
        self.lcdNumber_2.setObjectName(_fromUtf8("lcdNumber_2"))
        self.verticalLayout_4.addWidget(self.lcdNumber_2)
        self.horizontalLayout_2.addLayout(self.verticalLayout_4)
        self.tabWidget = QtGui.QTabWidget(self.splitter_4)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tab = QtGui.QWidget()
        self.tab.setObjectName(_fromUtf8("tab"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.tab)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.columnView = QtGui.QColumnView(self.tab)
        self.columnView.setObjectName(_fromUtf8("columnView"))
        self.verticalLayout_3.addWidget(self.columnView)
        self.tabWidget.addTab(self.tab, _fromUtf8(""))
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName(_fromUtf8("tab_2"))
        self.gridLayout = QtGui.QGridLayout(self.tab_2)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.listWidget_2 = QtGui.QListWidget(self.tab_2)
        self.listWidget_2.setObjectName(_fromUtf8("listWidget_2"))
        self.gridLayout.addWidget(self.listWidget_2, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tab_2, _fromUtf8(""))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.splitter_4)
        self.label.raise_()
        self.label_2.raise_()
        self.ipEdit.raise_()
        self.passwordEdit.raise_()
        self.pushButton.raise_()
        self.tabWidget.raise_()
        self.lcdNumber.raise_()
        self.label_3.raise_()
        self.label_4.raise_()
        self.lcdNumber_2.raise_()
        self.splitter_3.raise_()

        self.retranslateUi(Form)
        self.tabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(Form)
	def setupUI(self, MainWindow):
		MainWindow.setObjectName(_fromUtf8("MainWindow"))
		MainWindow.setWindowModality(QtCore.Qt.ApplicationModal)
		MainWindow.setEnabled(True)
		MainWindow.resize(919, 472)
		MainWindow.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))
		MainWindow.setMouseTracking(True)
		MainWindow.setFocusPolicy(QtCore.Qt.NoFocus)
		MainWindow.setContextMenuPolicy(QtCore.Qt.NoContextMenu)
		MainWindow.setAcceptDrops(True)
		MainWindow.setWindowTitle(_fromUtf8("Agenda Inteligente"))
		MainWindow.setDocumentMode(False)
		MainWindow.setTabShape(QtGui.QTabWidget.Rounded)
		MainWindow.setUnifiedTitleAndToolBarOnMac(False)
		self.centralwidget = QtGui.QWidget(MainWindow)
		self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
		self.tabWidget = QtGui.QTabWidget(self.centralwidget)
		self.tabWidget.setGeometry(QtCore.QRect(170, 20, 581, 411))
		self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
		self.tab = QtGui.QWidget()
		self.tab.setObjectName(_fromUtf8("tab"))
		self.calendarWidget_3 = QtGui.QCalendarWidget(self.tab)
		self.calendarWidget_3.setGeometry(QtCore.QRect(0, 0, 581, 391))
		self.calendarWidget_3.setGridVisible(True)
		self.calendarWidget_3.setVerticalHeaderFormat(QtGui.QCalendarWidget.NoVerticalHeader)
		self.calendarWidget_3.setObjectName(_fromUtf8("calendarWidget_3"))
		self.tabWidget.addTab(self.tab, _fromUtf8(""))
		self.tab_2 = QtGui.QWidget()
		self.tab_2.setObjectName(_fromUtf8("tab_2"))
		self.stacked_semanal = QtGui.QStackedWidget(self.tab_2)
		self.stacked_semanal.setGeometry(QtCore.QRect(0, 0, 571, 381))
		self.stacked_semanal.setMouseTracking(True)
		self.stacked_semanal.setAcceptDrops(False)
		self.stacked_semanal.setLineWidth(0)
		self.stacked_semanal.setObjectName(_fromUtf8("stacked_semanal"))
		self.page_3 = QtGui.QWidget()
		self.page_3.setObjectName(_fromUtf8("page_3"))
		self.titulo_semana2 = QtGui.QLabel(self.page_3)
		self.titulo_semana2.setGeometry(QtCore.QRect(20, 10, 111, 21))
		font = QtGui.QFont()
		font.setFamily(_fromUtf8("Imprint MT Shadow"))
		font.setPointSize(16)
		self.titulo_semana2.setFont(font)
		self.titulo_semana2.setObjectName(_fromUtf8("titulo_semana2"))
		self.lista_semana2dia1 = QtGui.QListView(self.page_3)
		self.lista_semana2dia1.setGeometry(QtCore.QRect(30, 40, 101, 341))
		self.lista_semana2dia1.setObjectName(_fromUtf8("lista_semana2dia1"))
		self.lista_semana2dia5 = QtGui.QListView(self.page_3)
		self.lista_semana2dia5.setGeometry(QtCore.QRect(430, 40, 101, 341))
		self.lista_semana2dia5.setObjectName(_fromUtf8("lista_semana2dia5"))
		self.lista_semana2dia3 = QtGui.QListView(self.page_3)
		self.lista_semana2dia3.setGeometry(QtCore.QRect(230, 40, 101, 341))
		self.lista_semana2dia3.setObjectName(_fromUtf8("lista_semana2dia3"))
		self.lista_semana2dia2 = QtGui.QListView(self.page_3)
		self.lista_semana2dia2.setGeometry(QtCore.QRect(130, 40, 101, 341))
		self.lista_semana2dia2.setObjectName(_fromUtf8("lista_semana2dia2"))
		self.lista_semana2dia4 = QtGui.QListView(self.page_3)
		self.lista_semana2dia4.setGeometry(QtCore.QRect(330, 40, 101, 341))
		self.lista_semana2dia4.setObjectName(_fromUtf8("lista_semana2dia4"))
		self.stacked_semanal.addWidget(self.page_3)
		self.page_6 = QtGui.QWidget()
		self.page_6.setObjectName(_fromUtf8("page_6"))
		self.titulo_semana3 = QtGui.QLabel(self.page_6)
		self.titulo_semana3.setGeometry(QtCore.QRect(20, 10, 131, 21))
		font = QtGui.QFont()
		font.setFamily(_fromUtf8("Imprint MT Shadow"))
		font.setPointSize(16)
		self.titulo_semana3.setFont(font)
		self.titulo_semana3.setObjectName(_fromUtf8("titulo_semana3"))
		self.lista_semana3dia1 = QtGui.QListView(self.page_6)
		self.lista_semana3dia1.setGeometry(QtCore.QRect(30, 40, 101, 341))
		self.lista_semana3dia1.setObjectName(_fromUtf8("lista_semana3dia1"))
		self.lista_semana3dia5 = QtGui.QListView(self.page_6)
		self.lista_semana3dia5.setGeometry(QtCore.QRect(430, 40, 101, 341))
		self.lista_semana3dia5.setObjectName(_fromUtf8("lista_semana3dia5"))
		self.lista_semana3dia3 = QtGui.QListView(self.page_6)
		self.lista_semana3dia3.setGeometry(QtCore.QRect(230, 40, 101, 341))
		self.lista_semana3dia3.setObjectName(_fromUtf8("lista_semana3dia3"))
		self.lista_semana3dia2 = QtGui.QListView(self.page_6)
		self.lista_semana3dia2.setGeometry(QtCore.QRect(130, 40, 101, 341))
		self.lista_semana3dia2.setObjectName(_fromUtf8("lista_semana3dia2"))
		self.lista_semana3dia4 = QtGui.QListView(self.page_6)
		self.lista_semana3dia4.setGeometry(QtCore.QRect(330, 40, 101, 341))
		self.lista_semana3dia4.setObjectName(_fromUtf8("lista_semana3dia4"))
		self.stacked_semanal.addWidget(self.page_6)
		self.page_7 = QtGui.QWidget()
		self.page_7.setObjectName(_fromUtf8("page_7"))
		self.titulo_semana4 = QtGui.QLabel(self.page_7)
		self.titulo_semana4.setGeometry(QtCore.QRect(20, 10, 111, 21))
		font = QtGui.QFont()
		font.setFamily(_fromUtf8("Imprint MT Shadow"))
		font.setPointSize(16)
		self.titulo_semana4.setFont(font)
		self.titulo_semana4.setObjectName(_fromUtf8("titulo_semana4"))
		self.lista_semana4dia1 = QtGui.QListView(self.page_7)
		self.lista_semana4dia1.setGeometry(QtCore.QRect(30, 40, 101, 341))
		self.lista_semana4dia1.setObjectName(_fromUtf8("lista_semana4dia1"))
		self.lista_semana4dia5 = QtGui.QListView(self.page_7)
		self.lista_semana4dia5.setGeometry(QtCore.QRect(430, 40, 101, 341))
		self.lista_semana4dia5.setObjectName(_fromUtf8("lista_semana4dia5"))
		self.lista_semana4dia3 = QtGui.QListView(self.page_7)
		self.lista_semana4dia3.setGeometry(QtCore.QRect(230, 40, 101, 341))
		self.lista_semana4dia3.setObjectName(_fromUtf8("lista_semana4dia3"))
		self.lista_semana4dia2 = QtGui.QListView(self.page_7)
		self.lista_semana4dia2.setGeometry(QtCore.QRect(130, 40, 101, 341))
		self.lista_semana4dia2.setObjectName(_fromUtf8("lista_semana4dia2"))
		self.lista_semana4dia4 = QtGui.QListView(self.page_7)
		self.lista_semana4dia4.setGeometry(QtCore.QRect(330, 40, 101, 341))
		self.lista_semana4dia4.setObjectName(_fromUtf8("lista_semana4dia4"))
		self.stacked_semanal.addWidget(self.page_7)
		self.page_4 = QtGui.QWidget()
		self.page_4.setObjectName(_fromUtf8("page_4"))
		self.titulo_semana1 = QtGui.QLabel(self.page_4)
		self.titulo_semana1.setGeometry(QtCore.QRect(20, 10, 101, 21))
		font = QtGui.QFont()
		font.setFamily(_fromUtf8("Imprint MT Shadow"))
		font.setPointSize(16)
		self.titulo_semana1.setFont(font)
		self.titulo_semana1.setObjectName(_fromUtf8("titulo_semana1"))
		self.lista_semana1dia1 = QtGui.QListView(self.page_4)
		self.lista_semana1dia1.setGeometry(QtCore.QRect(20, 40, 101, 341))
		self.lista_semana1dia1.setObjectName(_fromUtf8("lista_semana1dia1"))
		self.lista_semana1dia2 = QtGui.QListView(self.page_4)
		self.lista_semana1dia2.setGeometry(QtCore.QRect(120, 40, 101, 341))
		self.lista_semana1dia2.setObjectName(_fromUtf8("lista_semana1dia2"))
		self.lista_semana1dia3 = QtGui.QListView(self.page_4)
		self.lista_semana1dia3.setGeometry(QtCore.QRect(220, 40, 101, 341))
		self.lista_semana1dia3.setObjectName(_fromUtf8("lista_semana1dia3"))
		self.lista_semana1dia4 = QtGui.QListView(self.page_4)
		self.lista_semana1dia4.setGeometry(QtCore.QRect(320, 40, 101, 341))
		self.lista_semana1dia4.setObjectName(_fromUtf8("lista_semana1dia4"))
		self.lista_semana1dia5 = QtGui.QListView(self.page_4)
		self.lista_semana1dia5.setGeometry(QtCore.QRect(420, 40, 101, 341))
		self.lista_semana1dia5.setObjectName(_fromUtf8("lista_semana1dia5"))
		self.stacked_semanal.addWidget(self.page_4)
		self.tabWidget.addTab(self.tab_2, _fromUtf8(""))
		self.tab_3 = QtGui.QWidget()
		self.tab_3.setObjectName(_fromUtf8("tab_3"))
		self.coluna_diario = QtGui.QColumnView(self.tab_3)
		self.coluna_diario.setGeometry(QtCore.QRect(20, 10, 441, 271))
		self.coluna_diario.setObjectName(_fromUtf8("coluna_diario"))
		self.tabWidget.addTab(self.tab_3, _fromUtf8(""))
		self.tab_4 = QtGui.QWidget()
		self.tab_4.setObjectName(_fromUtf8("tab_4"))
		self.lista_compromissos = QtGui.QListView(self.tab_4)
		self.lista_compromissos.setGeometry(QtCore.QRect(70, 20, 321, 271))
		self.lista_compromissos.setFrameShape(QtGui.QFrame.VLine)
		self.lista_compromissos.setFrameShadow(QtGui.QFrame.Raised)
		self.lista_compromissos.setMovement(QtGui.QListView.Static)
		self.lista_compromissos.setObjectName(_fromUtf8("lista_compromissos"))
		self.tabWidget.addTab(self.tab_4, _fromUtf8(""))
		self.verticalLayoutWidget = QtGui.QWidget(self.centralwidget)
		self.verticalLayoutWidget.setGeometry(QtCore.QRect(30, 20, 131, 411))
		self.verticalLayoutWidget.setObjectName(_fromUtf8("verticalLayoutWidget"))
		self.verticalLayout_2 = QtGui.QVBoxLayout(self.verticalLayoutWidget)
		self.verticalLayout_2.setMargin(0)
		self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
		self.informacoes = QtGui.QToolBox(self.verticalLayoutWidget)
		self.informacoes.setObjectName(_fromUtf8("informacoes"))
		self.page = QtGui.QWidget()
		self.page.setGeometry(QtCore.QRect(0, 0, 129, 328))
		self.page.setObjectName(_fromUtf8("page"))
		self.botao_okcancel_compromisso = QtGui.QDialogButtonBox(self.page)
		self.botao_okcancel_compromisso.setGeometry(QtCore.QRect(20, 310, 91, 20))
		self.botao_okcancel_compromisso.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
		self.botao_okcancel_compromisso.setCenterButtons(True)
		self.botao_okcancel_compromisso.setObjectName(_fromUtf8("botao_okcancel_compromisso"))
		self.combobox_repetir = QtGui.QComboBox(self.page)
		self.combobox_repetir.setGeometry(QtCore.QRect(10, 120, 111, 20))
		self.combobox_repetir.setObjectName(_fromUtf8("combobox_repetir"))
		self.combobox_repetir.addItem(_fromUtf8(""))
		self.combobox_repetir.addItem(_fromUtf8(""))
		self.combobox_repetir.addItem(_fromUtf8(""))
		self.combobox_repetir.addItem(_fromUtf8(""))
		self.combobox_repetir.addItem(_fromUtf8(""))
		self.combobox_repetir.addItem(_fromUtf8(""))
		self.combobox_repetir.setItemText(5, _fromUtf8(""))
		self.toolbox_flexivel = QtGui.QRadioButton(self.page)
		self.toolbox_flexivel.setGeometry(QtCore.QRect(30, 70, 61, 17))
		self.toolbox_flexivel.setObjectName(_fromUtf8("toolbox_flexivel"))
		self.descricao_compromisso = QtGui.QTextEdit(self.page)
		self.descricao_compromisso.setGeometry(QtCore.QRect(10, 20, 111, 41))
		self.descricao_compromisso.setObjectName(_fromUtf8("descricao_compromisso"))
		self.nome_compromisso = QtGui.QLineEdit(self.page)
		self.nome_compromisso.setGeometry(QtCore.QRect(10, 0, 111, 20))
		self.nome_compromisso.setReadOnly(False)
		self.nome_compromisso.setObjectName(_fromUtf8("nome_compromisso"))
		self.dateTme_inicio = QtGui.QDateTimeEdit(self.page)
		self.dateTme_inicio.setGeometry(QtCore.QRect(10, 230, 111, 22))
		self.dateTme_inicio.setObjectName(_fromUtf8("dateTme_inicio"))
		self.dateTime_termino = QtGui.QDateTimeEdit(self.page)
		self.dateTime_termino.setGeometry(QtCore.QRect(10, 280, 111, 22))
		self.dateTime_termino.setObjectName(_fromUtf8("dateTime_termino"))
		self.titulo_horarioinicio = QtGui.QLabel(self.page)
		self.titulo_horarioinicio.setGeometry(QtCore.QRect(20, 210, 81, 16))
		self.titulo_horarioinicio.setObjectName(_fromUtf8("titulo_horarioinicio"))
		self.titulo_horariotermino = QtGui.QLabel(self.page)
		self.titulo_horariotermino.setGeometry(QtCore.QRect(20, 260, 101, 16))
		self.titulo_horariotermino.setObjectName(_fromUtf8("titulo_horariotermino"))
		self.combobox_prioridade = QtGui.QComboBox(self.page)
		self.combobox_prioridade.setGeometry(QtCore.QRect(10, 150, 111, 20))
		self.combobox_prioridade.setObjectName(_fromUtf8("combobox_prioridade"))
		self.combobox_prioridade.addItem(_fromUtf8(""))
		self.combobox_prioridade.addItem(_fromUtf8(""))
		self.combobox_prioridade.addItem(_fromUtf8(""))
		self.combobox_prioridade.addItem(_fromUtf8(""))
		self.combobox_prioridade.addItem(_fromUtf8(""))
		self.combobox_prioridade.setItemText(4, _fromUtf8(""))
		self.combobox_transporte = QtGui.QComboBox(self.page)
		self.combobox_transporte.setGeometry(QtCore.QRect(10, 180, 111, 20))
		self.combobox_transporte.setObjectName(_fromUtf8("combobox_transporte"))
		self.combobox_transporte.addItem(_fromUtf8(""))
		self.combobox_transporte.addItem(_fromUtf8(""))
		self.combobox_transporte.addItem(_fromUtf8(""))
		self.combobox_transporte.addItem(_fromUtf8(""))
		self.combobox_transporte.addItem(_fromUtf8(""))
		self.combobox_transporte.addItem(_fromUtf8(""))
		self.combobox_transporte.addItem(_fromUtf8(""))
		self.endereco_compromisso = QtGui.QLineEdit(self.page)
		self.endereco_compromisso.setGeometry(QtCore.QRect(10, 90, 111, 20))
		self.endereco_compromisso.setReadOnly(False)
		self.endereco_compromisso.setObjectName(_fromUtf8("endereco_compromisso"))
		self.informacoes.addItem(self.page, _fromUtf8(""))
		self.page_5 = QtGui.QWidget()
		self.page_5.setGeometry(QtCore.QRect(0, 0, 129, 328))
		self.page_5.setObjectName(_fromUtf8("page_5"))
		self.botao_save_perfil = QtGui.QDialogButtonBox(self.page_5)
		self.botao_save_perfil.setGeometry(QtCore.QRect(30, 300, 91, 23))
		self.botao_save_perfil.setStandardButtons(QtGui.QDialogButtonBox.Save)
		self.botao_save_perfil.setCenterButtons(True)
		self.botao_save_perfil.setObjectName(_fromUtf8("botao_save_perfil"))
		self.progressBar_perfil_completo = QtGui.QProgressBar(self.page_5)
		self.progressBar_perfil_completo.setGeometry(QtCore.QRect(20, 130, 101, 20))
		self.progressBar_perfil_completo.setProperty("value", 24)
		self.progressBar_perfil_completo.setObjectName(_fromUtf8("progressBar_perfil_completo"))
		self.input_nome = QtGui.QLineEdit(self.page_5)
		self.input_nome.setGeometry(QtCore.QRect(0, 0, 131, 20))
		self.input_nome.setObjectName(_fromUtf8("input_nome"))
		self.input_endereco_residencial = QtGui.QLineEdit(self.page_5)
		self.input_endereco_residencial.setGeometry(QtCore.QRect(0, 20, 131, 20))
		self.input_endereco_residencial.setObjectName(_fromUtf8("input_endereco_residencial"))
		self.input_endereco_comercial = QtGui.QLineEdit(self.page_5)
		self.input_endereco_comercial.setGeometry(QtCore.QRect(0, 40, 131, 20))
		self.input_endereco_comercial.setObjectName(_fromUtf8("input_endereco_comercial"))
		self.input_transporte = QtGui.QLineEdit(self.page_5)
		self.input_transporte.setGeometry(QtCore.QRect(0, 60, 131, 20))
		self.input_transporte.setObjectName(_fromUtf8("input_transporte"))
		self.input_placa = QtGui.QLineEdit(self.page_5)
		self.input_placa.setGeometry(QtCore.QRect(0, 80, 131, 20))
		self.input_placa.setObjectName(_fromUtf8("input_placa"))
		self.informacoes.addItem(self.page_5, _fromUtf8(""))
		self.page_2 = QtGui.QWidget()
		self.page_2.setGeometry(QtCore.QRect(0, 0, 129, 328))
		self.page_2.setObjectName(_fromUtf8("page_2"))
		self.b = QtGui.QDialogButtonBox(self.page_2)
		self.b.setGeometry(QtCore.QRect(30, 300, 81, 23))
		self.b.setStandardButtons(QtGui.QDialogButtonBox.Save)
		self.b.setCenterButtons(True)
		self.b.setObjectName(_fromUtf8("b"))
		self.config_mostra_feriados = QtGui.QRadioButton(self.page_2)
		self.config_mostra_feriados.setGeometry(QtCore.QRect(10, 70, 111, 17))
		self.config_mostra_feriados.setObjectName(_fromUtf8("config_mostra_feriados"))
		self.informacoes.addItem(self.page_2, _fromUtf8(""))
		self.verticalLayout_2.addWidget(self.informacoes)
		MainWindow.setCentralWidget(self.centralwidget)
		self.statusbar = QtGui.QStatusBar(MainWindow)
		self.statusbar.setObjectName(_fromUtf8("statusbar"))
		MainWindow.setStatusBar(self.statusbar)
		self.menuBar = QtGui.QMenuBar(MainWindow)
		self.menuBar.setGeometry(QtCore.QRect(0, 0, 919, 21))
		self.menuBar.setObjectName(_fromUtf8("menuBar"))
		self.menuP_gina_Inicial = QtGui.QMenu(self.menuBar)
		self.menuP_gina_Inicial.setObjectName(_fromUtf8("menuP_gina_Inicial"))
		self.menuConfigura_es = QtGui.QMenu(self.menuBar)
		self.menuConfigura_es.setObjectName(_fromUtf8("menuConfigura_es"))
		MainWindow.setMenuBar(self.menuBar)
		self.actionVer_Compromissos = QtGui.QAction(MainWindow)
		self.actionVer_Compromissos.setObjectName(_fromUtf8("actionVer_Compromissos"))
		self.actionAdicionar_Compromissos = QtGui.QAction(MainWindow)
		self.actionAdicionar_Compromissos.setObjectName(_fromUtf8("actionAdicionar_Compromissos"))
		self.actionM_s = QtGui.QAction(MainWindow)
		self.actionM_s.setObjectName(_fromUtf8("actionM_s"))
		self.actionSemana = QtGui.QAction(MainWindow)
		self.actionSemana.setObjectName(_fromUtf8("actionSemana"))
		self.actionDia = QtGui.QAction(MainWindow)
		self.actionDia.setObjectName(_fromUtf8("actionDia"))
		self.actionEditar_seu_perfil = QtGui.QAction(MainWindow)
		self.actionEditar_seu_perfil.setObjectName(_fromUtf8("actionEditar_seu_perfil"))
		self.menuP_gina_Inicial.addAction(self.actionVer_Compromissos)
		self.menuP_gina_Inicial.addAction(self.actionAdicionar_Compromissos)
		self.menuP_gina_Inicial.addSeparator()
		self.menuP_gina_Inicial.addAction(self.actionM_s)
		self.menuP_gina_Inicial.addAction(self.actionSemana)
		self.menuP_gina_Inicial.addAction(self.actionDia)
		self.menuConfigura_es.addAction(self.actionEditar_seu_perfil)
		self.menuBar.addAction(self.menuP_gina_Inicial.menuAction())
		self.menuBar.addAction(self.menuConfigura_es.menuAction())
		self.retranslateUi(MainWindow)
		self.tabWidget.setCurrentIndex(0)
		self.stacked_semanal.setCurrentIndex(3)
		self.informacoes.setCurrentIndex(2)
		QtCore.QMetaObject.connectSlotsByName(MainWindow)
Exemple #4
0
    def setupUi(self, AttributeViever):
        AttributeViever.setObjectName(_fromUtf8("AttributeViever"))
        AttributeViever.setWindowModality(QtCore.Qt.ApplicationModal)
        AttributeViever.resize(245, 420)

        self.atrTab = QtGui.QTabWidget(AttributeViever)
        self.atrTab.setGeometry(QtCore.QRect(0, 0, 235, 360))
        self.atrTab.setObjectName(_fromUtf8("atrTab"))

        self.atrTabPage1 = QtGui.QWidget(AttributeViever)
        self.atrTabPage1.setGeometry(QtCore.QRect(0, 0, 200, 360))
        self.atrTabPage1.setObjectName(_fromUtf8("atrTabPage1"))

        self.atrTabPage2 = QtGui.QWidget(AttributeViever)
        self.atrTabPage2.setGeometry(QtCore.QRect(0, 0, 245, 360))
        self.atrTabPage2.setObjectName(_fromUtf8("atrTabPage2"))

        self.atrTable1 = QtGui.QColumnView(AttributeViever)
        self.atrTable1.setGeometry(QtCore.QRect(10, 10, 100, 100))
        self.atrTable1.setObjectName(_fromUtf8("atrColumnView1"))

        self.atrTable2 = QtGui.QColumnView(AttributeViever)
        self.atrTable2.setGeometry(QtCore.QRect(30, 30, 50, 50))
        self.atrTable2.setObjectName(_fromUtf8("atrColumnView2"))

        self.btnOK = QtGui.QPushButton(AttributeViever)
        self.btnOK.setGeometry(QtCore.QRect(180, 360, 50, 50))
        self.btnOK.setObjectName(_fromUtf8("btnOK"))

        self.retranslateUi(AttributeViever)
        QtCore.QMetaObject.connectSlotsByName(AttributeViever)
Exemple #5
0
    def setupUi(self, frmProducts):
        frmProducts.setObjectName("frmProducts")
        frmProducts.resize(262, 292)
        self.centralwidget = QtGui.QWidget(frmProducts)
        self.centralwidget.setObjectName("centralwidget")
        self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout.setObjectName("verticalLayout")
        self.formLayout = QtGui.QFormLayout()
        self.formLayout.setFieldGrowthPolicy(
            QtGui.QFormLayout.ExpandingFieldsGrow)
        self.formLayout.setObjectName("formLayout")
        self.label = QtGui.QLabel(self.centralwidget)
        self.label.setObjectName("label")
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label)
        self.txtComission = QtGui.QLineEdit(self.centralwidget)
        self.txtComission.setObjectName("txtComission")
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole,
                                  self.txtComission)
        self.label_3 = QtGui.QLabel(self.centralwidget)
        self.label_3.setObjectName("label_3")
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_3)
        self.txtISC = QtGui.QLineEdit(self.centralwidget)
        self.txtISC.setObjectName("txtISC")
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.txtISC)
        self.label_2 = QtGui.QLabel(self.centralwidget)
        self.label_2.setObjectName("label_2")
        self.formLayout.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_2)
        self.txtDAI_2 = QtGui.QLineEdit(self.centralwidget)
        self.txtDAI_2.setObjectName("txtDAI_2")
        self.formLayout.setWidget(2, QtGui.QFormLayout.FieldRole,
                                  self.txtDAI_2)
        self.label_4 = QtGui.QLabel(self.centralwidget)
        self.label_4.setObjectName("label_4")
        self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_4)
        self.txtProfit = QtGui.QLineEdit(self.centralwidget)
        self.txtProfit.setObjectName("txtProfit")
        self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole,
                                  self.txtProfit)
        self.verticalLayout.addLayout(self.formLayout)
        self.columnView = QtGui.QColumnView(self.centralwidget)
        self.columnView.setObjectName("columnView")
        self.verticalLayout.addWidget(self.columnView)
        self.buttonBox = QtGui.QDialogButtonBox(self.centralwidget)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.verticalLayout.addWidget(self.buttonBox)
        frmProducts.setCentralWidget(self.centralwidget)
        self.toolBar = QtGui.QToolBar(frmProducts)
        self.toolBar.setObjectName("toolBar")
        frmProducts.addToolBar(QtCore.Qt.ToolBarArea(QtCore.Qt.TopToolBarArea),
                               self.toolBar)

        self.retranslateUi(frmProducts)
        QtCore.QMetaObject.connectSlotsByName(frmProducts)
Exemple #6
0
    def setupUi(self, InfraScan):
        InfraScan.setObjectName(_fromUtf8("InfraScan"))
        InfraScan.resize(712, 548)
        self.centralWidget = QtGui.QWidget(InfraScan)
        self.centralWidget.setObjectName(_fromUtf8("centralWidget"))
        self.tabWidget = QtGui.QTabWidget(self.centralWidget)
        self.tabWidget.setGeometry(QtCore.QRect(0, 10, 931, 661))
        self.tabWidget.setMaximumSize(QtCore.QSize(931, 16777215))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Segoe UI Black"))
        font.setPointSize(27)
        font.setBold(True)
        font.setWeight(75)
        self.tabWidget.setFont(font)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.Oxygen_tab = QtGui.QWidget()
        self.Oxygen_tab.setObjectName(_fromUtf8("Oxygen_tab"))
        self.Fixed_Oxygen = QtGui.QFrame(self.Oxygen_tab)
        self.Fixed_Oxygen.setGeometry(QtCore.QRect(0, 0, 711, 471))
        self.Fixed_Oxygen.setFrameShape(QtGui.QFrame.StyledPanel)
        self.Fixed_Oxygen.setFrameShadow(QtGui.QFrame.Raised)
        self.Fixed_Oxygen.setObjectName(_fromUtf8("Fixed_Oxygen"))
        self.layoutWidget = QtGui.QWidget(self.Fixed_Oxygen)
        self.layoutWidget.setGeometry(QtCore.QRect(30, 30, 401, 421))
        self.layoutWidget.setObjectName(_fromUtf8("layoutWidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.layoutWidget)
        self.verticalLayout.setMargin(11)
        self.verticalLayout.setSpacing(6)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.graphicsView = QtGui.QGraphicsView(self.layoutWidget)
        self.graphicsView.setObjectName(_fromUtf8("graphicsView"))
        self.verticalLayout.addWidget(self.graphicsView)
        self.pushButton = QtGui.QPushButton(self.layoutWidget)
        font = QtGui.QFont()
        font.setPointSize(26)
        self.pushButton.setFont(font)
        self.pushButton.setObjectName(_fromUtf8("pushButton"))
        self.verticalLayout.addWidget(self.pushButton)
        self.label = QtGui.QLabel(self.Fixed_Oxygen)
        self.label.setGeometry(QtCore.QRect(480, 0, 191, 41))
        font = QtGui.QFont()
        font.setPointSize(13)
        font.setUnderline(False)
        self.label.setFont(font)
        self.label.setObjectName(_fromUtf8("label"))
        self.plainTextEdit = QtGui.QPlainTextEdit(self.Fixed_Oxygen)
        self.plainTextEdit.setGeometry(QtCore.QRect(480, 30, 191, 361))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.plainTextEdit.setFont(font)
        self.plainTextEdit.setObjectName(_fromUtf8("plainTextEdit"))
        self.pushButton1 = QtGui.QPushButton(self.Fixed_Oxygen)
        self.pushButton1.setGeometry(QtCore.QRect(480, 400, 191, 51))
        font = QtGui.QFont()
        font.setPointSize(24)
        self.pushButton1.setFont(font)
        self.pushButton1.setObjectName(_fromUtf8("pushButton1"))
        self.layoutWidget.raise_()
        self.label.raise_()
        self.plainTextEdit.raise_()
        self.pushButton.raise_()
        self.pushButton.raise_()
        self.tabWidget.addTab(self.Oxygen_tab, _fromUtf8(""))
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName(_fromUtf8("tab_2"))
        self.graphicsView_2 = QtGui.QGraphicsView(self.tab_2)
        self.graphicsView_2.setGeometry(QtCore.QRect(30, 20, 431, 361))
        self.graphicsView_2.setObjectName(_fromUtf8("graphicsView_2"))
        self.plainTextEdit_2 = QtGui.QPlainTextEdit(self.tab_2)
        self.plainTextEdit_2.setGeometry(QtCore.QRect(490, 20, 191, 361))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.plainTextEdit_2.setFont(font)
        self.plainTextEdit_2.setObjectName(_fromUtf8("plainTextEdit_2"))
        self.tabWidget.addTab(self.tab_2, _fromUtf8(""))
        self.tab_3 = QtGui.QWidget()
        self.tab_3.setObjectName(_fromUtf8("tab_3"))
        self.graphicsView_3 = QtGui.QGraphicsView(self.tab_3)
        self.graphicsView_3.setGeometry(QtCore.QRect(30, 20, 431, 361))
        self.graphicsView_3.setObjectName(_fromUtf8("graphicsView_3"))
        self.plainTextEdit_3 = QtGui.QPlainTextEdit(self.tab_3)
        self.plainTextEdit_3.setGeometry(QtCore.QRect(490, 20, 191, 361))
        font = QtGui.QFont()
        font.setPointSize(10)
        self.plainTextEdit_3.setFont(font)
        self.plainTextEdit_3.setObjectName(_fromUtf8("plainTextEdit_3"))
        self.tabWidget.addTab(self.tab_3, _fromUtf8(""))
        self.tab_4 = QtGui.QWidget()
        self.tab_4.setObjectName(_fromUtf8("tab_4"))
        self.gridLayoutWidget = QtGui.QWidget(self.tab_4)
        self.gridLayoutWidget.setGeometry(QtCore.QRect(29, 19, 651, 431))
        self.gridLayoutWidget.setObjectName(_fromUtf8("gridLayoutWidget"))
        self.gridLayout = QtGui.QGridLayout(self.gridLayoutWidget)
        self.gridLayout.setMargin(11)
        self.gridLayout.setSpacing(6)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.columnView = QtGui.QColumnView(self.gridLayoutWidget)
        self.columnView.setObjectName(_fromUtf8("columnView"))
        self.gridLayout.addWidget(self.columnView, 0, 0, 1, 1)
        self.tabWidget.addTab(self.tab_4, _fromUtf8(""))
        InfraScan.setCentralWidget(self.centralWidget)
        self.statusBar = QtGui.QStatusBar(InfraScan)
        self.statusBar.setObjectName(_fromUtf8("statusBar"))
        InfraScan.setStatusBar(self.statusBar)

        self.retranslateUi(InfraScan)
        self.tabWidget.setCurrentIndex(3)
        QtCore.QMetaObject.connectSlotsByName(InfraScan)
Exemple #7
0
    def setupUi(self, Form):
        Form.setObjectName(_fromUtf8("Form"))
        Form.resize(476, 631)
        self.horizontalLayout_2 = QtGui.QHBoxLayout(Form)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.tabWidget = QtGui.QTabWidget(Form)
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tab = QtGui.QWidget()
        self.tab.setObjectName(_fromUtf8("tab"))
        self.etPort = QtGui.QTextEdit(self.tab)
        self.etPort.setGeometry(QtCore.QRect(130, 60, 181, 31))
        self.etPort.setObjectName(_fromUtf8("etPort"))
        self.label = QtGui.QLabel(self.tab)
        self.label.setGeometry(QtCore.QRect(10, 60, 65, 31))
        self.label.setObjectName(_fromUtf8("label"))
        self.columnViewPathsAndVal = QtGui.QColumnView(self.tab)
        self.columnViewPathsAndVal.setGeometry(QtCore.QRect(10, 120, 421, 151))
        self.columnViewPathsAndVal.setObjectName(
            _fromUtf8("columnViewPathsAndVal"))
        self.label_2 = QtGui.QLabel(self.tab)
        self.label_2.setGeometry(QtCore.QRect(10, 290, 65, 20))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.label_3 = QtGui.QLabel(self.tab)
        self.label_3.setGeometry(QtCore.QRect(10, 330, 65, 20))
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.label_4 = QtGui.QLabel(self.tab)
        self.label_4.setGeometry(QtCore.QRect(10, 20, 65, 20))
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.etIp = QtGui.QTextEdit(self.tab)
        self.etIp.setGeometry(QtCore.QRect(130, 20, 181, 31))
        self.etIp.setObjectName(_fromUtf8("etIp"))
        self.etPath = QtGui.QTextEdit(self.tab)
        self.etPath.setGeometry(QtCore.QRect(90, 290, 281, 31))
        self.etPath.setObjectName(_fromUtf8("etPath"))
        self.etResponse = QtGui.QTextEdit(self.tab)
        self.etResponse.setGeometry(QtCore.QRect(90, 330, 281, 81))
        self.etResponse.setObjectName(_fromUtf8("etResponse"))
        self.btnAdd = QtGui.QPushButton(self.tab)
        self.btnAdd.setGeometry(QtCore.QRect(170, 420, 92, 28))
        self.btnAdd.setObjectName(_fromUtf8("btnAdd"))
        self.etLogsServer = QtGui.QTextEdit(self.tab)
        self.etLogsServer.setGeometry(QtCore.QRect(10, 460, 431, 111))
        self.etLogsServer.setObjectName(_fromUtf8("etLogsServer"))
        self.btnStartStopServer = QtGui.QPushButton(self.tab)
        self.btnStartStopServer.setGeometry(QtCore.QRect(340, 20, 81, 71))
        self.btnStartStopServer.setObjectName(_fromUtf8("btnStartStopServer"))
        self.tabWidget.addTab(self.tab, _fromUtf8(""))
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName(_fromUtf8("tab_2"))
        self.label_5 = QtGui.QLabel(self.tab_2)
        self.label_5.setGeometry(QtCore.QRect(10, 60, 65, 20))
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.etUrl = QtGui.QTextEdit(self.tab_2)
        self.etUrl.setGeometry(QtCore.QRect(100, 50, 341, 31))
        self.etUrl.setObjectName(_fromUtf8("etUrl"))
        self.rbGet = QtGui.QRadioButton(self.tab_2)
        self.rbGet.setGeometry(QtCore.QRect(60, 110, 110, 25))
        self.rbGet.setObjectName(_fromUtf8("rbGet"))
        self.rbPut = QtGui.QRadioButton(self.tab_2)
        self.rbPut.setGeometry(QtCore.QRect(220, 110, 110, 25))
        self.rbPut.setObjectName(_fromUtf8("rbPut"))
        self.etRequestContent = QtGui.QTextEdit(self.tab_2)
        self.etRequestContent.setGeometry(QtCore.QRect(100, 160, 341, 121))
        self.etRequestContent.setObjectName(_fromUtf8("etRequestContent"))
        self.label_6 = QtGui.QLabel(self.tab_2)
        self.label_6.setGeometry(QtCore.QRect(10, 180, 65, 20))
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.label_7 = QtGui.QLabel(self.tab_2)
        self.label_7.setGeometry(QtCore.QRect(10, 360, 241, 20))
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.etLogsClient = QtGui.QTextEdit(self.tab_2)
        self.etLogsClient.setGeometry(QtCore.QRect(20, 390, 411, 171))
        self.etLogsClient.setObjectName(_fromUtf8("etLogsClient"))
        self.btnSendRequest = QtGui.QPushButton(self.tab_2)
        self.btnSendRequest.setGeometry(QtCore.QRect(170, 310, 121, 31))
        self.btnSendRequest.setObjectName(_fromUtf8("btnSendRequest"))
        self.tabWidget.addTab(self.tab_2, _fromUtf8(""))
        self.horizontalLayout_2.addWidget(self.tabWidget)

        self.retranslateUi(Form)
        self.tabWidget.setCurrentIndex(1)
        QtCore.QMetaObject.connectSlotsByName(Form)
Exemple #8
0
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(794, 472)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.verticalLayout_7 = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout_7.setObjectName(_fromUtf8("verticalLayout_7"))
        self.verticalLayout_5 = QtGui.QVBoxLayout()
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setContentsMargins(-1, -1, 0, -1)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.verticalLayout_4 = QtGui.QVBoxLayout()
        self.verticalLayout_4.setSizeConstraint(QtGui.QLayout.SetFixedSize)
        self.verticalLayout_4.setContentsMargins(-1, -1, 15, -1)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setSizeConstraint(QtGui.QLayout.SetFixedSize)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setSizeConstraint(QtGui.QLayout.SetFixedSize)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.btn_status = QtGui.QPushButton(self.centralwidget)
        self.btn_status.setEnabled(False)
        self.btn_status.setObjectName(_fromUtf8("btn_status"))
        self.verticalLayout_3.addWidget(self.btn_status)
        self.btn_config = QtGui.QPushButton(self.centralwidget)
        self.btn_config.setObjectName(_fromUtf8("btn_config"))
        self.verticalLayout_3.addWidget(self.btn_config)
        self.btn_new = QtGui.QPushButton(self.centralwidget)
        self.btn_new.setObjectName(_fromUtf8("btn_new"))
        self.verticalLayout_3.addWidget(self.btn_new)
        self.horizontalLayout_3.addLayout(self.verticalLayout_3)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_3.addItem(spacerItem)
        self.verticalLayout_4.addLayout(self.horizontalLayout_3)
        self.columnView = QtGui.QColumnView(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.columnView.sizePolicy().hasHeightForWidth())
        self.columnView.setSizePolicy(sizePolicy)
        self.columnView.setMinimumSize(QtCore.QSize(0, 0))
        self.columnView.setMaximumSize(QtCore.QSize(150, 16777215))
        self.columnView.setObjectName(_fromUtf8("columnView"))
        self.verticalLayout_4.addWidget(self.columnView)
        self.horizontalLayout_4.addLayout(self.verticalLayout_4)
        self.verticalLayout_2 = QtGui.QVBoxLayout()
        self.verticalLayout_2.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.scrollArea = QtGui.QScrollArea(self.centralwidget)
        self.scrollArea.setMinimumSize(QtCore.QSize(0, 0))
        self.scrollArea.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
        self.scrollArea.setWidgetResizable(True)
        self.scrollArea.setObjectName(_fromUtf8("scrollArea"))
        self.scrollAreaWidgetContents = QtGui.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 596, 364))
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.scrollAreaWidgetContents.sizePolicy().hasHeightForWidth())
        self.scrollAreaWidgetContents.setSizePolicy(sizePolicy)
        self.scrollAreaWidgetContents.setObjectName(_fromUtf8("scrollAreaWidgetContents"))
        self.horizontalLayout_5 = QtGui.QHBoxLayout(self.scrollAreaWidgetContents)
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.frame_status = QtGui.QFrame(self.scrollAreaWidgetContents)
        self.frame_status.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.frame_status.sizePolicy().hasHeightForWidth())
        self.frame_status.setSizePolicy(sizePolicy)
        self.frame_status.setMinimumSize(QtCore.QSize(0, 0))
        self.frame_status.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame_status.setFrameShadow(QtGui.QFrame.Raised)
        self.frame_status.setObjectName(_fromUtf8("frame_status"))
        self.verticalLayout_6 = QtGui.QVBoxLayout(self.frame_status)
        self.verticalLayout_6.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint)
        self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6"))
        self.label_5 = QtGui.QLabel(self.frame_status)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.verticalLayout_6.addWidget(self.label_5)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setSizeConstraint(QtGui.QLayout.SetFixedSize)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.formLayout = QtGui.QFormLayout()
        self.formLayout.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout.setObjectName(_fromUtf8("formLayout"))
        self.label = QtGui.QLabel(self.frame_status)
        self.label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label.setObjectName(_fromUtf8("label"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label)
        self.lineEdit = QtGui.QLineEdit(self.frame_status)
        self.lineEdit.setEnabled(False)
        self.lineEdit.setObjectName(_fromUtf8("lineEdit"))
        self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.lineEdit)
        self.label_2 = QtGui.QLabel(self.frame_status)
        self.label_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_2)
        self.lineEdit_2 = QtGui.QLineEdit(self.frame_status)
        self.lineEdit_2.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.lineEdit_2.sizePolicy().hasHeightForWidth())
        self.lineEdit_2.setSizePolicy(sizePolicy)
        self.lineEdit_2.setMinimumSize(QtCore.QSize(0, 0))
        self.lineEdit_2.setObjectName(_fromUtf8("lineEdit_2"))
        self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.lineEdit_2)
        self.horizontalLayout.addLayout(self.formLayout)
        spacerItem1 = QtGui.QSpacerItem(64, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem1)
        self.formLayout_2 = QtGui.QFormLayout()
        self.formLayout_2.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint)
        self.formLayout_2.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
        self.formLayout_2.setObjectName(_fromUtf8("formLayout_2"))
        self.label_4 = QtGui.QLabel(self.frame_status)
        self.label_4.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.formLayout_2.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_4)
        self.lineEdit_3 = QtGui.QLineEdit(self.frame_status)
        self.lineEdit_3.setEnabled(False)
        self.lineEdit_3.setObjectName(_fromUtf8("lineEdit_3"))
        self.formLayout_2.setWidget(0, QtGui.QFormLayout.FieldRole, self.lineEdit_3)
        self.label_3 = QtGui.QLabel(self.frame_status)
        self.label_3.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_3)
        self.lineEdit_4 = QtGui.QLineEdit(self.frame_status)
        self.lineEdit_4.setEnabled(False)
        self.lineEdit_4.setObjectName(_fromUtf8("lineEdit_4"))
        self.formLayout_2.setWidget(1, QtGui.QFormLayout.FieldRole, self.lineEdit_4)
        self.horizontalLayout.addLayout(self.formLayout_2)
        spacerItem2 = QtGui.QSpacerItem(0, 20, QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem2)
        self.verticalLayout_6.addLayout(self.horizontalLayout)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setSizeConstraint(QtGui.QLayout.SetNoConstraint)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.tableWidget = QtGui.QTableWidget(self.frame_status)
        self.tableWidget.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.tableWidget.setSelectionMode(QtGui.QAbstractItemView.SingleSelection)
        self.tableWidget.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.tableWidget.setVerticalScrollMode(QtGui.QAbstractItemView.ScrollPerPixel)
        self.tableWidget.setHorizontalScrollMode(QtGui.QAbstractItemView.ScrollPerPixel)
        self.tableWidget.setShowGrid(True)
        self.tableWidget.setRowCount(2)
        self.tableWidget.setColumnCount(4)
        self.tableWidget.setObjectName(_fromUtf8("tableWidget"))
        self.tableWidget.horizontalHeader().setDefaultSectionSize(134)
        self.tableWidget.verticalHeader().setDefaultSectionSize(20)
        self.tableWidget.verticalHeader().setMinimumSectionSize(21)
        self.verticalLayout.addWidget(self.tableWidget)
        self.verticalLayout_6.addLayout(self.verticalLayout)
        self.horizontalLayout_5.addWidget(self.frame_status)
        self.scrollArea.setWidget(self.scrollAreaWidgetContents)
        self.verticalLayout_2.addWidget(self.scrollArea)
        self.horizontalLayout_4.addLayout(self.verticalLayout_2)
        self.verticalLayout_5.addLayout(self.horizontalLayout_4)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.btn_delete = QtGui.QPushButton(self.centralwidget)
        self.btn_delete.setEnabled(False)
        self.btn_delete.setObjectName(_fromUtf8("btn_delete"))
        self.horizontalLayout_2.addWidget(self.btn_delete)
        spacerItem3 = QtGui.QSpacerItem(309, 20, QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem3)
        self.btn_close = QtGui.QPushButton(self.centralwidget)
        self.btn_close.setObjectName(_fromUtf8("btn_close"))
        self.horizontalLayout_2.addWidget(self.btn_close)
        self.verticalLayout_5.addLayout(self.horizontalLayout_2)
        self.verticalLayout_7.addLayout(self.verticalLayout_5)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 794, 25))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(480, 663)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.label = QtGui.QLabel(self.centralwidget)
        self.label.setGeometry(QtCore.QRect(10, 0, 151, 51))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Aharoni"))
        font.setPointSize(16)
        font.setBold(True)
        font.setWeight(75)
        self.label.setFont(font)
        self.label.setObjectName(_fromUtf8("label"))
        self.columnView = QtGui.QColumnView(self.centralwidget)
        self.columnView.setGeometry(QtCore.QRect(10, 40, 131, 241))
        self.columnView.setAutoScroll(False)
        self.columnView.setObjectName(_fromUtf8("columnView"))
        self.columnView_2 = QtGui.QColumnView(self.centralwidget)
        self.columnView_2.setGeometry(QtCore.QRect(150, 40, 171, 241))
        self.columnView_2.setAutoScroll(False)
        self.columnView_2.setSelectionMode(
            QtGui.QAbstractItemView.MultiSelection)
        self.columnView_2.setObjectName(_fromUtf8("columnView_2"))
        self.frame = QtGui.QFrame(self.centralwidget)
        self.frame.setGeometry(QtCore.QRect(330, 40, 141, 241))
        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, 20, 121, 16))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.label_3 = QtGui.QLabel(self.frame)
        self.label_3.setGeometry(QtCore.QRect(10, 40, 101, 61))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Aharoni"))
        font.setPointSize(20)
        font.setBold(True)
        font.setWeight(75)
        self.label_3.setFont(font)
        self.label_3.setMouseTracking(True)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.label_4 = QtGui.QLabel(self.frame)
        self.label_4.setGeometry(QtCore.QRect(10, 120, 111, 16))
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.label_5 = QtGui.QLabel(self.frame)
        self.label_5.setGeometry(QtCore.QRect(10, 140, 101, 61))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Aharoni"))
        font.setPointSize(20)
        font.setBold(True)
        font.setWeight(75)
        self.label_5.setFont(font)
        self.label_5.setMouseTracking(True)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.pushButton = QtGui.QPushButton(self.frame)
        self.pushButton.setGeometry(QtCore.QRect(74, 210, 61, 23))
        self.pushButton.setObjectName(_fromUtf8("pushButton"))
        self.pushButton_2 = QtGui.QPushButton(self.frame)
        self.pushButton_2.setGeometry(QtCore.QRect(10, 210, 61, 23))
        self.pushButton_2.setObjectName(_fromUtf8("pushButton_2"))
        self.widget = QtGui.QWidget(self.centralwidget)
        self.widget.setGeometry(QtCore.QRect(10, 290, 461, 141))
        self.widget.setObjectName(_fromUtf8("widget"))
        self.label_6 = QtGui.QLabel(self.widget)
        self.label_6.setGeometry(QtCore.QRect(0, 0, 101, 31))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Aharoni"))
        font.setPointSize(20)
        font.setBold(True)
        font.setWeight(75)
        self.label_6.setFont(font)
        self.label_6.setMouseTracking(True)
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.label_7 = QtGui.QLabel(self.widget)
        self.label_7.setGeometry(QtCore.QRect(10, 32, 121, 16))
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.layoutWidget = QtGui.QWidget(self.widget)
        self.layoutWidget.setGeometry(QtCore.QRect(330, 10, 86, 121))
        self.layoutWidget.setObjectName(_fromUtf8("layoutWidget"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.layoutWidget)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.label_14 = QtGui.QLabel(self.layoutWidget)
        self.label_14.setObjectName(_fromUtf8("label_14"))
        self.verticalLayout_2.addWidget(self.label_14)
        self.label_15 = QtGui.QLabel(self.layoutWidget)
        self.label_15.setObjectName(_fromUtf8("label_15"))
        self.verticalLayout_2.addWidget(self.label_15)
        self.label_16 = QtGui.QLabel(self.layoutWidget)
        self.label_16.setObjectName(_fromUtf8("label_16"))
        self.verticalLayout_2.addWidget(self.label_16)
        self.label_17 = QtGui.QLabel(self.layoutWidget)
        self.label_17.setObjectName(_fromUtf8("label_17"))
        self.verticalLayout_2.addWidget(self.label_17)
        self.label_18 = QtGui.QLabel(self.layoutWidget)
        self.label_18.setObjectName(_fromUtf8("label_18"))
        self.verticalLayout_2.addWidget(self.label_18)
        self.label_19 = QtGui.QLabel(self.layoutWidget)
        self.label_19.setObjectName(_fromUtf8("label_19"))
        self.verticalLayout_2.addWidget(self.label_19)
        self.layoutWidget1 = QtGui.QWidget(self.widget)
        self.layoutWidget1.setGeometry(QtCore.QRect(170, 10, 131, 121))
        self.layoutWidget1.setObjectName(_fromUtf8("layoutWidget1"))
        self.verticalLayout = QtGui.QVBoxLayout(self.layoutWidget1)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label_10 = QtGui.QLabel(self.layoutWidget1)
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.verticalLayout.addWidget(self.label_10)
        self.label_11 = QtGui.QLabel(self.layoutWidget1)
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.verticalLayout.addWidget(self.label_11)
        self.label_12 = QtGui.QLabel(self.layoutWidget1)
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.verticalLayout.addWidget(self.label_12)
        self.label_8 = QtGui.QLabel(self.layoutWidget1)
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.verticalLayout.addWidget(self.label_8)
        self.label_9 = QtGui.QLabel(self.layoutWidget1)
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.verticalLayout.addWidget(self.label_9)
        self.label_13 = QtGui.QLabel(self.layoutWidget1)
        self.label_13.setObjectName(_fromUtf8("label_13"))
        self.verticalLayout.addWidget(self.label_13)
        self.label_34 = QtGui.QLabel(self.widget)
        self.label_34.setGeometry(QtCore.QRect(19, 53, 81, 16))
        self.label_34.setObjectName(_fromUtf8("label_34"))
        self.label_35 = QtGui.QLabel(self.widget)
        self.label_35.setGeometry(QtCore.QRect(30, 67, 101, 31))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Aharoni"))
        font.setPointSize(20)
        font.setBold(True)
        font.setWeight(75)
        self.label_35.setFont(font)
        self.label_35.setMouseTracking(True)
        self.label_35.setObjectName(_fromUtf8("label_35"))
        self.label_36 = QtGui.QLabel(self.widget)
        self.label_36.setGeometry(QtCore.QRect(21, 100, 111, 16))
        self.label_36.setObjectName(_fromUtf8("label_36"))
        self.label_40 = QtGui.QLabel(self.widget)
        self.label_40.setGeometry(QtCore.QRect(31, 110, 101, 41))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Aharoni"))
        font.setPointSize(20)
        font.setBold(True)
        font.setWeight(75)
        self.label_40.setFont(font)
        self.label_40.setMouseTracking(True)
        self.label_40.setObjectName(_fromUtf8("label_40"))
        self.widget_2 = QtGui.QWidget(self.centralwidget)
        self.widget_2.setGeometry(QtCore.QRect(10, 455, 241, 171))
        self.widget_2.setAutoFillBackground(False)
        self.widget_2.setObjectName(_fromUtf8("widget_2"))
        self.label_20 = QtGui.QLabel(self.widget_2)
        self.label_20.setGeometry(QtCore.QRect(0, 16, 151, 31))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Aharoni"))
        font.setPointSize(16)
        font.setBold(True)
        font.setWeight(75)
        self.label_20.setFont(font)
        self.label_20.setObjectName(_fromUtf8("label_20"))
        self.label_21 = QtGui.QLabel(self.widget_2)
        self.label_21.setGeometry(QtCore.QRect(10, 45, 221, 31))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Aharoni"))
        font.setBold(True)
        font.setWeight(75)
        self.label_21.setFont(font)
        self.label_21.setStyleSheet(_fromUtf8(""))
        self.label_21.setObjectName(_fromUtf8("label_21"))
        self.layoutWidget_3 = QtGui.QWidget(self.widget_2)
        self.layoutWidget_3.setGeometry(QtCore.QRect(98, 81, 131, 91))
        self.layoutWidget_3.setObjectName(_fromUtf8("layoutWidget_3"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.layoutWidget_3)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.label_25 = QtGui.QLabel(self.layoutWidget_3)
        self.label_25.setObjectName(_fromUtf8("label_25"))
        self.verticalLayout_4.addWidget(self.label_25)
        self.label_26 = QtGui.QLabel(self.layoutWidget_3)
        self.label_26.setObjectName(_fromUtf8("label_26"))
        self.verticalLayout_4.addWidget(self.label_26)
        self.label_28 = QtGui.QLabel(self.layoutWidget_3)
        self.label_28.setObjectName(_fromUtf8("label_28"))
        self.verticalLayout_4.addWidget(self.label_28)
        self.label_29 = QtGui.QLabel(self.layoutWidget_3)
        self.label_29.setObjectName(_fromUtf8("label_29"))
        self.verticalLayout_4.addWidget(self.label_29)
        self.line = QtGui.QFrame(self.centralwidget)
        self.line.setGeometry(QtCore.QRect(15, 468, 451, 20))
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.layoutWidget_2 = QtGui.QWidget(self.centralwidget)
        self.layoutWidget_2.setGeometry(QtCore.QRect(15, 521, 91, 91))
        self.layoutWidget_2.setObjectName(_fromUtf8("layoutWidget_2"))
        self.verticalLayout_3 = QtGui.QVBoxLayout(self.layoutWidget_2)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.label_22 = QtGui.QLabel(self.layoutWidget_2)
        self.label_22.setObjectName(_fromUtf8("label_22"))
        self.verticalLayout_3.addWidget(self.label_22)
        self.label_23 = QtGui.QLabel(self.layoutWidget_2)
        self.label_23.setObjectName(_fromUtf8("label_23"))
        self.verticalLayout_3.addWidget(self.label_23)
        self.label_24 = QtGui.QLabel(self.layoutWidget_2)
        self.label_24.setObjectName(_fromUtf8("label_24"))
        self.verticalLayout_3.addWidget(self.label_24)
        self.label_27 = QtGui.QLabel(self.layoutWidget_2)
        self.label_27.setObjectName(_fromUtf8("label_27"))
        self.verticalLayout_3.addWidget(self.label_27)
        self.widget_3 = QtGui.QWidget(self.centralwidget)
        self.widget_3.setGeometry(QtCore.QRect(255, 482, 211, 151))
        self.widget_3.setObjectName(_fromUtf8("widget_3"))
        self.label_30 = QtGui.QLabel(self.widget_3)
        self.label_30.setGeometry(QtCore.QRect(0, 15, 201, 31))
        font = QtGui.QFont()
        font.setFamily(_fromUtf8("Aharoni"))
        font.setPointSize(12)
        font.setBold(True)
        font.setWeight(75)
        self.label_30.setFont(font)
        self.label_30.setMouseTracking(True)
        self.label_30.setObjectName(_fromUtf8("label_30"))
        self.layoutWidget_4 = QtGui.QWidget(self.widget_3)
        self.layoutWidget_4.setGeometry(QtCore.QRect(10, 55, 141, 91))
        self.layoutWidget_4.setObjectName(_fromUtf8("layoutWidget_4"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.layoutWidget_4)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.label_31 = QtGui.QLabel(self.layoutWidget_4)
        self.label_31.setObjectName(_fromUtf8("label_31"))
        self.verticalLayout_5.addWidget(self.label_31)
        self.label_32 = QtGui.QLabel(self.layoutWidget_4)
        self.label_32.setObjectName(_fromUtf8("label_32"))
        self.verticalLayout_5.addWidget(self.label_32)
        self.label_33 = QtGui.QLabel(self.layoutWidget_4)
        self.label_33.setObjectName(_fromUtf8("label_33"))
        self.verticalLayout_5.addWidget(self.label_33)
        self.layoutWidget_5 = QtGui.QWidget(self.widget_3)
        self.layoutWidget_5.setGeometry(QtCore.QRect(150, 55, 51, 91))
        self.layoutWidget_5.setObjectName(_fromUtf8("layoutWidget_5"))
        self.verticalLayout_7 = QtGui.QVBoxLayout(self.layoutWidget_5)
        self.verticalLayout_7.setObjectName(_fromUtf8("verticalLayout_7"))
        self.label_37 = QtGui.QLabel(self.layoutWidget_5)
        self.label_37.setObjectName(_fromUtf8("label_37"))
        self.verticalLayout_7.addWidget(self.label_37)
        self.label_38 = QtGui.QLabel(self.layoutWidget_5)
        self.label_38.setObjectName(_fromUtf8("label_38"))
        self.verticalLayout_7.addWidget(self.label_38)
        self.label_39 = QtGui.QLabel(self.layoutWidget_5)
        self.label_39.setObjectName(_fromUtf8("label_39"))
        self.verticalLayout_7.addWidget(self.label_39)
        self.label_41 = QtGui.QLabel(self.centralwidget)
        self.label_41.setGeometry(QtCore.QRect(120, 430, 341, 20))
        self.label_41.setObjectName(_fromUtf8("label_41"))
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 480, 21))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        QtCore.QObject.connect(
            self.columnView_2,
            QtCore.SIGNAL(_fromUtf8("doubleClicked(QModelIndex)")),
            MainWindow.show)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
Exemple #10
0
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.setEnabled(True)
        MainWindow.resize(793, 498)
        font = QtGui.QFont()
        font.setBold(False)
        font.setWeight(50)
        MainWindow.setFont(font)
        MainWindow.setMouseTracking(False)
        MainWindow.setAcceptDrops(False)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8("body.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        MainWindow.setWindowIcon(icon)
        MainWindow.setToolTip(_fromUtf8(""))
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.gridLayout = QtGui.QGridLayout(self.centralwidget)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.graphicsView = QtGui.QGraphicsView(self.centralwidget)
        self.graphicsView.setObjectName(_fromUtf8("graphicsView"))
        self.gridLayout.addWidget(self.graphicsView, 0, 1, 1, 1)
        self.line = QtGui.QFrame(self.centralwidget)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.gridLayout.addWidget(self.line, 2, 0, 1, 1)
        self.lcdNumber = QtGui.QLCDNumber(self.centralwidget)
        self.lcdNumber.setObjectName(_fromUtf8("lcdNumber"))
        self.gridLayout.addWidget(self.lcdNumber, 0, 0, 1, 1)
        self.pushButton = QtGui.QPushButton(self.centralwidget)
        self.pushButton.setCheckable(False)
        self.pushButton.setAutoDefault(False)
        self.pushButton.setDefault(False)
        self.pushButton.setFlat(False)
        self.pushButton.setObjectName(_fromUtf8("pushButton"))
        self.gridLayout.addWidget(self.pushButton, 2, 1, 1, 1)
        self.verticalSlider = QtGui.QSlider(self.centralwidget)
        self.verticalSlider.setOrientation(QtCore.Qt.Vertical)
        self.verticalSlider.setObjectName(_fromUtf8("verticalSlider"))
        self.gridLayout.addWidget(self.verticalSlider, 3, 0, 1, 1)
        self.gridLayout_2 = QtGui.QGridLayout()
        self.gridLayout_2.setObjectName(_fromUtf8("gridLayout_2"))
        self.comboBox = QtGui.QComboBox(self.centralwidget)
        self.comboBox.setObjectName(_fromUtf8("comboBox"))
        self.gridLayout_2.addWidget(self.comboBox, 2, 0, 1, 1)
        self.groupBox = QtGui.QGroupBox(self.centralwidget)
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.toolBox = QtGui.QToolBox(self.groupBox)
        self.toolBox.setGeometry(QtCore.QRect(40, 0, 171, 123))
        self.toolBox.setObjectName(_fromUtf8("toolBox"))
        self.page = QtGui.QWidget()
        self.page.setGeometry(QtCore.QRect(0, 0, 171, 69))
        self.page.setObjectName(_fromUtf8("page"))
        self.toolBox.addItem(self.page, _fromUtf8(""))
        self.page_2 = QtGui.QWidget()
        self.page_2.setGeometry(QtCore.QRect(0, 0, 171, 69))
        self.page_2.setObjectName(_fromUtf8("page_2"))
        self.toolBox.addItem(self.page_2, _fromUtf8(""))
        self.gridLayout_2.addWidget(self.groupBox, 5, 0, 1, 1)
        self.frame = QtGui.QFrame(self.centralwidget)
        self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtGui.QFrame.Raised)
        self.frame.setObjectName(_fromUtf8("frame"))
        self.gridLayout_2.addWidget(self.frame, 6, 0, 1, 1)
        self.tableView = QtGui.QTableView(self.centralwidget)
        self.tableView.setObjectName(_fromUtf8("tableView"))
        self.gridLayout_2.addWidget(self.tableView, 1, 0, 1, 1)
        self.areuok = QtGui.QCheckBox(self.centralwidget)
        self.areuok.setObjectName(_fromUtf8("areuok"))
        self.gridLayout_2.addWidget(self.areuok, 10, 0, 1, 1)
        self.listView = QtGui.QListView(self.centralwidget)
        self.listView.setObjectName(_fromUtf8("listView"))
        self.gridLayout_2.addWidget(self.listView, 9, 0, 1, 1)
        self.columnView = QtGui.QColumnView(self.centralwidget)
        self.columnView.setObjectName(_fromUtf8("columnView"))
        self.gridLayout_2.addWidget(self.columnView, 3, 0, 1, 1)
        self.tableWidget = QtGui.QTableWidget(self.centralwidget)
        self.tableWidget.setObjectName(_fromUtf8("tableWidget"))
        self.tableWidget.setColumnCount(0)
        self.tableWidget.setRowCount(0)
        self.gridLayout_2.addWidget(self.tableWidget, 8, 0, 1, 1)
        self.textEdit = QtGui.QTextEdit(self.centralwidget)
        self.textEdit.setObjectName(_fromUtf8("textEdit"))
        self.gridLayout_2.addWidget(self.textEdit, 7, 0, 1, 1)
        self.gridLayout.addLayout(self.gridLayout_2, 3, 1, 1, 1)
        self.line_2 = QtGui.QFrame(self.centralwidget)
        self.line_2.setFrameShape(QtGui.QFrame.VLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName(_fromUtf8("line_2"))
        self.gridLayout.addWidget(self.line_2, 1, 1, 1, 1)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 793, 21))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        self.menuFile = QtGui.QMenu(self.menubar)
        self.menuFile.setObjectName(_fromUtf8("menuFile"))
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        MainWindow.setStatusBar(self.statusbar)
        self.dockWidget = QtGui.QDockWidget(MainWindow)
        self.dockWidget.setObjectName(_fromUtf8("dockWidget"))
        self.dockWidgetContents = QtGui.QWidget()
        self.dockWidgetContents.setObjectName(_fromUtf8("dockWidgetContents"))
        self.dockWidget.setWidget(self.dockWidgetContents)
        MainWindow.addDockWidget(QtCore.Qt.DockWidgetArea(8), self.dockWidget)
        self.actionSave = QtGui.QAction(MainWindow)
        self.actionSave.setObjectName(_fromUtf8("actionSave"))
        self.actionOpen = QtGui.QAction(MainWindow)
        self.actionOpen.setObjectName(_fromUtf8("actionOpen"))
        self.actionExit = QtGui.QAction(MainWindow)
        self.actionExit.setObjectName(_fromUtf8("actionExit"))
        self.menuFile.addAction(self.actionSave)
        self.menuFile.addAction(self.actionOpen)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionExit)
        self.menubar.addAction(self.menuFile.menuAction())

        imv1 = pg.ImageView()
        self.gridLayout.addWidget(imv1, 2, 1, 1, 1)
        roi = pg.LineSegmentROI([[10, 64], [120,64]], pen='r')
        imv1.addItem(roi)
        x1 = np.linspace(-30, 10, 128)[:, np.newaxis, np.newaxis]
        x2 = np.linspace(-20, 20, 128)[:, np.newaxis, np.newaxis]
        y = np.linspace(-30, 10, 128)[np.newaxis, :, np.newaxis]
        z = np.linspace(-20, 20, 128)[np.newaxis, np.newaxis, :]
        d1 = np.sqrt(x1**2 + y**2 + z**2)
        d2 = 2*np.sqrt(x1[::-1]**2 + y**2 + z**2)
        d3 = 4*np.sqrt(x2**2 + y[:,::-1]**2 + z**2)
        data = (np.sin(d1) / d1**2) + (np.sin(d2) / d2**2) + (np.sin(d3) / d3**2)

        def update(self):
           global data, imv1, imv2
           d2 = roi.getArrayRegion(data, imv1.imageItem, axes=(1,2))
           imv2.setImage(d2)
    
        # roi.sigRegionChanged.connect(self.update())


## Display the data
        imv1.setImage(data)
        imv1.setHistogramRange(-0.01, 0.01)
        imv1.setLevels(-0.003, 0.003)

        # self.update()
        self.retranslateUi(MainWindow)
        self.toolBox.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)
Exemple #11
0
    def setupUi(self, DockWidget):
        DockWidget.setObjectName(_fromUtf8("DockWidget"))
        DockWidget.resize(266, 387)
        self.dockWidgetContents = QtGui.QWidget()
        self.dockWidgetContents.setObjectName(_fromUtf8("dockWidgetContents"))
        self.gridLayout = QtGui.QGridLayout(self.dockWidgetContents)
        self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
        self.label_70 = QtGui.QLabel(self.dockWidgetContents)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_70.setFont(font)
        self.label_70.setObjectName(_fromUtf8("label_70"))
        self.gridLayout.addWidget(self.label_70, 0, 1, 1, 1)
        self.label_80 = QtGui.QLabel(self.dockWidgetContents)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_80.setFont(font)
        self.label_80.setObjectName(_fromUtf8("label_80"))
        self.gridLayout.addWidget(self.label_80, 0, 2, 1, 1)
        self.label_27 = QtGui.QLabel(self.dockWidgetContents)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_27.setFont(font)
        self.label_27.setObjectName(_fromUtf8("label_27"))
        self.gridLayout.addWidget(self.label_27, 1, 0, 1, 1)
        self.listView = QtGui.QListView(self.dockWidgetContents)
        self.listView.setObjectName(_fromUtf8("listView"))
        self.gridLayout.addWidget(self.listView, 1, 1, 1, 1)
        self.listViewDis = QtGui.QListView(self.dockWidgetContents)
        self.listViewDis.setEnabled(False)
        self.listViewDis.setObjectName(_fromUtf8("listViewDis"))
        self.gridLayout.addWidget(self.listViewDis, 1, 2, 1, 1)
        self.label_59 = QtGui.QLabel(self.dockWidgetContents)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_59.setFont(font)
        self.label_59.setObjectName(_fromUtf8("label_59"))
        self.gridLayout.addWidget(self.label_59, 2, 0, 1, 1)
        self.treeView = QtGui.QTreeView(self.dockWidgetContents)
        self.treeView.setObjectName(_fromUtf8("treeView"))
        self.gridLayout.addWidget(self.treeView, 2, 1, 1, 1)
        self.treeViewDis = QtGui.QTreeView(self.dockWidgetContents)
        self.treeViewDis.setEnabled(False)
        self.treeViewDis.setObjectName(_fromUtf8("treeViewDis"))
        self.gridLayout.addWidget(self.treeViewDis, 2, 2, 1, 1)
        self.label_60 = QtGui.QLabel(self.dockWidgetContents)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_60.setFont(font)
        self.label_60.setObjectName(_fromUtf8("label_60"))
        self.gridLayout.addWidget(self.label_60, 3, 0, 1, 1)
        self.tableView = QtGui.QTableView(self.dockWidgetContents)
        self.tableView.setObjectName(_fromUtf8("tableView"))
        self.gridLayout.addWidget(self.tableView, 3, 1, 1, 1)
        self.tableViewDis = QtGui.QTableView(self.dockWidgetContents)
        self.tableViewDis.setEnabled(False)
        self.tableViewDis.setObjectName(_fromUtf8("tableViewDis"))
        self.gridLayout.addWidget(self.tableViewDis, 3, 2, 1, 1)
        self.label_61 = QtGui.QLabel(self.dockWidgetContents)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_61.setFont(font)
        self.label_61.setObjectName(_fromUtf8("label_61"))
        self.gridLayout.addWidget(self.label_61, 4, 0, 1, 1)
        self.columnView = QtGui.QColumnView(self.dockWidgetContents)
        self.columnView.setObjectName(_fromUtf8("columnView"))
        self.gridLayout.addWidget(self.columnView, 4, 1, 1, 1)
        self.columnViewDis = QtGui.QColumnView(self.dockWidgetContents)
        self.columnViewDis.setEnabled(False)
        self.columnViewDis.setObjectName(_fromUtf8("columnViewDis"))
        self.gridLayout.addWidget(self.columnViewDis, 4, 2, 1, 1)
        DockWidget.setWidget(self.dockWidgetContents)

        self.retranslateUi(DockWidget)
        QtCore.QMetaObject.connectSlotsByName(DockWidget)
Exemple #12
0
    def setupUi(self, Dialog):
        Dialog.setObjectName(_fromUtf8("Dialog"))
        Dialog.resize(668, 376)
        self.tabWidget = QtGui.QTabWidget(Dialog)
        self.tabWidget.setGeometry(QtCore.QRect(40, 25, 596, 331))
        self.tabWidget.setToolTip(_fromUtf8(""))
        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
        self.tab = QtGui.QWidget()
        self.tab.setObjectName(_fromUtf8("tab"))
        self.pushButton_2 = QtGui.QPushButton(self.tab)
        self.pushButton_2.setGeometry(QtCore.QRect(310, 210, 91, 26))
        self.pushButton_2.setObjectName(_fromUtf8("pushButton_2"))
        self.label = QtGui.QLabel(self.tab)
        self.label.setGeometry(QtCore.QRect(30, 110, 46, 16))
        self.label.setStyleSheet(_fromUtf8("color: rgb(132, 132, 132);"))
        self.label.setObjectName(_fromUtf8("label"))
        self.lineEdit_9 = QtGui.QLineEdit(self.tab)
        self.lineEdit_9.setGeometry(QtCore.QRect(70, 105, 151, 26))
        self.lineEdit_9.setObjectName(_fromUtf8("lineEdit_9"))
        self.verticalScrollBar = QtGui.QScrollBar(self.tab)
        self.verticalScrollBar.setGeometry(QtCore.QRect(545, 45, 20, 151))
        self.verticalScrollBar.setOrientation(QtCore.Qt.Vertical)
        self.verticalScrollBar.setObjectName(_fromUtf8("verticalScrollBar"))
        self.comboBox_2 = QtGui.QComboBox(self.tab)
        self.comboBox_2.setGeometry(QtCore.QRect(25, 70, 231, 22))
        self.comboBox_2.setObjectName(_fromUtf8("comboBox_2"))
        self.comboBox_2.addItem(_fromUtf8(""))
        self.comboBox_2.addItem(_fromUtf8(""))
        self.comboBox_2.addItem(_fromUtf8(""))
        self.comboBox_2.addItem(_fromUtf8(""))
        self.toolButton = QtGui.QToolButton(self.tab)
        self.toolButton.setGeometry(QtCore.QRect(225, 105, 31, 26))
        self.toolButton.setObjectName(_fromUtf8("toolButton"))
        self.label_23 = QtGui.QLabel(self.tab)
        self.label_23.setGeometry(QtCore.QRect(25, 30, 226, 26))
        self.label_23.setObjectName(_fromUtf8("label_23"))
        self.pushButton_8 = QtGui.QPushButton(self.tab)
        self.pushButton_8.setGeometry(QtCore.QRect(415, 210, 71, 27))
        self.pushButton_8.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))
        self.pushButton_8.setObjectName(_fromUtf8("pushButton_8"))
        self.pushButton_9 = QtGui.QPushButton(self.tab)
        self.pushButton_9.setGeometry(QtCore.QRect(500, 210, 66, 27))
        self.pushButton_9.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))
        self.pushButton_9.setObjectName(_fromUtf8("pushButton_9"))
        self.pushButton_10 = QtGui.QPushButton(self.tab)
        self.pushButton_10.setGeometry(QtCore.QRect(110, 155, 71, 27))
        self.pushButton_10.setCursor(QtGui.QCursor(QtCore.Qt.ArrowCursor))
        self.pushButton_10.setObjectName(_fromUtf8("pushButton_10"))
        self.listWidget = QtGui.QListWidget(self.tab)
        self.listWidget.setGeometry(QtCore.QRect(310, 45, 236, 151))
        self.listWidget.setObjectName(_fromUtf8("listWidget"))
        self.tabWidget.addTab(self.tab, _fromUtf8(""))
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName(_fromUtf8("tab_2"))
        self.label_2 = QtGui.QLabel(self.tab_2)
        self.label_2.setGeometry(QtCore.QRect(340, 55, 59, 14))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.label_3 = QtGui.QLabel(self.tab_2)
        self.label_3.setGeometry(QtCore.QRect(335, 80, 59, 14))
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.label_4 = QtGui.QLabel(self.tab_2)
        self.label_4.setGeometry(QtCore.QRect(315, 105, 59, 14))
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.label_5 = QtGui.QLabel(self.tab_2)
        self.label_5.setGeometry(QtCore.QRect(315, 130, 59, 14))
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.label_6 = QtGui.QLabel(self.tab_2)
        self.label_6.setGeometry(QtCore.QRect(320, 155, 59, 14))
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.label_7 = QtGui.QLabel(self.tab_2)
        self.label_7.setGeometry(QtCore.QRect(320, 180, 59, 14))
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.label_8 = QtGui.QLabel(self.tab_2)
        self.label_8.setGeometry(QtCore.QRect(315, 205, 59, 14))
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.label_9 = QtGui.QLabel(self.tab_2)
        self.label_9.setGeometry(QtCore.QRect(315, 230, 59, 14))
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.lineEdit = QtGui.QLineEdit(self.tab_2)
        self.lineEdit.setGeometry(QtCore.QRect(380, 50, 191, 22))
        self.lineEdit.setObjectName(_fromUtf8("lineEdit"))
        self.lineEdit_2 = QtGui.QLineEdit(self.tab_2)
        self.lineEdit_2.setGeometry(QtCore.QRect(380, 75, 191, 22))
        self.lineEdit_2.setObjectName(_fromUtf8("lineEdit_2"))
        self.lineEdit_3 = QtGui.QLineEdit(self.tab_2)
        self.lineEdit_3.setGeometry(QtCore.QRect(380, 100, 191, 22))
        self.lineEdit_3.setObjectName(_fromUtf8("lineEdit_3"))
        self.lineEdit_4 = QtGui.QLineEdit(self.tab_2)
        self.lineEdit_4.setGeometry(QtCore.QRect(380, 125, 191, 22))
        self.lineEdit_4.setObjectName(_fromUtf8("lineEdit_4"))
        self.lineEdit_5 = QtGui.QLineEdit(self.tab_2)
        self.lineEdit_5.setGeometry(QtCore.QRect(380, 150, 191, 22))
        self.lineEdit_5.setObjectName(_fromUtf8("lineEdit_5"))
        self.lineEdit_6 = QtGui.QLineEdit(self.tab_2)
        self.lineEdit_6.setGeometry(QtCore.QRect(380, 175, 191, 22))
        self.lineEdit_6.setObjectName(_fromUtf8("lineEdit_6"))
        self.lineEdit_7 = QtGui.QLineEdit(self.tab_2)
        self.lineEdit_7.setGeometry(QtCore.QRect(380, 200, 191, 22))
        self.lineEdit_7.setObjectName(_fromUtf8("lineEdit_7"))
        self.lineEdit_8 = QtGui.QLineEdit(self.tab_2)
        self.lineEdit_8.setGeometry(QtCore.QRect(380, 225, 191, 22))
        self.lineEdit_8.setObjectName(_fromUtf8("lineEdit_8"))
        self.label_13 = QtGui.QLabel(self.tab_2)
        self.label_13.setGeometry(QtCore.QRect(20, 20, 231, 16))
        self.label_13.setObjectName(_fromUtf8("label_13"))
        self.pushButton_3 = QtGui.QPushButton(self.tab_2)
        self.pushButton_3.setGeometry(QtCore.QRect(315, 255, 71, 27))
        self.pushButton_3.setObjectName(_fromUtf8("pushButton_3"))
        self.pushButton_7 = QtGui.QPushButton(self.tab_2)
        self.pushButton_7.setGeometry(QtCore.QRect(395, 255, 76, 27))
        self.pushButton_7.setObjectName(_fromUtf8("pushButton_7"))
        self.verticalScrollBar_2 = QtGui.QScrollBar(self.tab_2)
        self.verticalScrollBar_2.setGeometry(QtCore.QRect(240, 50, 20, 216))
        self.verticalScrollBar_2.setOrientation(QtCore.Qt.Vertical)
        self.verticalScrollBar_2.setObjectName(
            _fromUtf8("verticalScrollBar_2"))
        self.listWidget_2 = QtGui.QListWidget(self.tab_2)
        self.listWidget_2.setGeometry(QtCore.QRect(20, 50, 221, 216))
        self.listWidget_2.setObjectName(_fromUtf8("listWidget_2"))
        self.pushButton = QtGui.QPushButton(self.tab_2)
        self.pushButton.setGeometry(QtCore.QRect(478, 255, 91, 27))
        self.pushButton.setObjectName(_fromUtf8("pushButton"))
        self.tabWidget.addTab(self.tab_2, _fromUtf8(""))
        self.tab_3 = QtGui.QWidget()
        self.tab_3.setObjectName(_fromUtf8("tab_3"))
        self.checkBox = QtGui.QCheckBox(self.tab_3)
        self.checkBox.setGeometry(QtCore.QRect(305, 50, 251, 20))
        self.checkBox.setObjectName(_fromUtf8("checkBox"))
        self.checkBox_2 = QtGui.QCheckBox(self.tab_3)
        self.checkBox_2.setGeometry(QtCore.QRect(305, 75, 226, 20))
        self.checkBox_2.setObjectName(_fromUtf8("checkBox_2"))
        self.checkBox_3 = QtGui.QCheckBox(self.tab_3)
        self.checkBox_3.setGeometry(QtCore.QRect(305, 100, 231, 20))
        self.checkBox_3.setObjectName(_fromUtf8("checkBox_3"))
        self.checkBox_4 = QtGui.QCheckBox(self.tab_3)
        self.checkBox_4.setGeometry(QtCore.QRect(305, 125, 226, 20))
        self.checkBox_4.setObjectName(_fromUtf8("checkBox_4"))
        self.label_22 = QtGui.QLabel(self.tab_3)
        self.label_22.setGeometry(QtCore.QRect(310, 200, 58, 14))
        self.label_22.setStyleSheet(_fromUtf8(""))
        self.label_22.setObjectName(_fromUtf8("label_22"))
        self.comboBox = QtGui.QComboBox(self.tab_3)
        self.comboBox.setGeometry(QtCore.QRect(385, 165, 191, 22))
        self.comboBox.setObjectName(_fromUtf8("comboBox"))
        self.comboBox.addItem(_fromUtf8(""))
        self.comboBox.addItem(_fromUtf8(""))
        self.label_10 = QtGui.QLabel(self.tab_3)
        self.label_10.setGeometry(QtCore.QRect(310, 170, 61, 16))
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.lineEdit_11 = QtGui.QLineEdit(self.tab_3)
        self.lineEdit_11.setGeometry(QtCore.QRect(385, 195, 191, 26))
        self.lineEdit_11.setObjectName(_fromUtf8("lineEdit_11"))
        self.verticalScrollBar_4 = QtGui.QScrollBar(self.tab_3)
        self.verticalScrollBar_4.setGeometry(QtCore.QRect(250, 55, 20, 211))
        self.verticalScrollBar_4.setOrientation(QtCore.Qt.Vertical)
        self.verticalScrollBar_4.setObjectName(
            _fromUtf8("verticalScrollBar_4"))
        self.columnView_3 = QtGui.QColumnView(self.tab_3)
        self.columnView_3.setGeometry(QtCore.QRect(30, 55, 221, 211))
        self.columnView_3.setObjectName(_fromUtf8("columnView_3"))
        self.label_20 = QtGui.QLabel(self.tab_3)
        self.label_20.setGeometry(QtCore.QRect(35, 20, 161, 16))
        self.label_20.setObjectName(_fromUtf8("label_20"))
        self.pushButton_4 = QtGui.QPushButton(self.tab_3)
        self.pushButton_4.setGeometry(QtCore.QRect(330, 255, 89, 27))
        self.pushButton_4.setObjectName(_fromUtf8("pushButton_4"))
        self.pushButton_5 = QtGui.QPushButton(self.tab_3)
        self.pushButton_5.setGeometry(QtCore.QRect(445, 255, 89, 27))
        self.pushButton_5.setObjectName(_fromUtf8("pushButton_5"))
        self.tabWidget.addTab(self.tab_3, _fromUtf8(""))

        self.retranslateUi(Dialog)
        self.tabWidget.setCurrentIndex(2)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
    def setupUi(self, FrmPrincipal):
        FrmPrincipal.setObjectName(_fromUtf8("FrmPrincipal"))
        FrmPrincipal.setWindowModality(QtCore.Qt.NonModal)

        #DESABILITAR REDIMENCIONAMENTO DA JANELA
        FrmPrincipal.setFixedSize(803, 422)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8("Imagens/FrmIcon_Car.png")),
                       QtGui.QIcon.Normal, QtGui.QIcon.Off)
        FrmPrincipal.setWindowIcon(icon)
        FrmPrincipal.setAutoFillBackground(True)
        FrmPrincipal.setIconSize(QtCore.QSize(40, 40))
        self.centralwidget = QtGui.QWidget(FrmPrincipal)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.columnView = QtGui.QColumnView(self.centralwidget)
        self.columnView.setGeometry(QtCore.QRect(0, 0, 801, 101))
        self.columnView.setObjectName(_fromUtf8("columnView"))

        #BTN ALUGAR #############
        self.btnAlugar = QtGui.QPushButton(self.centralwidget)
        self.btnAlugar.setGeometry(QtCore.QRect(10, 10, 131, 81))
        self.btnAlugar.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
        self.btnAlugar.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.btnAlugar.setAutoFillBackground(False)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(
            QtGui.QPixmap(_fromUtf8("Imagens/btnAlugaVeiculo.png")),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.btnAlugar.setIcon(icon1)
        self.btnAlugar.setIconSize(QtCore.QSize(40, 40))
        self.btnAlugar.setObjectName(_fromUtf8("btnAlugar"))
        ##BTN ALUGAR CLICK EVENT ######
        self.btnAlugar.clicked.connect(self.FrmAluguel_Click)

        #BTN CLIENTE ###################
        self.btnCliente = QtGui.QPushButton(self.centralwidget)
        self.btnCliente.setGeometry(QtCore.QRect(140, 10, 131, 81))
        self.btnCliente.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(_fromUtf8("Imagens/btnCadCli.png")),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.btnCliente.setIcon(icon2)
        self.btnCliente.setIconSize(QtCore.QSize(30, 30))
        self.btnCliente.setObjectName(_fromUtf8("btnCliente"))
        ##  BTNCLIENTE CLICK EVENT  ###
        self.btnCliente.clicked.connect(self.FrmCliente_Click)

        #BTN VEICULO #################
        self.btnVeiculo = QtGui.QPushButton(self.centralwidget)
        self.btnVeiculo.setGeometry(QtCore.QRect(270, 10, 131, 81))
        self.btnVeiculo.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(_fromUtf8("Imagens/FrmIcon_Car.png")),
                        QtGui.QIcon.Selected, QtGui.QIcon.On)
        self.btnVeiculo.setIcon(icon3)
        self.btnVeiculo.setIconSize(QtCore.QSize(40, 40))
        self.btnVeiculo.setObjectName(_fromUtf8("btnVeiculo"))
        #BTN VEICULO CLICK EVENT ##
        self.btnVeiculo.clicked.connect(self.FrmVeiculo_Click)

        #BTN LISTAR CLIENTE #####################
        self.btnListCliente = QtGui.QPushButton(self.centralwidget)
        self.btnListCliente.setGeometry(QtCore.QRect(400, 10, 131, 81))
        self.btnListCliente.setCursor(
            QtGui.QCursor(QtCore.Qt.PointingHandCursor))
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(_fromUtf8("Imagens/btnListCliente.png")),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        icon4.addPixmap(
            QtGui.QPixmap(_fromUtf8("Imagens/btnListClientes.png")),
            QtGui.QIcon.Selected, QtGui.QIcon.On)
        self.btnListCliente.setIcon(icon4)
        self.btnListCliente.setIconSize(QtCore.QSize(30, 30))
        self.btnListCliente.setObjectName(_fromUtf8("btnListCliente"))
        #BTN LISTAR CLIENTE CLICK ##
        self.btnListCliente.clicked.connect(self.btnListarCliente_Click)

        #BTN LISTAR VEICULO ################
        self.btnListVeiculo = QtGui.QPushButton(self.centralwidget)
        self.btnListVeiculo.setGeometry(QtCore.QRect(530, 10, 131, 81))
        self.btnListVeiculo.setCursor(
            QtGui.QCursor(QtCore.Qt.PointingHandCursor))
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(_fromUtf8("Imagens/btnListVeiculo.png")),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.btnListVeiculo.setIcon(icon5)
        self.btnListVeiculo.setIconSize(QtCore.QSize(30, 30))
        self.btnListVeiculo.setObjectName(_fromUtf8("btnListVeiculo"))
        #BTN LISTAR VEICULO CLICK
        self.btnListVeiculo.clicked.connect(self.btnListarVeiculo_Click)

        #BTN LISTAR ALUGUEL
        self.btnListAluguel = QtGui.QPushButton(self.centralwidget)
        self.btnListAluguel.setGeometry(QtCore.QRect(660, 10, 131, 81))
        self.btnListAluguel.setCursor(
            QtGui.QCursor(QtCore.Qt.PointingHandCursor))
        icon6 = QtGui.QIcon()
        icon6.addPixmap(QtGui.QPixmap(_fromUtf8("Imagens/btnListAluguel.png")),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.btnListAluguel.setIcon(icon6)
        self.btnListAluguel.setIconSize(QtCore.QSize(30, 30))
        self.btnListAluguel.setObjectName(_fromUtf8("btnListAluguel"))
        #BTN LISTAR ALUGUEL CLICK #
        self.btnListAluguel.clicked.connect(self.btnListarAluguel_Click)

        self.lbImg = QtGui.QLabel(self.centralwidget)
        self.lbImg.setGeometry(QtCore.QRect(10, 110, 781, 301))
        self.lbImg.setCursor(QtGui.QCursor(QtCore.Qt.PointingHandCursor))
        self.lbImg.setFrameShape(QtGui.QFrame.WinPanel)
        self.lbImg.setText(_fromUtf8(""))
        self.lbImg.setPixmap(QtGui.QPixmap(_fromUtf8("Imagens/BGImg.png")))
        self.lbImg.setAlignment(QtCore.Qt.AlignJustify
                                | QtCore.Qt.AlignVCenter)
        self.lbImg.setObjectName(_fromUtf8("lbImg"))
        FrmPrincipal.setCentralWidget(self.centralwidget)
        self.actionCliente = QtGui.QAction(FrmPrincipal)
        self.actionCliente.setObjectName(_fromUtf8("actionCliente"))
        self.actionVe_culo = QtGui.QAction(FrmPrincipal)
        self.actionVe_culo.setObjectName(_fromUtf8("actionVe_culo"))
        self.actionAlugar = QtGui.QAction(FrmPrincipal)
        self.actionAlugar.setObjectName(_fromUtf8("actionAlugar"))
        self.actionCliente_2 = QtGui.QAction(FrmPrincipal)
        self.actionCliente_2.setObjectName(_fromUtf8("actionCliente_2"))
        self.actionVe_culos = QtGui.QAction(FrmPrincipal)
        self.actionVe_culos.setObjectName(_fromUtf8("actionVe_culos"))
        self.actionAlugueis = QtGui.QAction(FrmPrincipal)
        self.actionAlugueis.setObjectName(_fromUtf8("actionAlugueis"))
        self.actionSair = QtGui.QAction(FrmPrincipal)
        self.actionSair.setObjectName(_fromUtf8("actionSair"))

        self.retranslateUi(FrmPrincipal)
        QtCore.QMetaObject.connectSlotsByName(FrmPrincipal)
Exemple #14
0
    def setupUi(self, Dialog):
        Dialog.setObjectName(_fromUtf8("Dialog"))
        Dialog.resize(1454, 766)
        self.groupBox = QtGui.QGroupBox(Dialog)
        self.groupBox.setGeometry(QtCore.QRect(40, 60, 451, 421))
        self.groupBox.setObjectName(_fromUtf8("groupBox"))
        self.leixing = QtGui.QComboBox(self.groupBox)
        self.leixing.setGeometry(QtCore.QRect(250, 160, 91, 22))
        self.leixing.setObjectName(_fromUtf8("leixing"))
        self.leixing.addItem(_fromUtf8(""))
        self.leixing.addItem(_fromUtf8(""))
        self.leixing.addItem(_fromUtf8(""))
        self.leixing.addItem(_fromUtf8(""))
        self.leixing.addItem(_fromUtf8(""))
        self.huxingting = QtGui.QLineEdit(self.groupBox)
        self.huxingting.setGeometry(QtCore.QRect(90, 80, 41, 21))
        self.huxingting.setObjectName(_fromUtf8("huxingting"))
        self.area = QtGui.QLineEdit(self.groupBox)
        self.area.setGeometry(QtCore.QRect(240, 80, 113, 20))
        self.area.setObjectName(_fromUtf8("area"))
        self.ceng = QtGui.QLineEdit(self.groupBox)
        self.ceng.setGeometry(QtCore.QRect(20, 120, 113, 20))
        self.ceng.setObjectName(_fromUtf8("ceng"))
        self.xiaoqu = QtGui.QLineEdit(self.groupBox)
        self.xiaoqu.setGeometry(QtCore.QRect(70, 40, 331, 21))
        self.xiaoqu.setObjectName(_fromUtf8("xiaoqu"))
        self.huxingshi = QtGui.QLineEdit(self.groupBox)
        self.huxingshi.setGeometry(QtCore.QRect(20, 80, 41, 20))
        self.huxingshi.setObjectName(_fromUtf8("huxingshi"))
        self.huxingwei = QtGui.QLineEdit(self.groupBox)
        self.huxingwei.setGeometry(QtCore.QRect(160, 80, 51, 21))
        self.huxingwei.setObjectName(_fromUtf8("huxingwei"))
        self.zujin = QtGui.QLineEdit(self.groupBox)
        self.zujin.setGeometry(QtCore.QRect(20, 290, 113, 20))
        self.zujin.setObjectName(_fromUtf8("zujin"))
        self.zhuangxiu = QtGui.QComboBox(self.groupBox)
        self.zhuangxiu.setGeometry(QtCore.QRect(130, 160, 69, 22))
        self.zhuangxiu.setObjectName(_fromUtf8("zhuangxiu"))
        self.zhuangxiu.addItem(_fromUtf8(""))
        self.zhuangxiu.addItem(_fromUtf8(""))
        self.zhuangxiu.addItem(_fromUtf8(""))
        self.zhuangxiu.addItem(_fromUtf8(""))
        self.zhuangxiu.addItem(_fromUtf8(""))
        self.fangxiang = QtGui.QComboBox(self.groupBox)
        self.fangxiang.setGeometry(QtCore.QRect(20, 160, 69, 22))
        self.fangxiang.setObjectName(_fromUtf8("fangxiang"))
        self.fangxiang.addItem(_fromUtf8(""))
        self.fangxiang.addItem(_fromUtf8(""))
        self.fangxiang.addItem(_fromUtf8(""))
        self.fangxiang.addItem(_fromUtf8(""))
        self.fangxiang.addItem(_fromUtf8(""))
        self.fangxiang.addItem(_fromUtf8(""))
        self.fangxiang.addItem(_fromUtf8(""))
        self.fangxiang.addItem(_fromUtf8(""))
        self.fangxiang.addItem(_fromUtf8(""))
        self.fangxiang.addItem(_fromUtf8(""))
        self.yajin = QtGui.QComboBox(self.groupBox)
        self.yajin.setGeometry(QtCore.QRect(170, 290, 91, 22))
        self.yajin.setObjectName(_fromUtf8("yajin"))
        self.yajin.addItem(_fromUtf8(""))
        self.yajin.addItem(_fromUtf8(""))
        self.zongceng = QtGui.QLineEdit(self.groupBox)
        self.zongceng.setGeometry(QtCore.QRect(160, 120, 113, 20))
        self.zongceng.setObjectName(_fromUtf8("zongceng"))
        self.checkBox_1 = QtGui.QCheckBox(self.groupBox)
        self.checkBox_1.setGeometry(QtCore.QRect(20, 190, 41, 16))
        self.checkBox_1.setObjectName(_fromUtf8("checkBox_1"))
        self.checkBox_2 = QtGui.QCheckBox(self.groupBox)
        self.checkBox_2.setGeometry(QtCore.QRect(60, 190, 61, 16))
        self.checkBox_2.setObjectName(_fromUtf8("checkBox_2"))
        self.checkBox_3 = QtGui.QCheckBox(self.groupBox)
        self.checkBox_3.setGeometry(QtCore.QRect(120, 190, 61, 16))
        self.checkBox_3.setObjectName(_fromUtf8("checkBox_3"))
        self.checkBox_4 = QtGui.QCheckBox(self.groupBox)
        self.checkBox_4.setGeometry(QtCore.QRect(180, 190, 61, 16))
        self.checkBox_4.setObjectName(_fromUtf8("checkBox_4"))
        self.checkBox_5 = QtGui.QCheckBox(self.groupBox)
        self.checkBox_5.setGeometry(QtCore.QRect(240, 190, 61, 16))
        self.checkBox_5.setObjectName(_fromUtf8("checkBox_5"))
        self.checkBox_6 = QtGui.QCheckBox(self.groupBox)
        self.checkBox_6.setGeometry(QtCore.QRect(300, 190, 61, 16))
        self.checkBox_6.setObjectName(_fromUtf8("checkBox_6"))
        self.checkBox_7 = QtGui.QCheckBox(self.groupBox)
        self.checkBox_7.setGeometry(QtCore.QRect(360, 190, 61, 16))
        self.checkBox_7.setObjectName(_fromUtf8("checkBox_7"))
        self.checkBox_12 = QtGui.QCheckBox(self.groupBox)
        self.checkBox_12.setGeometry(QtCore.QRect(260, 220, 81, 16))
        self.checkBox_12.setObjectName(_fromUtf8("checkBox_12"))
        self.checkBox_11 = QtGui.QCheckBox(self.groupBox)
        self.checkBox_11.setGeometry(QtCore.QRect(190, 220, 61, 16))
        self.checkBox_11.setObjectName(_fromUtf8("checkBox_11"))
        self.checkBox_13 = QtGui.QCheckBox(self.groupBox)
        self.checkBox_13.setGeometry(QtCore.QRect(360, 220, 61, 16))
        self.checkBox_13.setObjectName(_fromUtf8("checkBox_13"))
        self.checkBox_9 = QtGui.QCheckBox(self.groupBox)
        self.checkBox_9.setGeometry(QtCore.QRect(80, 220, 61, 16))
        self.checkBox_9.setObjectName(_fromUtf8("checkBox_9"))
        self.checkBox_8 = QtGui.QCheckBox(self.groupBox)
        self.checkBox_8.setGeometry(QtCore.QRect(20, 220, 61, 16))
        self.checkBox_8.setObjectName(_fromUtf8("checkBox_8"))
        self.checkBox_10 = QtGui.QCheckBox(self.groupBox)
        self.checkBox_10.setGeometry(QtCore.QRect(130, 220, 61, 16))
        self.checkBox_10.setObjectName(_fromUtf8("checkBox_10"))
        self.image_path = QtGui.QLineEdit(self.groupBox)
        self.image_path.setGeometry(QtCore.QRect(10, 360, 321, 21))
        self.image_path.setObjectName(_fromUtf8("image_path"))
        self.file = QtGui.QPushButton(self.groupBox)
        self.file.setGeometry(QtCore.QRect(340, 360, 75, 23))
        self.file.setObjectName(_fromUtf8("file"))
        self.label = QtGui.QLabel(self.groupBox)
        self.label.setGeometry(QtCore.QRect(20, 40, 54, 12))
        self.label.setObjectName(_fromUtf8("label"))
        self.label_2 = QtGui.QLabel(self.groupBox)
        self.label_2.setGeometry(QtCore.QRect(70, 80, 54, 12))
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.label_3 = QtGui.QLabel(self.groupBox)
        self.label_3.setGeometry(QtCore.QRect(140, 80, 54, 12))
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.label_4 = QtGui.QLabel(self.groupBox)
        self.label_4.setGeometry(QtCore.QRect(220, 80, 54, 12))
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.label_5 = QtGui.QLabel(self.groupBox)
        self.label_5.setGeometry(QtCore.QRect(360, 80, 54, 12))
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.label_6 = QtGui.QLabel(self.groupBox)
        self.label_6.setGeometry(QtCore.QRect(60, 270, 54, 12))
        self.label_6.setObjectName(_fromUtf8("label_6"))
        self.label_7 = QtGui.QLabel(self.groupBox)
        self.label_7.setGeometry(QtCore.QRect(200, 270, 54, 12))
        self.label_7.setObjectName(_fromUtf8("label_7"))
        self.label_8 = QtGui.QLabel(self.groupBox)
        self.label_8.setGeometry(QtCore.QRect(280, 120, 54, 12))
        self.label_8.setObjectName(_fromUtf8("label_8"))
        self.label_9 = QtGui.QLabel(self.groupBox)
        self.label_9.setGeometry(QtCore.QRect(150, 120, 54, 12))
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.groupBox_2 = QtGui.QGroupBox(Dialog)
        self.groupBox_2.setGeometry(QtCore.QRect(510, 40, 451, 341))
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.miaosu = QtGui.QTextEdit(self.groupBox_2)
        self.miaosu.setGeometry(QtCore.QRect(70, 140, 341, 171))
        self.miaosu.setObjectName(_fromUtf8("miaosu"))
        self.biaoti = QtGui.QLineEdit(self.groupBox_2)
        self.biaoti.setGeometry(QtCore.QRect(70, 50, 341, 21))
        self.biaoti.setObjectName(_fromUtf8("biaoti"))
        self.label_12 = QtGui.QLabel(self.groupBox_2)
        self.label_12.setGeometry(QtCore.QRect(70, 20, 54, 12))
        self.label_12.setObjectName(_fromUtf8("label_12"))
        self.label_13 = QtGui.QLabel(self.groupBox_2)
        self.label_13.setGeometry(QtCore.QRect(80, 110, 54, 12))
        self.label_13.setObjectName(_fromUtf8("label_13"))
        self.groupBox_3 = QtGui.QGroupBox(Dialog)
        self.groupBox_3.setGeometry(QtCore.QRect(40, 490, 431, 211))
        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
        self.lianxiren = QtGui.QLineEdit(self.groupBox_3)
        self.lianxiren.setGeometry(QtCore.QRect(50, 50, 271, 21))
        self.lianxiren.setObjectName(_fromUtf8("lianxiren"))
        self.phone = QtGui.QLineEdit(self.groupBox_3)
        self.phone.setGeometry(QtCore.QRect(50, 120, 271, 21))
        self.phone.setObjectName(_fromUtf8("phone"))
        self.label_10 = QtGui.QLabel(self.groupBox_3)
        self.label_10.setGeometry(QtCore.QRect(50, 30, 54, 12))
        self.label_10.setObjectName(_fromUtf8("label_10"))
        self.label_11 = QtGui.QLabel(self.groupBox_3)
        self.label_11.setGeometry(QtCore.QRect(50, 90, 54, 12))
        self.label_11.setObjectName(_fromUtf8("label_11"))
        self.groupBox_4 = QtGui.QGroupBox(Dialog)
        self.groupBox_4.setGeometry(QtCore.QRect(700, 400, 311, 301))
        self.groupBox_4.setObjectName(_fromUtf8("groupBox_4"))
        self.load = QtGui.QPushButton(self.groupBox_4)
        self.load.setGeometry(QtCore.QRect(120, 250, 75, 23))
        self.load.setObjectName(_fromUtf8("load"))
        self.columnView = QtGui.QColumnView(self.groupBox_4)
        self.columnView.setGeometry(QtCore.QRect(30, 20, 256, 192))
        self.columnView.setObjectName(_fromUtf8("columnView"))
        self.submit = QtGui.QPushButton(Dialog)
        self.submit.setGeometry(QtCore.QRect(510, 630, 151, 61))
        self.submit.setObjectName(_fromUtf8("submit"))
        self.groupBox_5 = QtGui.QGroupBox(Dialog)
        self.groupBox_5.setGeometry(QtCore.QRect(1010, 40, 421, 371))
        self.groupBox_5.setObjectName(_fromUtf8("groupBox_5"))
        self.tableWidget = QtGui.QTableWidget(self.groupBox_5)
        self.tableWidget.setGeometry(QtCore.QRect(30, 30, 341, 251))
        self.tableWidget.setObjectName(_fromUtf8("tableWidget"))
        self.tableWidget.setColumnCount(3)
        self.tableWidget.setRowCount(0)
        item = QtGui.QTableWidgetItem()
        self.tableWidget.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.tableWidget.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.tableWidget.setHorizontalHeaderItem(2, item)

        self.retranslateUi(Dialog)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
Exemple #15
0
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(962, 771)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.uiSPL_test1 = QtGui.QSplitter(self.centralwidget)
        self.uiSPL_test1.setOrientation(QtCore.Qt.Horizontal)
        self.uiSPL_test1.setHandleWidth(10)
        self.uiSPL_test1.setObjectName(_fromUtf8("uiSPL_test1"))
        self.layoutWidget = QtGui.QWidget(self.uiSPL_test1)
        self.layoutWidget.setObjectName(_fromUtf8("layoutWidget"))
        self.verticalLayout = QtGui.QVBoxLayout(self.layoutWidget)
        self.verticalLayout.setMargin(0)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.uiCHK_test1 = QtGui.QCheckBox(self.layoutWidget)
        self.uiCHK_test1.setObjectName(_fromUtf8("uiCHK_test1"))
        self.verticalLayout.addWidget(self.uiCHK_test1)
        self.uiCHK_testTri1 = QtGui.QCheckBox(self.layoutWidget)
        self.uiCHK_testTri1.setTristate(True)
        self.uiCHK_testTri1.setObjectName(_fromUtf8("uiCHK_testTri1"))
        self.verticalLayout.addWidget(self.uiCHK_testTri1)
        self.uiGRPBOX_test1 = QtGui.QGroupBox(self.layoutWidget)
        self.uiGRPBOX_test1.setCheckable(True)
        self.uiGRPBOX_test1.setChecked(True)
        self.uiGRPBOX_test1.setObjectName(_fromUtf8("uiGRPBOX_test1"))
        self.horizontalLayout = QtGui.QHBoxLayout(self.uiGRPBOX_test1)
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.uiRAD_test1 = QtGui.QRadioButton(self.uiGRPBOX_test1)
        self.uiRAD_test1.setObjectName(_fromUtf8("uiRAD_test1"))
        self.horizontalLayout.addWidget(self.uiRAD_test1)
        self.uiRAD_test2 = QtGui.QRadioButton(self.uiGRPBOX_test1)
        self.uiRAD_test2.setObjectName(_fromUtf8("uiRAD_test2"))
        self.horizontalLayout.addWidget(self.uiRAD_test2)
        self.verticalLayout.addWidget(self.uiGRPBOX_test1)
        self.uiLED_test1 = QtGui.QLineEdit(self.layoutWidget)
        self.uiLED_test1.setObjectName(_fromUtf8("uiLED_test1"))
        self.verticalLayout.addWidget(self.uiLED_test1)
        self.uiSPN_test1 = QtGui.QSpinBox(self.layoutWidget)
        self.uiSPN_test1.setObjectName(_fromUtf8("uiSPN_test1"))
        self.verticalLayout.addWidget(self.uiSPN_test1)
        self.uiSPNDBL_test1 = QtGui.QDoubleSpinBox(self.layoutWidget)
        self.uiSPNDBL_test1.setObjectName(_fromUtf8("uiSPNDBL_test1"))
        self.verticalLayout.addWidget(self.uiSPNDBL_test1)
        self.uiTIMEDT_test1 = QtGui.QTimeEdit(self.layoutWidget)
        self.uiTIMEDT_test1.setObjectName(_fromUtf8("uiTIMEDT_test1"))
        self.verticalLayout.addWidget(self.uiTIMEDT_test1)
        self.uiDATEDT_test1 = QtGui.QDateEdit(self.layoutWidget)
        self.uiDATEDT_test1.setObjectName(_fromUtf8("uiDATEDT_test1"))
        self.verticalLayout.addWidget(self.uiDATEDT_test1)
        self.uiDTEDIT_test1 = QtGui.QDateTimeEdit(self.layoutWidget)
        self.uiDTEDIT_test1.setObjectName(_fromUtf8("uiDTEDIT_test1"))
        self.verticalLayout.addWidget(self.uiDTEDIT_test1)
        self.uiBTN_test1 = QtGui.QPushButton(self.layoutWidget)
        self.uiBTN_test1.setCheckable(True)
        self.uiBTN_test1.setObjectName(_fromUtf8("uiBTN_test1"))
        self.verticalLayout.addWidget(self.uiBTN_test1)
        self.uiCBX_test1 = QtGui.QComboBox(self.layoutWidget)
        self.uiCBX_test1.setObjectName(_fromUtf8("uiCBX_test1"))
        self.uiCBX_test1.addItem(_fromUtf8(""))
        self.uiCBX_test1.addItem(_fromUtf8(""))
        self.uiCBX_test1.addItem(_fromUtf8(""))
        self.uiCBX_test1.addItem(_fromUtf8(""))
        self.uiCBX_test1.addItem(_fromUtf8(""))
        self.uiCBX_test1.addItem(_fromUtf8(""))
        self.uiCBX_test1.addItem(_fromUtf8(""))
        self.verticalLayout.addWidget(self.uiCBX_test1)
        self.uiCBX_test2 = QtGui.QComboBox(self.layoutWidget)
        self.uiCBX_test2.setEditable(True)
        self.uiCBX_test2.setObjectName(_fromUtf8("uiCBX_test2"))
        self.verticalLayout.addWidget(self.uiCBX_test2)
        self.uiSCR_test1 = QtGui.QScrollBar(self.layoutWidget)
        self.uiSCR_test1.setOrientation(QtCore.Qt.Horizontal)
        self.uiSCR_test1.setObjectName(_fromUtf8("uiSCR_test1"))
        self.verticalLayout.addWidget(self.uiSCR_test1)
        self.uiSLD_test1 = QtGui.QSlider(self.layoutWidget)
        self.uiSLD_test1.setOrientation(QtCore.Qt.Horizontal)
        self.uiSLD_test1.setObjectName(_fromUtf8("uiSLD_test1"))
        self.verticalLayout.addWidget(self.uiSLD_test1)
        self.uiDIA_test1 = QtGui.QDial(self.layoutWidget)
        self.uiDIA_test1.setObjectName(_fromUtf8("uiDIA_test1"))
        self.verticalLayout.addWidget(self.uiDIA_test1)
        self.horizontalLayout_15 = QtGui.QHBoxLayout()
        self.horizontalLayout_15.setObjectName(
            _fromUtf8("horizontalLayout_15"))
        self.label_4 = QtGui.QLabel(self.layoutWidget)
        self.label_4.setObjectName(_fromUtf8("label_4"))
        self.horizontalLayout_15.addWidget(self.label_4)
        self.uiLED_testVariable1 = QtGui.QLineEdit(self.layoutWidget)
        self.uiLED_testVariable1.setObjectName(
            _fromUtf8("uiLED_testVariable1"))
        self.horizontalLayout_15.addWidget(self.uiLED_testVariable1)
        self.verticalLayout.addLayout(self.horizontalLayout_15)
        self.uiBTN_showDialog = QtGui.QPushButton(self.layoutWidget)
        self.uiBTN_showDialog.setObjectName(_fromUtf8("uiBTN_showDialog"))
        self.verticalLayout.addWidget(self.uiBTN_showDialog)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem)
        self.uiTAB_test1 = QtGui.QTabWidget(self.uiSPL_test1)
        self.uiTAB_test1.setObjectName(_fromUtf8("uiTAB_test1"))
        self.uiTABPG_listWidget = QtGui.QWidget()
        self.uiTABPG_listWidget.setObjectName(_fromUtf8("uiTABPG_listWidget"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.uiTABPG_listWidget)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.uiLSTWID_test1 = QtGui.QListWidget(self.uiTABPG_listWidget)
        self.uiLSTWID_test1.setSelectionMode(
            QtGui.QAbstractItemView.ExtendedSelection)
        self.uiLSTWID_test1.setObjectName(_fromUtf8("uiLSTWID_test1"))
        item = QtGui.QListWidgetItem()
        self.uiLSTWID_test1.addItem(item)
        item = QtGui.QListWidgetItem()
        self.uiLSTWID_test1.addItem(item)
        item = QtGui.QListWidgetItem()
        self.uiLSTWID_test1.addItem(item)
        item = QtGui.QListWidgetItem()
        self.uiLSTWID_test1.addItem(item)
        item = QtGui.QListWidgetItem()
        self.uiLSTWID_test1.addItem(item)
        item = QtGui.QListWidgetItem()
        self.uiLSTWID_test1.addItem(item)
        item = QtGui.QListWidgetItem()
        self.uiLSTWID_test1.addItem(item)
        self.horizontalLayout_2.addWidget(self.uiLSTWID_test1)
        self.uiTAB_test1.addTab(self.uiTABPG_listWidget, _fromUtf8(""))
        self.uiTABPG_treeWidget = QtGui.QWidget()
        self.uiTABPG_treeWidget.setObjectName(_fromUtf8("uiTABPG_treeWidget"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout(self.uiTABPG_treeWidget)
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.uiTREW_test1 = QtGui.QTreeWidget(self.uiTABPG_treeWidget)
        self.uiTREW_test1.setAlternatingRowColors(True)
        self.uiTREW_test1.setSelectionMode(
            QtGui.QAbstractItemView.ExtendedSelection)
        self.uiTREW_test1.setSelectionBehavior(
            QtGui.QAbstractItemView.SelectItems)
        self.uiTREW_test1.setObjectName(_fromUtf8("uiTREW_test1"))
        item_0 = QtGui.QTreeWidgetItem(self.uiTREW_test1)
        item_0 = QtGui.QTreeWidgetItem(self.uiTREW_test1)
        item_0 = QtGui.QTreeWidgetItem(self.uiTREW_test1)
        item_0 = QtGui.QTreeWidgetItem(self.uiTREW_test1)
        item_1 = QtGui.QTreeWidgetItem(item_0)
        item_2 = QtGui.QTreeWidgetItem(item_1)
        item_2 = QtGui.QTreeWidgetItem(item_1)
        item_2 = QtGui.QTreeWidgetItem(item_1)
        item_0 = QtGui.QTreeWidgetItem(self.uiTREW_test1)
        item_1 = QtGui.QTreeWidgetItem(item_0)
        item_2 = QtGui.QTreeWidgetItem(item_1)
        item_2 = QtGui.QTreeWidgetItem(item_1)
        item_2 = QtGui.QTreeWidgetItem(item_1)
        item_0 = QtGui.QTreeWidgetItem(self.uiTREW_test1)
        item_1 = QtGui.QTreeWidgetItem(item_0)
        item_2 = QtGui.QTreeWidgetItem(item_1)
        item_2 = QtGui.QTreeWidgetItem(item_1)
        item_2 = QtGui.QTreeWidgetItem(item_1)
        self.uiTREW_test1.header().setDefaultSectionSize(200)
        self.uiTREW_test1.header().setMinimumSectionSize(200)
        self.uiTREW_test1.header().setSortIndicatorShown(True)
        self.horizontalLayout_3.addWidget(self.uiTREW_test1)
        self.uiTAB_test1.addTab(self.uiTABPG_treeWidget, _fromUtf8(""))
        self.uiTABPG_tableWidget = QtGui.QWidget()
        self.uiTABPG_tableWidget.setObjectName(
            _fromUtf8("uiTABPG_tableWidget"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout(self.uiTABPG_tableWidget)
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.uiTBLWID_test1 = QtGui.QTableWidget(self.uiTABPG_tableWidget)
        self.uiTBLWID_test1.setObjectName(_fromUtf8("uiTBLWID_test1"))
        self.uiTBLWID_test1.setColumnCount(2)
        self.uiTBLWID_test1.setRowCount(7)
        item = QtGui.QTableWidgetItem()
        self.uiTBLWID_test1.setVerticalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.uiTBLWID_test1.setVerticalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.uiTBLWID_test1.setVerticalHeaderItem(2, item)
        item = QtGui.QTableWidgetItem()
        self.uiTBLWID_test1.setVerticalHeaderItem(3, item)
        item = QtGui.QTableWidgetItem()
        self.uiTBLWID_test1.setVerticalHeaderItem(4, item)
        item = QtGui.QTableWidgetItem()
        self.uiTBLWID_test1.setVerticalHeaderItem(5, item)
        item = QtGui.QTableWidgetItem()
        self.uiTBLWID_test1.setVerticalHeaderItem(6, item)
        item = QtGui.QTableWidgetItem()
        self.uiTBLWID_test1.setHorizontalHeaderItem(0, item)
        item = QtGui.QTableWidgetItem()
        self.uiTBLWID_test1.setHorizontalHeaderItem(1, item)
        item = QtGui.QTableWidgetItem()
        self.uiTBLWID_test1.setItem(0, 0, item)
        item = QtGui.QTableWidgetItem()
        self.uiTBLWID_test1.setItem(0, 1, item)
        item = QtGui.QTableWidgetItem()
        self.uiTBLWID_test1.setItem(1, 0, item)
        item = QtGui.QTableWidgetItem()
        self.uiTBLWID_test1.setItem(1, 1, item)
        item = QtGui.QTableWidgetItem()
        self.uiTBLWID_test1.setItem(2, 0, item)
        item = QtGui.QTableWidgetItem()
        self.uiTBLWID_test1.setItem(2, 1, item)
        item = QtGui.QTableWidgetItem()
        self.uiTBLWID_test1.setItem(3, 0, item)
        item = QtGui.QTableWidgetItem()
        self.uiTBLWID_test1.setItem(3, 1, item)
        item = QtGui.QTableWidgetItem()
        self.uiTBLWID_test1.setItem(4, 0, item)
        item = QtGui.QTableWidgetItem()
        self.uiTBLWID_test1.setItem(4, 1, item)
        item = QtGui.QTableWidgetItem()
        self.uiTBLWID_test1.setItem(5, 0, item)
        item = QtGui.QTableWidgetItem()
        self.uiTBLWID_test1.setItem(5, 1, item)
        item = QtGui.QTableWidgetItem()
        self.uiTBLWID_test1.setItem(6, 0, item)
        item = QtGui.QTableWidgetItem()
        self.uiTBLWID_test1.setItem(6, 1, item)
        self.uiTBLWID_test1.horizontalHeader().setSortIndicatorShown(True)
        self.horizontalLayout_4.addWidget(self.uiTBLWID_test1)
        self.uiTAB_test1.addTab(self.uiTABPG_tableWidget, _fromUtf8(""))
        self.uiTABPG_listView = QtGui.QWidget()
        self.uiTABPG_listView.setObjectName(_fromUtf8("uiTABPG_listView"))
        self.horizontalLayout_7 = QtGui.QHBoxLayout(self.uiTABPG_listView)
        self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7"))
        self.uiLSTV_test1 = QtGui.QListView(self.uiTABPG_listView)
        self.uiLSTV_test1.setSelectionMode(
            QtGui.QAbstractItemView.ExtendedSelection)
        self.uiLSTV_test1.setObjectName(_fromUtf8("uiLSTV_test1"))
        self.horizontalLayout_7.addWidget(self.uiLSTV_test1)
        self.uiTAB_test1.addTab(self.uiTABPG_listView, _fromUtf8(""))
        self.uiTABPG_treeView = QtGui.QWidget()
        self.uiTABPG_treeView.setObjectName(_fromUtf8("uiTABPG_treeView"))
        self.horizontalLayout_8 = QtGui.QHBoxLayout(self.uiTABPG_treeView)
        self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8"))
        self.uiTREV_test1 = QtGui.QTreeView(self.uiTABPG_treeView)
        self.uiTREV_test1.setAlternatingRowColors(True)
        self.uiTREV_test1.setSelectionMode(
            QtGui.QAbstractItemView.ExtendedSelection)
        self.uiTREV_test1.setSelectionBehavior(
            QtGui.QAbstractItemView.SelectItems)
        self.uiTREV_test1.setSortingEnabled(True)
        self.uiTREV_test1.setObjectName(_fromUtf8("uiTREV_test1"))
        self.uiTREV_test1.header().setDefaultSectionSize(200)
        self.uiTREV_test1.header().setMinimumSectionSize(200)
        self.uiTREV_test1.header().setSortIndicatorShown(True)
        self.horizontalLayout_8.addWidget(self.uiTREV_test1)
        self.uiTAB_test1.addTab(self.uiTABPG_treeView, _fromUtf8(""))
        self.uiTABPG_tableView = QtGui.QWidget()
        self.uiTABPG_tableView.setObjectName(_fromUtf8("uiTABPG_tableView"))
        self.horizontalLayout_10 = QtGui.QHBoxLayout(self.uiTABPG_tableView)
        self.horizontalLayout_10.setObjectName(
            _fromUtf8("horizontalLayout_10"))
        self.uiTBLV_test1 = QtGui.QTableView(self.uiTABPG_tableView)
        self.uiTBLV_test1.setSortingEnabled(True)
        self.uiTBLV_test1.setObjectName(_fromUtf8("uiTBLV_test1"))
        self.uiTBLV_test1.horizontalHeader().setSortIndicatorShown(True)
        self.horizontalLayout_10.addWidget(self.uiTBLV_test1)
        self.uiTAB_test1.addTab(self.uiTABPG_tableView, _fromUtf8(""))
        self.uiTABPG_columnView = QtGui.QWidget()
        self.uiTABPG_columnView.setObjectName(_fromUtf8("uiTABPG_columnView"))
        self.horizontalLayout_9 = QtGui.QHBoxLayout(self.uiTABPG_columnView)
        self.horizontalLayout_9.setObjectName(_fromUtf8("horizontalLayout_9"))
        self.uiCOLV_test1 = QtGui.QColumnView(self.uiTABPG_columnView)
        self.uiCOLV_test1.setObjectName(_fromUtf8("uiCOLV_test1"))
        self.horizontalLayout_9.addWidget(self.uiCOLV_test1)
        self.uiTAB_test1.addTab(self.uiTABPG_columnView, _fromUtf8(""))
        self.uiTABPG_scrollText = QtGui.QWidget()
        self.uiTABPG_scrollText.setObjectName(_fromUtf8("uiTABPG_scrollText"))
        self.horizontalLayout_6 = QtGui.QHBoxLayout(self.uiTABPG_scrollText)
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.uiSCA_test1 = QtGui.QScrollArea(self.uiTABPG_scrollText)
        self.uiSCA_test1.setWidgetResizable(True)
        self.uiSCA_test1.setObjectName(_fromUtf8("uiSCA_test1"))
        self.scrollAreaWidgetContents = QtGui.QWidget()
        self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 634, 676))
        self.scrollAreaWidgetContents.setObjectName(
            _fromUtf8("scrollAreaWidgetContents"))
        self.horizontalLayout_11 = QtGui.QHBoxLayout(
            self.scrollAreaWidgetContents)
        self.horizontalLayout_11.setObjectName(
            _fromUtf8("horizontalLayout_11"))
        self.uiTXTEDT_test1 = QtGui.QTextEdit(self.scrollAreaWidgetContents)
        self.uiTXTEDT_test1.setMinimumSize(QtCore.QSize(300, 600))
        self.uiTXTEDT_test1.setObjectName(_fromUtf8("uiTXTEDT_test1"))
        self.horizontalLayout_11.addWidget(self.uiTXTEDT_test1)
        self.uiPTXEDT_test1 = QtGui.QPlainTextEdit(
            self.scrollAreaWidgetContents)
        self.uiPTXEDT_test1.setMinimumSize(QtCore.QSize(300, 600))
        self.uiPTXEDT_test1.setObjectName(_fromUtf8("uiPTXEDT_test1"))
        self.horizontalLayout_11.addWidget(self.uiPTXEDT_test1)
        self.uiSCA_test1.setWidget(self.scrollAreaWidgetContents)
        self.horizontalLayout_6.addWidget(self.uiSCA_test1)
        self.uiTAB_test1.addTab(self.uiTABPG_scrollText, _fromUtf8(""))
        self.uiTABPG_stackTool = QtGui.QWidget()
        self.uiTABPG_stackTool.setObjectName(_fromUtf8("uiTABPG_stackTool"))
        self.verticalLayout_6 = QtGui.QVBoxLayout(self.uiTABPG_stackTool)
        self.verticalLayout_6.setSpacing(0)
        self.verticalLayout_6.setContentsMargins(4, 6, 4, 4)
        self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6"))
        self.horizontalLayout_12 = QtGui.QHBoxLayout()
        self.horizontalLayout_12.setObjectName(
            _fromUtf8("horizontalLayout_12"))
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_12.addItem(spacerItem1)
        self.uiBTN_stackDec = QtGui.QPushButton(self.uiTABPG_stackTool)
        self.uiBTN_stackDec.setObjectName(_fromUtf8("uiBTN_stackDec"))
        self.horizontalLayout_12.addWidget(self.uiBTN_stackDec)
        self.uiBTN_stackInc = QtGui.QPushButton(self.uiTABPG_stackTool)
        self.uiBTN_stackInc.setObjectName(_fromUtf8("uiBTN_stackInc"))
        self.horizontalLayout_12.addWidget(self.uiBTN_stackInc)
        self.verticalLayout_6.addLayout(self.horizontalLayout_12)
        self.uiSTK_test1 = QtGui.QStackedWidget(self.uiTABPG_stackTool)
        self.uiSTK_test1.setObjectName(_fromUtf8("uiSTK_test1"))
        self.page0 = QtGui.QWidget()
        self.page0.setObjectName(_fromUtf8("page0"))
        self.horizontalLayout_14 = QtGui.QHBoxLayout(self.page0)
        self.horizontalLayout_14.setSpacing(0)
        self.horizontalLayout_14.setMargin(0)
        self.horizontalLayout_14.setObjectName(
            _fromUtf8("horizontalLayout_14"))
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setSpacing(6)
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.label = QtGui.QLabel(self.page0)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label.setFont(font)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout_3.addWidget(self.label)
        self.horizontalLayout_13 = QtGui.QHBoxLayout()
        self.horizontalLayout_13.setObjectName(
            _fromUtf8("horizontalLayout_13"))
        self.uiTBX_test1 = QtGui.QToolBox(self.page0)
        self.uiTBX_test1.setObjectName(_fromUtf8("uiTBX_test1"))
        self.page = QtGui.QWidget()
        self.page.setGeometry(QtCore.QRect(0, 0, 98, 28))
        self.page.setObjectName(_fromUtf8("page"))
        self.uiTBX_test1.addItem(self.page, _fromUtf8(""))
        self.page_2 = QtGui.QWidget()
        self.page_2.setGeometry(QtCore.QRect(0, 0, 98, 28))
        self.page_2.setObjectName(_fromUtf8("page_2"))
        self.uiTBX_test1.addItem(self.page_2, _fromUtf8(""))
        self.page_5 = QtGui.QWidget()
        self.page_5.setGeometry(QtCore.QRect(0, 0, 318, 557))
        self.page_5.setObjectName(_fromUtf8("page_5"))
        self.uiTBX_test1.addItem(self.page_5, _fromUtf8(""))
        self.horizontalLayout_13.addWidget(self.uiTBX_test1)
        self.uiTBX_test2 = QtGui.QToolBox(self.page0)
        self.uiTBX_test2.setObjectName(_fromUtf8("uiTBX_test2"))
        self.page_3 = QtGui.QWidget()
        self.page_3.setGeometry(QtCore.QRect(0, 0, 98, 28))
        self.page_3.setObjectName(_fromUtf8("page_3"))
        self.uiTBX_test2.addItem(self.page_3, _fromUtf8(""))
        self.page_4 = QtGui.QWidget()
        self.page_4.setGeometry(QtCore.QRect(0, 0, 98, 28))
        self.page_4.setObjectName(_fromUtf8("page_4"))
        self.uiTBX_test2.addItem(self.page_4, _fromUtf8(""))
        self.page_6 = QtGui.QWidget()
        self.page_6.setGeometry(QtCore.QRect(0, 0, 318, 557))
        self.page_6.setObjectName(_fromUtf8("page_6"))
        self.uiTBX_test2.addItem(self.page_6, _fromUtf8(""))
        self.horizontalLayout_13.addWidget(self.uiTBX_test2)
        self.verticalLayout_3.addLayout(self.horizontalLayout_13)
        self.horizontalLayout_14.addLayout(self.verticalLayout_3)
        self.uiSTK_test1.addWidget(self.page0)
        self.page1 = QtGui.QWidget()
        self.page1.setObjectName(_fromUtf8("page1"))
        self.verticalLayout_4 = QtGui.QVBoxLayout(self.page1)
        self.verticalLayout_4.setMargin(0)
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.label_2 = QtGui.QLabel(self.page1)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_2.setFont(font)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.verticalLayout_4.addWidget(self.label_2)
        spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.verticalLayout_4.addItem(spacerItem2)
        self.uiSTK_test1.addWidget(self.page1)
        self.page2 = QtGui.QWidget()
        self.page2.setObjectName(_fromUtf8("page2"))
        self.verticalLayout_5 = QtGui.QVBoxLayout(self.page2)
        self.verticalLayout_5.setMargin(0)
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.label_3 = QtGui.QLabel(self.page2)
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.label_3.setFont(font)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.verticalLayout_5.addWidget(self.label_3)
        spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.verticalLayout_5.addItem(spacerItem3)
        self.uiSTK_test1.addWidget(self.page2)
        self.verticalLayout_6.addWidget(self.uiSTK_test1)
        self.uiTAB_test1.addTab(self.uiTABPG_stackTool, _fromUtf8(""))
        self.verticalLayout_2.addWidget(self.uiSPL_test1)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_5.addItem(spacerItem4)
        self.uiBTN_savePrefs = QtGui.QPushButton(self.centralwidget)
        self.uiBTN_savePrefs.setObjectName(_fromUtf8("uiBTN_savePrefs"))
        self.horizontalLayout_5.addWidget(self.uiBTN_savePrefs)
        self.uiBTN_loadPrefs = QtGui.QPushButton(self.centralwidget)
        self.uiBTN_loadPrefs.setObjectName(_fromUtf8("uiBTN_loadPrefs"))
        self.horizontalLayout_5.addWidget(self.uiBTN_loadPrefs)
        self.uiBTN_resetPrefs = QtGui.QPushButton(self.centralwidget)
        self.uiBTN_resetPrefs.setObjectName(_fromUtf8("uiBTN_resetPrefs"))
        self.horizontalLayout_5.addWidget(self.uiBTN_resetPrefs)
        self.verticalLayout_2.addLayout(self.horizontalLayout_5)
        self.verticalLayout_2.setStretch(0, 1)
        MainWindow.setCentralWidget(self.centralwidget)

        self.retranslateUi(MainWindow)
        self.uiTAB_test1.setCurrentIndex(2)
        self.uiSTK_test1.setCurrentIndex(0)
        self.uiTBX_test1.setCurrentIndex(2)
        self.uiTBX_test2.setCurrentIndex(2)
        QtCore.QObject.connect(self.uiBTN_savePrefs,
                               QtCore.SIGNAL(_fromUtf8("clicked()")),
                               MainWindow.onSavePrefsClicked)
        QtCore.QObject.connect(self.uiBTN_loadPrefs,
                               QtCore.SIGNAL(_fromUtf8("clicked()")),
                               MainWindow.onLoadPrefsClicked)
        QtCore.QObject.connect(self.uiBTN_resetPrefs,
                               QtCore.SIGNAL(_fromUtf8("clicked()")),
                               MainWindow.onResetPrefsClicked)
        QtCore.QObject.connect(self.uiBTN_showDialog,
                               QtCore.SIGNAL(_fromUtf8("clicked()")),
                               MainWindow.onShowDialogClicked)
        QtCore.QObject.connect(self.uiBTN_stackDec,
                               QtCore.SIGNAL(_fromUtf8("clicked()")),
                               MainWindow.onStackedWidgetPageDec)
        QtCore.QObject.connect(self.uiBTN_stackInc,
                               QtCore.SIGNAL(_fromUtf8("clicked()")),
                               MainWindow.onStackedWidgetPageInc)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)