Beispiel #1
0
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(700, 500)
        self.gridlayout = QtGui.QGridLayout(Dialog)
        self.gridlayout.setObjectName("gridlayout")
        self.label = QtGui.QLabel(Dialog)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label, 0, 0, 1, 1)
        self.line = QtGui.QFrame(Dialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridlayout.addWidget(self.line, 1, 0, 1, 4)
        self.DeviceComboBox = DeviceUriComboBox(Dialog)
        self.DeviceComboBox.setObjectName("DeviceComboBox")
        self.gridlayout.addWidget(self.DeviceComboBox, 2, 0, 1, 4)
        spacerItem = QtGui.QSpacerItem(20, 341, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem, 3, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(391, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem1, 4, 0, 1, 2)
        self.CopyButton = QtGui.QPushButton(Dialog)
        self.CopyButton.setObjectName("CopyButton")
        self.gridlayout.addWidget(self.CopyButton, 4, 2, 1, 1)
        self.CancelButton = QtGui.QPushButton(Dialog)
        self.CancelButton.setObjectName("CancelButton")
        self.gridlayout.addWidget(self.CancelButton, 4, 3, 1, 1)

        self.retranslateUi(Dialog)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
Beispiel #2
0
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(700, 500)
        self.gridlayout = QtGui.QGridLayout(Dialog)
        self.gridlayout.setObjectName("gridlayout")
        self.label = QtGui.QLabel(Dialog)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label, 0, 0, 1, 1)
        self.line = QtGui.QFrame(Dialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridlayout.addWidget(self.line, 1, 0, 1, 3)
        self.DeviceComboBox = DeviceUriComboBox(Dialog)
        self.DeviceComboBox.setObjectName("DeviceComboBox")
        self.gridlayout.addWidget(self.DeviceComboBox, 2, 0, 1, 3)
        self.LoadPaper = LoadPaperGroupBox(Dialog)
        self.LoadPaper.setObjectName("LoadPaper")
        self.gridlayout.addWidget(self.LoadPaper, 3, 0, 1, 3)
        spacerItem = QtGui.QSpacerItem(410, 81, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem, 4, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(361, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem1, 5, 0, 1, 1)
        self.RunButton = QtGui.QPushButton(Dialog)
        self.RunButton.setObjectName("RunButton")
        self.gridlayout.addWidget(self.RunButton, 5, 1, 1, 1)
        self.CancelButton = QtGui.QPushButton(Dialog)
        self.CancelButton.setObjectName("CancelButton")
        self.gridlayout.addWidget(self.CancelButton, 5, 2, 1, 1)

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

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(
            QtGui.QApplication.translate(
                "Dialog", "HP Device Manager - Print Quality Diagnostics",
                None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(
            QtGui.QApplication.translate("Dialog", "Print Quality Diagnostics",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.RunButton.setText(
            QtGui.QApplication.translate("Dialog", "Run", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.CancelButton.setText(
            QtGui.QApplication.translate("Dialog", "Cancel", None,
                                         QtGui.QApplication.UnicodeUTF8))
Beispiel #3
0
class FirmwareDialog_Base(object):
    def setupUi(self, Dialog):
        Dialog.setModal(True)
        Dialog.setName("FirmwareDialog_Base")

        self.Download_Firmwar = QLabel(Dialog, "Download_Firmware")
        self.Download_Firmwar.setGeometry(QRect(9, 9, 454, 25))
        Download_Firmwar_font = QFont(self.Download_Firmwar.font())
        Download_Firmwar_font.setPointSize(16)
        self.Download_Firmwar.setFont(Download_Firmwar_font)

        self.line = QFrame(Dialog, "line")
        self.line.setGeometry(QRect(9, 40, 682, 3))
        self.line.setFrameShape(QFrame.HLine)
        self.line.setFrameShadow(QFrame.Sunken)
        self.line.setFrameShape(QFrame.HLine)

        self.DownloadFirmwareButton = QPushButton(Dialog,
                                                  "DownloadFirmwareButton")
        self.DownloadFirmwareButton.setGeometry(QRect(460, 320, 131, 27))

        self.CancelButton = QPushButton(Dialog, "CancelButton")
        self.CancelButton.setGeometry(QRect(600, 320, 85, 27))

        self.frame4 = QFrame(Dialog, "frame4")
        self.frame4.setGeometry(QRect(9, 86, 682, 37))
        self.frame4.setFrameShape(QFrame.StyledPanel)
        self.frame4.setFrameShadow(QFrame.Raised)

        self.textLabel2 = QLabel(self.frame4, "textLabel2")
        self.textLabel2.setGeometry(QRect(10, 8, 662, 17))

        self.DeviceComboBox = DeviceUriComboBox(Dialog)
        self.DeviceComboBox.setGeometry(QRect(9, 49, 682, 26))

        self.languageChange(Dialog)

        self.resize(QSize(709, 361).expandedTo(self.minimumSizeHint()))

    def languageChange(self, Dialog):
        self.setCaption(self.__tr("HP Device Manager - Download Firmware "))
        self.Download_Firmwar.setText(self.__tr("Download Firmware"))
        self.DownloadFirmwareButton.setText(self.__tr("Download Firmware"))
        self.CancelButton.setText(self.__tr("Cancel"))
        self.textLabel2.setText(
            self.__tr(
                "Click <i>Download Firmware</i> to begin download process."))

    def __tr(self, s, c=None):
        return qApp.translate("FirmwareDialog_Base", s, c)
class FirmwareDialog_Base(object):
    def setupUi(self,Dialog):
	Dialog.setModal(True)
        Dialog.setName("FirmwareDialog_Base")

        self.Download_Firmwar = QLabel(Dialog,"Download_Firmware")
        self.Download_Firmwar.setGeometry(QRect(9,9,454,25))
        Download_Firmwar_font = QFont(self.Download_Firmwar.font())
        Download_Firmwar_font.setPointSize(16)
        self.Download_Firmwar.setFont(Download_Firmwar_font)

        self.line = QFrame(Dialog,"line")
        self.line.setGeometry(QRect(9,40,682,3))
        self.line.setFrameShape(QFrame.HLine)
        self.line.setFrameShadow(QFrame.Sunken)
        self.line.setFrameShape(QFrame.HLine)

        self.DownloadFirmwareButton = QPushButton(Dialog,"DownloadFirmwareButton")
        self.DownloadFirmwareButton.setGeometry(QRect(460,320,131,27))

        self.CancelButton = QPushButton(Dialog,"CancelButton")
        self.CancelButton.setGeometry(QRect(600,320,85,27))

        self.frame4 = QFrame(Dialog,"frame4")
        self.frame4.setGeometry(QRect(9,86,682,37))
        self.frame4.setFrameShape(QFrame.StyledPanel)
        self.frame4.setFrameShadow(QFrame.Raised)

        self.textLabel2 = QLabel(self.frame4,"textLabel2")
        self.textLabel2.setGeometry(QRect(10,8,662,17))


        self.DeviceComboBox = DeviceUriComboBox(Dialog)
        self.DeviceComboBox.setGeometry(QRect(9,49,682,26))

        self.languageChange(Dialog)

        self.resize(QSize(709,361).expandedTo(self.minimumSizeHint()))
       
    def languageChange(self, Dialog):
        self.setCaption(self.__tr("HP Device Manager - Download Firmware "))
        self.Download_Firmwar.setText(self.__tr("Download Firmware"))
        self.DownloadFirmwareButton.setText(self.__tr("Download Firmware"))
        self.CancelButton.setText(self.__tr("Cancel"))
        self.textLabel2.setText(self.__tr("Click <i>Download Firmware</i> to begin download process."))


    def __tr(self,s,c = None):
        return qApp.translate("FirmwareDialog_Base",s,c)
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(700, 500)
        self.gridlayout = QtGui.QGridLayout(Dialog)
        self.gridlayout.setObjectName("gridlayout")
        self.label = QtGui.QLabel(Dialog)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label, 0, 0, 1, 1)
        self.line = QtGui.QFrame(Dialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridlayout.addWidget(self.line, 1, 0, 1, 4)
        self.DeviceComboBox = DeviceUriComboBox(Dialog)
        self.DeviceComboBox.setObjectName("DeviceComboBox")
        self.gridlayout.addWidget(self.DeviceComboBox, 2, 0, 1, 4)
        spacerItem = QtGui.QSpacerItem(20, 341, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem, 3, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(391, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem1, 4, 0, 1, 2)
        self.CopyButton = QtGui.QPushButton(Dialog)
        self.CopyButton.setObjectName("CopyButton")
        self.gridlayout.addWidget(self.CopyButton, 4, 2, 1, 1)
        self.CancelButton = QtGui.QPushButton(Dialog)
        self.CancelButton.setObjectName("CancelButton")
        self.gridlayout.addWidget(self.CancelButton, 4, 3, 1, 1)

        self.retranslateUi(Dialog)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
Beispiel #6
0
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.setWindowModality(QtCore.Qt.ApplicationModal)
        Dialog.resize(700, 500)
        self.gridlayout = QtGui.QGridLayout(Dialog)
        self.gridlayout.setObjectName("gridlayout")
        self.label = QtGui.QLabel(Dialog)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label, 0, 0, 1, 1)
        self.line = QtGui.QFrame(Dialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridlayout.addWidget(self.line, 1, 0, 1, 3)
        self.DeviceComboBox = DeviceUriComboBox(Dialog)
        self.DeviceComboBox.setObjectName("DeviceComboBox")
        self.gridlayout.addWidget(self.DeviceComboBox, 2, 0, 1, 3)
        self.frame = QtGui.QFrame(Dialog)
        self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtGui.QFrame.Raised)
        self.frame.setObjectName("frame")
        self.gridlayout1 = QtGui.QGridLayout(self.frame)
        self.gridlayout1.setObjectName("gridlayout1")
        self.label_2 = QtGui.QLabel(self.frame)
        self.label_2.setObjectName("label_2")
        self.gridlayout1.addWidget(self.label_2, 0, 0, 1, 1)
        self.gridlayout.addWidget(self.frame, 3, 0, 1, 3)
        spacerItem = QtGui.QSpacerItem(20, 171, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem, 4, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(301, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem1, 5, 0, 1, 1)
        self.DownloadFirmwareButton = QtGui.QPushButton(Dialog)
        self.DownloadFirmwareButton.setObjectName("DownloadFirmwareButton")
        self.gridlayout.addWidget(self.DownloadFirmwareButton, 5, 1, 1, 1)
        self.CancelButton = QtGui.QPushButton(Dialog)
        self.CancelButton.setObjectName("CancelButton")
        self.gridlayout.addWidget(self.CancelButton, 5, 2, 1, 1)

        self.retranslateUi(Dialog)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(700, 500)
        self.gridlayout = QtGui.QGridLayout(Dialog)
        self.gridlayout.setObjectName("gridlayout")
        self.label = QtGui.QLabel(Dialog)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label, 0, 0, 1, 1)
        self.line = QtGui.QFrame(Dialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridlayout.addWidget(self.line, 1, 0, 1, 3)
        self.DeviceComboBox = DeviceUriComboBox(Dialog)
        self.DeviceComboBox.setObjectName("DeviceComboBox")
        self.gridlayout.addWidget(self.DeviceComboBox, 2, 0, 1, 3)
        self.LoadPaper = LoadPaperGroupBox(Dialog)
        self.LoadPaper.setObjectName("LoadPaper")
        self.gridlayout.addWidget(self.LoadPaper, 3, 0, 1, 3)
        spacerItem = QtGui.QSpacerItem(410, 81, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem, 4, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(361, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem1, 5, 0, 1, 1)
        self.CalibrateButton = QtGui.QPushButton(Dialog)
        self.CalibrateButton.setObjectName("CalibrateButton")
        self.gridlayout.addWidget(self.CalibrateButton, 5, 1, 1, 1)
        self.CancelButton = QtGui.QPushButton(Dialog)
        self.CancelButton.setObjectName("CancelButton")
        self.gridlayout.addWidget(self.CancelButton, 5, 2, 1, 1)

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

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "HP Device Manager - Line Feed Calibration", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("Dialog", "Line Feed Calibration", None, QtGui.QApplication.UnicodeUTF8))
        self.CalibrateButton.setText(QtGui.QApplication.translate("Dialog", "Calibrate", None, QtGui.QApplication.UnicodeUTF8))
        self.CancelButton.setText(QtGui.QApplication.translate("Dialog", "Cancel", None, QtGui.QApplication.UnicodeUTF8))
Beispiel #8
0
    def setupUi(self, Dialog):
        Dialog.setModal(True)
        Dialog.setName("FirmwareDialog_Base")

        self.Download_Firmwar = QLabel(Dialog, "Download_Firmware")
        self.Download_Firmwar.setGeometry(QRect(9, 9, 454, 25))
        Download_Firmwar_font = QFont(self.Download_Firmwar.font())
        Download_Firmwar_font.setPointSize(16)
        self.Download_Firmwar.setFont(Download_Firmwar_font)

        self.line = QFrame(Dialog, "line")
        self.line.setGeometry(QRect(9, 40, 682, 3))
        self.line.setFrameShape(QFrame.HLine)
        self.line.setFrameShadow(QFrame.Sunken)
        self.line.setFrameShape(QFrame.HLine)

        self.DownloadFirmwareButton = QPushButton(Dialog,
                                                  "DownloadFirmwareButton")
        self.DownloadFirmwareButton.setGeometry(QRect(460, 320, 131, 27))

        self.CancelButton = QPushButton(Dialog, "CancelButton")
        self.CancelButton.setGeometry(QRect(600, 320, 85, 27))

        self.frame4 = QFrame(Dialog, "frame4")
        self.frame4.setGeometry(QRect(9, 86, 682, 37))
        self.frame4.setFrameShape(QFrame.StyledPanel)
        self.frame4.setFrameShadow(QFrame.Raised)

        self.textLabel2 = QLabel(self.frame4, "textLabel2")
        self.textLabel2.setGeometry(QRect(10, 8, 662, 17))

        self.DeviceComboBox = DeviceUriComboBox(Dialog)
        self.DeviceComboBox.setGeometry(QRect(9, 49, 682, 26))

        self.languageChange(Dialog)

        self.resize(QSize(709, 361).expandedTo(self.minimumSizeHint()))
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.setWindowModality(QtCore.Qt.ApplicationModal)
        Dialog.resize(700, 500)
        self.gridlayout = QtGui.QGridLayout(Dialog)
        self.gridlayout.setObjectName("gridlayout")
        self.label = QtGui.QLabel(Dialog)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label, 0, 0, 1, 1)
        self.line = QtGui.QFrame(Dialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridlayout.addWidget(self.line, 1, 0, 1, 3)
        self.DeviceComboBox = DeviceUriComboBox(Dialog)
        self.DeviceComboBox.setObjectName("DeviceComboBox")
        self.gridlayout.addWidget(self.DeviceComboBox, 2, 0, 1, 3)
        self.frame = QtGui.QFrame(Dialog)
        self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtGui.QFrame.Raised)
        self.frame.setObjectName("frame")
        self.gridlayout1 = QtGui.QGridLayout(self.frame)
        self.gridlayout1.setObjectName("gridlayout1")
        self.label_2 = QtGui.QLabel(self.frame)
        self.label_2.setObjectName("label_2")
        self.gridlayout1.addWidget(self.label_2, 0, 0, 1, 1)
        self.gridlayout.addWidget(self.frame, 3, 0, 1, 3)
        spacerItem = QtGui.QSpacerItem(20, 171, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem, 4, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(301, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem1, 5, 0, 1, 1)
        self.DownloadFirmwareButton = QtGui.QPushButton(Dialog)
        self.DownloadFirmwareButton.setObjectName("DownloadFirmwareButton")
        self.gridlayout.addWidget(self.DownloadFirmwareButton, 5, 1, 1, 1)
        self.CancelButton = QtGui.QPushButton(Dialog)
        self.CancelButton.setObjectName("CancelButton")
        self.gridlayout.addWidget(self.CancelButton, 5, 2, 1, 1)

        self.retranslateUi(Dialog)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
Beispiel #10
0
    def setupUi(self,Dialog):
	Dialog.setModal(True)
        Dialog.setName("FirmwareDialog_Base")

        self.Download_Firmwar = QLabel(Dialog,"Download_Firmware")
        self.Download_Firmwar.setGeometry(QRect(9,9,454,25))
        Download_Firmwar_font = QFont(self.Download_Firmwar.font())
        Download_Firmwar_font.setPointSize(16)
        self.Download_Firmwar.setFont(Download_Firmwar_font)

        self.line = QFrame(Dialog,"line")
        self.line.setGeometry(QRect(9,40,682,3))
        self.line.setFrameShape(QFrame.HLine)
        self.line.setFrameShadow(QFrame.Sunken)
        self.line.setFrameShape(QFrame.HLine)

        self.DownloadFirmwareButton = QPushButton(Dialog,"DownloadFirmwareButton")
        self.DownloadFirmwareButton.setGeometry(QRect(460,320,131,27))

        self.CancelButton = QPushButton(Dialog,"CancelButton")
        self.CancelButton.setGeometry(QRect(600,320,85,27))

        self.frame4 = QFrame(Dialog,"frame4")
        self.frame4.setGeometry(QRect(9,86,682,37))
        self.frame4.setFrameShape(QFrame.StyledPanel)
        self.frame4.setFrameShadow(QFrame.Raised)

        self.textLabel2 = QLabel(self.frame4,"textLabel2")
        self.textLabel2.setGeometry(QRect(10,8,662,17))


        self.DeviceComboBox = DeviceUriComboBox(Dialog)
        self.DeviceComboBox.setGeometry(QRect(9,49,682,26))

        self.languageChange(Dialog)

        self.resize(QSize(709,361).expandedTo(self.minimumSizeHint()))
Beispiel #11
0
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(700, 568)
        self.gridlayout = QtGui.QGridLayout(Dialog)
        self.gridlayout.setObjectName("gridlayout")
        self.label = QtGui.QLabel(Dialog)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label, 0, 0, 1, 3)
        self.line = QtGui.QFrame(Dialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridlayout.addWidget(self.line, 1, 0, 1, 5)
        self.line_2 = QtGui.QFrame(Dialog)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.gridlayout.addWidget(self.line_2, 3, 0, 1, 5)
        self.StepText = QtGui.QLabel(Dialog)
        self.StepText.setObjectName("StepText")
        self.gridlayout.addWidget(self.StepText, 4, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(191, 29, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem, 4, 1, 1, 1)
        self.NextButton = QtGui.QPushButton(Dialog)
        self.NextButton.setObjectName("NextButton")
        self.gridlayout.addWidget(self.NextButton, 4, 3, 1, 1)
        self.CancelButton = QtGui.QPushButton(Dialog)
        self.CancelButton.setObjectName("CancelButton")
        self.gridlayout.addWidget(self.CancelButton, 4, 4, 1, 1)
        self.StackedWidget = QtGui.QStackedWidget(Dialog)
        self.StackedWidget.setObjectName("StackedWidget")
        self.StartPage = QtGui.QWidget()
        self.StartPage.setObjectName("StartPage")
        self.gridlayout1 = QtGui.QGridLayout(self.StartPage)
        self.gridlayout1.setObjectName("gridlayout1")
        self.DeviceComboBox = DeviceUriComboBox(self.StartPage)
        self.DeviceComboBox.setObjectName("DeviceComboBox")
        self.gridlayout1.addWidget(self.DeviceComboBox, 0, 0, 1, 1)
        self.groupBox = QtGui.QGroupBox(self.StartPage)
        self.groupBox.setObjectName("groupBox")
        self.gridlayout2 = QtGui.QGridLayout(self.groupBox)
        self.gridlayout2.setObjectName("gridlayout2")
        self.label_2 = QtGui.QLabel(self.groupBox)
        self.label_2.setObjectName("label_2")
        self.gridlayout2.addWidget(self.label_2, 0, 0, 1, 1)
        self.gridlayout1.addWidget(self.groupBox, 1, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(564, 161, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout1.addItem(spacerItem1, 2, 0, 1, 1)
        self.StackedWidget.addWidget(self.StartPage)
        self.LoadPaperPage = QtGui.QWidget()
        self.LoadPaperPage.setObjectName("LoadPaperPage")
        self.gridlayout3 = QtGui.QGridLayout(self.LoadPaperPage)
        self.gridlayout3.setObjectName("gridlayout3")
        self.LoadPaper = LoadPaperGroupBox(self.LoadPaperPage)
        self.LoadPaper.setObjectName("LoadPaper")
        self.gridlayout3.addWidget(self.LoadPaper, 0, 0, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(20, 181, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout3.addItem(spacerItem2, 1, 0, 1, 1)
        self.StackedWidget.addWidget(self.LoadPaperPage)
        self.PaperEdgePage = QtGui.QWidget()
        self.PaperEdgePage.setObjectName("PaperEdgePage")
        self.gridlayout4 = QtGui.QGridLayout(self.PaperEdgePage)
        self.gridlayout4.setObjectName("gridlayout4")
        self.PageEdgeTitle = QtGui.QLabel(self.PaperEdgePage)
        self.PageEdgeTitle.setObjectName("PageEdgeTitle")
        self.gridlayout4.addWidget(self.PageEdgeTitle, 0, 0, 1, 4)
        spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout4.addItem(spacerItem3, 1, 1, 1, 1)
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout4.addItem(spacerItem4, 2, 0, 1, 1)
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName("hboxlayout")
        self.PageEdgeIcon = QtGui.QLabel(self.PaperEdgePage)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.PageEdgeIcon.sizePolicy().hasHeightForWidth())
        self.PageEdgeIcon.setSizePolicy(sizePolicy)
        self.PageEdgeIcon.setMinimumSize(QtCore.QSize(85, 90))
        self.PageEdgeIcon.setMaximumSize(QtCore.QSize(85, 90))
        self.PageEdgeIcon.setFrameShape(QtGui.QFrame.NoFrame)
        self.PageEdgeIcon.setObjectName("PageEdgeIcon")
        self.hboxlayout.addWidget(self.PageEdgeIcon)
        self.PageEdgeComboBox = QtGui.QComboBox(self.PaperEdgePage)
        self.PageEdgeComboBox.setObjectName("PageEdgeComboBox")
        self.hboxlayout.addWidget(self.PageEdgeComboBox)
        self.gridlayout4.addLayout(self.hboxlayout, 2, 1, 1, 2)
        spacerItem5 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout4.addItem(spacerItem5, 2, 3, 1, 1)
        spacerItem6 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout4.addItem(spacerItem6, 3, 2, 1, 1)
        self.StackedWidget.addWidget(self.PaperEdgePage)
        self.AlignmentNumber = QtGui.QWidget()
        self.AlignmentNumber.setObjectName("AlignmentNumber")
        self.gridlayout5 = QtGui.QGridLayout(self.AlignmentNumber)
        self.gridlayout5.setObjectName("gridlayout5")
        self.AlignmentNumberTitle = QtGui.QLabel(self.AlignmentNumber)
        self.AlignmentNumberTitle.setObjectName("AlignmentNumberTitle")
        self.gridlayout5.addWidget(self.AlignmentNumberTitle, 0, 0, 1, 4)
        spacerItem7 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout5.addItem(spacerItem7, 1, 1, 1, 1)
        spacerItem8 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout5.addItem(spacerItem8, 2, 0, 1, 1)
        self.hboxlayout1 = QtGui.QHBoxLayout()
        self.hboxlayout1.setObjectName("hboxlayout1")
        self.AlignmentNumberIcon = QtGui.QLabel(self.AlignmentNumber)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.AlignmentNumberIcon.sizePolicy().hasHeightForWidth())
        self.AlignmentNumberIcon.setSizePolicy(sizePolicy)
        self.AlignmentNumberIcon.setMinimumSize(QtCore.QSize(85, 90))
        self.AlignmentNumberIcon.setMaximumSize(QtCore.QSize(85, 90))
        self.AlignmentNumberIcon.setFrameShape(QtGui.QFrame.NoFrame)
        self.AlignmentNumberIcon.setObjectName("AlignmentNumberIcon")
        self.hboxlayout1.addWidget(self.AlignmentNumberIcon)
        self.AlignmentNumberComboBox = QtGui.QComboBox(self.AlignmentNumber)
        self.AlignmentNumberComboBox.setObjectName("AlignmentNumberComboBox")
        self.hboxlayout1.addWidget(self.AlignmentNumberComboBox)
        self.gridlayout5.addLayout(self.hboxlayout1, 2, 1, 1, 2)
        spacerItem9 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout5.addItem(spacerItem9, 2, 3, 1, 1)
        spacerItem10 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout5.addItem(spacerItem10, 3, 2, 1, 1)
        self.StackedWidget.addWidget(self.AlignmentNumber)
        self.ColorAdjPage = QtGui.QWidget()
        self.ColorAdjPage.setObjectName("ColorAdjPage")
        self.gridlayout6 = QtGui.QGridLayout(self.ColorAdjPage)
        self.gridlayout6.setObjectName("gridlayout6")
        self.label_12 = QtGui.QLabel(self.ColorAdjPage)
        self.label_12.setWordWrap(True)
        self.label_12.setObjectName("label_12")
        self.gridlayout6.addWidget(self.label_12, 0, 0, 1, 5)
        spacerItem11 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout6.addItem(spacerItem11, 1, 1, 1, 1)
        spacerItem12 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout6.addItem(spacerItem12, 2, 0, 1, 1)
        self.ColorAdjustIcon = QtGui.QLabel(self.ColorAdjPage)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ColorAdjustIcon.sizePolicy().hasHeightForWidth())
        self.ColorAdjustIcon.setSizePolicy(sizePolicy)
        self.ColorAdjustIcon.setMinimumSize(QtCore.QSize(85, 90))
        self.ColorAdjustIcon.setMaximumSize(QtCore.QSize(85, 90))
        self.ColorAdjustIcon.setFrameShape(QtGui.QFrame.NoFrame)
        self.ColorAdjustIcon.setObjectName("ColorAdjustIcon")
        self.gridlayout6.addWidget(self.ColorAdjustIcon, 2, 1, 1, 1)
        spacerItem13 = QtGui.QSpacerItem(31, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout6.addItem(spacerItem13, 2, 2, 1, 1)
        self.hboxlayout2 = QtGui.QHBoxLayout()
        self.hboxlayout2.setObjectName("hboxlayout2")
        self.ColorAdjustLabel = QtGui.QLabel(self.ColorAdjPage)
        self.ColorAdjustLabel.setObjectName("ColorAdjustLabel")
        self.hboxlayout2.addWidget(self.ColorAdjustLabel)
        self.ColorAdjustComboBox = QtGui.QComboBox(self.ColorAdjPage)
        self.ColorAdjustComboBox.setObjectName("ColorAdjustComboBox")
        self.hboxlayout2.addWidget(self.ColorAdjustComboBox)
        self.gridlayout6.addLayout(self.hboxlayout2, 2, 3, 1, 1)
        spacerItem14 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout6.addItem(spacerItem14, 2, 4, 1, 1)
        spacerItem15 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout6.addItem(spacerItem15, 3, 1, 1, 1)
        self.StackedWidget.addWidget(self.ColorAdjPage)
        self.LBowPage = QtGui.QWidget()
        self.LBowPage.setObjectName("LBowPage")
        self.gridlayout7 = QtGui.QGridLayout(self.LBowPage)
        self.gridlayout7.setObjectName("gridlayout7")
        self.LBowTitle = QtGui.QLabel(self.LBowPage)
        self.LBowTitle.setWordWrap(True)
        self.LBowTitle.setObjectName("LBowTitle")
        self.gridlayout7.addWidget(self.LBowTitle, 0, 0, 1, 5)
        spacerItem16 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout7.addItem(spacerItem16, 1, 1, 1, 1)
        spacerItem17 = QtGui.QSpacerItem(41, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout7.addItem(spacerItem17, 2, 0, 1, 1)
        self.LBowIcon = QtGui.QLabel(self.LBowPage)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.LBowIcon.sizePolicy().hasHeightForWidth())
        self.LBowIcon.setSizePolicy(sizePolicy)
        self.LBowIcon.setMinimumSize(QtCore.QSize(192, 93))
        self.LBowIcon.setMaximumSize(QtCore.QSize(192, 93))
        self.LBowIcon.setFrameShape(QtGui.QFrame.NoFrame)
        self.LBowIcon.setObjectName("LBowIcon")
        self.gridlayout7.addWidget(self.LBowIcon, 2, 1, 1, 1)
        spacerItem18 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout7.addItem(spacerItem18, 2, 2, 1, 1)
        spacerItem19 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout7.addItem(spacerItem19, 2, 4, 1, 1)
        spacerItem20 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout7.addItem(spacerItem20, 3, 1, 1, 1)
        self.groupBox_2 = QtGui.QGroupBox(self.LBowPage)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridlayout8 = QtGui.QGridLayout(self.groupBox_2)
        self.gridlayout8.setObjectName("gridlayout8")
        self.hboxlayout3 = QtGui.QHBoxLayout()
        self.hboxlayout3.setObjectName("hboxlayout3")
        self.label_4 = QtGui.QLabel(self.groupBox_2)
        self.label_4.setObjectName("label_4")
        self.hboxlayout3.addWidget(self.label_4)
        self.aComboBox = QtGui.QComboBox(self.groupBox_2)
        self.aComboBox.setObjectName("aComboBox")
        self.hboxlayout3.addWidget(self.aComboBox)
        self.gridlayout8.addLayout(self.hboxlayout3, 0, 0, 1, 1)
        self.hboxlayout4 = QtGui.QHBoxLayout()
        self.hboxlayout4.setObjectName("hboxlayout4")
        self.label_5 = QtGui.QLabel(self.groupBox_2)
        self.label_5.setObjectName("label_5")
        self.hboxlayout4.addWidget(self.label_5)
        self.bComboBox = QtGui.QComboBox(self.groupBox_2)
        self.bComboBox.setObjectName("bComboBox")
        self.hboxlayout4.addWidget(self.bComboBox)
        self.gridlayout8.addLayout(self.hboxlayout4, 1, 0, 1, 1)
        self.hboxlayout5 = QtGui.QHBoxLayout()
        self.hboxlayout5.setObjectName("hboxlayout5")
        self.label_6 = QtGui.QLabel(self.groupBox_2)
        self.label_6.setObjectName("label_6")
        self.hboxlayout5.addWidget(self.label_6)
        self.cComboBox = QtGui.QComboBox(self.groupBox_2)
        self.cComboBox.setObjectName("cComboBox")
        self.hboxlayout5.addWidget(self.cComboBox)
        self.gridlayout8.addLayout(self.hboxlayout5, 2, 0, 1, 1)
        self.hboxlayout6 = QtGui.QHBoxLayout()
        self.hboxlayout6.setObjectName("hboxlayout6")
        self.label_7 = QtGui.QLabel(self.groupBox_2)
        self.label_7.setObjectName("label_7")
        self.hboxlayout6.addWidget(self.label_7)
        self.dComboBox = QtGui.QComboBox(self.groupBox_2)
        self.dComboBox.setObjectName("dComboBox")
        self.hboxlayout6.addWidget(self.dComboBox)
        self.gridlayout8.addLayout(self.hboxlayout6, 3, 0, 1, 1)
        self.hboxlayout7 = QtGui.QHBoxLayout()
        self.hboxlayout7.setObjectName("hboxlayout7")
        self.label_8 = QtGui.QLabel(self.groupBox_2)
        self.label_8.setObjectName("label_8")
        self.hboxlayout7.addWidget(self.label_8)
        self.eComboBox = QtGui.QComboBox(self.groupBox_2)
        self.eComboBox.setObjectName("eComboBox")
        self.hboxlayout7.addWidget(self.eComboBox)
        self.gridlayout8.addLayout(self.hboxlayout7, 4, 0, 1, 1)
        self.hboxlayout8 = QtGui.QHBoxLayout()
        self.hboxlayout8.setObjectName("hboxlayout8")
        self.label_9 = QtGui.QLabel(self.groupBox_2)
        self.label_9.setObjectName("label_9")
        self.hboxlayout8.addWidget(self.label_9)
        self.fComboBox = QtGui.QComboBox(self.groupBox_2)
        self.fComboBox.setObjectName("fComboBox")
        self.hboxlayout8.addWidget(self.fComboBox)
        self.gridlayout8.addLayout(self.hboxlayout8, 5, 0, 1, 1)
        self.hboxlayout9 = QtGui.QHBoxLayout()
        self.hboxlayout9.setObjectName("hboxlayout9")
        self.label_10 = QtGui.QLabel(self.groupBox_2)
        self.label_10.setObjectName("label_10")
        self.hboxlayout9.addWidget(self.label_10)
        self.gComboBox = QtGui.QComboBox(self.groupBox_2)
        self.gComboBox.setObjectName("gComboBox")
        self.hboxlayout9.addWidget(self.gComboBox)
        self.gridlayout8.addLayout(self.hboxlayout9, 6, 0, 1, 1)
        self.hboxlayout10 = QtGui.QHBoxLayout()
        self.hboxlayout10.setObjectName("hboxlayout10")
        self.label_11 = QtGui.QLabel(self.groupBox_2)
        self.label_11.setObjectName("label_11")
        self.hboxlayout10.addWidget(self.label_11)
        self.hComboBox = QtGui.QComboBox(self.groupBox_2)
        self.hComboBox.setObjectName("hComboBox")
        self.hboxlayout10.addWidget(self.hComboBox)
        self.gridlayout8.addLayout(self.hboxlayout10, 7, 0, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_14 = QtGui.QLabel(self.groupBox_2)
        self.label_14.setObjectName("label_14")
        self.horizontalLayout.addWidget(self.label_14)
        self.iComboBox = QtGui.QComboBox(self.groupBox_2)
        self.iComboBox.setObjectName("iComboBox")
        self.horizontalLayout.addWidget(self.iComboBox)
        self.gridlayout8.addLayout(self.horizontalLayout, 8, 0, 1, 1)
        self.gridlayout7.addWidget(self.groupBox_2, 1, 3, 3, 1)
        self.StackedWidget.addWidget(self.LBowPage)
        self.AioPage = QtGui.QWidget()
        self.AioPage.setObjectName("AioPage")
        self.gridlayout9 = QtGui.QGridLayout(self.AioPage)
        self.gridlayout9.setObjectName("gridlayout9")
        spacerItem21 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout9.addItem(spacerItem21, 0, 1, 1, 1)
        spacerItem22 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout9.addItem(spacerItem22, 1, 0, 1, 1)
        self.AioIcon = QtGui.QLabel(self.AioPage)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.AioIcon.sizePolicy().hasHeightForWidth())
        self.AioIcon.setSizePolicy(sizePolicy)
        self.AioIcon.setMinimumSize(QtCore.QSize(92, 120))
        self.AioIcon.setMaximumSize(QtCore.QSize(92, 120))
        self.AioIcon.setFrameShape(QtGui.QFrame.NoFrame)
        self.AioIcon.setObjectName("AioIcon")
        self.gridlayout9.addWidget(self.AioIcon, 1, 1, 1, 1)
        spacerItem23 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout9.addItem(spacerItem23, 1, 2, 1, 1)
        self.label_3 = QtGui.QLabel(self.AioPage)
        self.label_3.setWordWrap(True)
        self.label_3.setObjectName("label_3")
        self.gridlayout9.addWidget(self.label_3, 1, 3, 1, 1)
        spacerItem24 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout9.addItem(spacerItem24, 2, 1, 1, 1)
        self.StackedWidget.addWidget(self.AioPage)
        self.FrontPanelPage = QtGui.QWidget()
        self.FrontPanelPage.setObjectName("FrontPanelPage")
        self.gridlayout10 = QtGui.QGridLayout(self.FrontPanelPage)
        self.gridlayout10.setObjectName("gridlayout10")
        self.label_13 = QtGui.QLabel(self.FrontPanelPage)
        self.label_13.setTextFormat(QtCore.Qt.RichText)
        self.label_13.setWordWrap(True)
        self.label_13.setObjectName("label_13")
        self.gridlayout10.addWidget(self.label_13, 0, 0, 1, 1)
        spacerItem25 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout10.addItem(spacerItem25, 1, 0, 1, 1)
        self.StackedWidget.addWidget(self.FrontPanelPage)
        self.gridlayout.addWidget(self.StackedWidget, 2, 0, 1, 5)

        self.retranslateUi(Dialog)
        self.StackedWidget.setCurrentIndex(5)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
Beispiel #12
0
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(700, 568)
        self.gridlayout = QtGui.QGridLayout(Dialog)
        self.gridlayout.setObjectName("gridlayout")
        self.label = QtGui.QLabel(Dialog)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label, 0, 0, 1, 3)
        self.line = QtGui.QFrame(Dialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridlayout.addWidget(self.line, 1, 0, 1, 5)
        self.line_2 = QtGui.QFrame(Dialog)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.gridlayout.addWidget(self.line_2, 3, 0, 1, 5)
        self.StepText = QtGui.QLabel(Dialog)
        self.StepText.setObjectName("StepText")
        self.gridlayout.addWidget(self.StepText, 4, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(191, 29, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem, 4, 1, 1, 1)
        self.NextButton = QtGui.QPushButton(Dialog)
        self.NextButton.setObjectName("NextButton")
        self.gridlayout.addWidget(self.NextButton, 4, 3, 1, 1)
        self.CancelButton = QtGui.QPushButton(Dialog)
        self.CancelButton.setObjectName("CancelButton")
        self.gridlayout.addWidget(self.CancelButton, 4, 4, 1, 1)
        self.StackedWidget = QtGui.QStackedWidget(Dialog)
        self.StackedWidget.setObjectName("StackedWidget")
        self.StartPage = QtGui.QWidget()
        self.StartPage.setObjectName("StartPage")
        self.gridlayout1 = QtGui.QGridLayout(self.StartPage)
        self.gridlayout1.setObjectName("gridlayout1")
        self.DeviceComboBox = DeviceUriComboBox(self.StartPage)
        self.DeviceComboBox.setObjectName("DeviceComboBox")
        self.gridlayout1.addWidget(self.DeviceComboBox, 0, 0, 1, 1)
        self.groupBox = QtGui.QGroupBox(self.StartPage)
        self.groupBox.setObjectName("groupBox")
        self.gridlayout2 = QtGui.QGridLayout(self.groupBox)
        self.gridlayout2.setObjectName("gridlayout2")
        self.label_2 = QtGui.QLabel(self.groupBox)
        self.label_2.setObjectName("label_2")
        self.gridlayout2.addWidget(self.label_2, 0, 0, 1, 1)
        self.gridlayout1.addWidget(self.groupBox, 1, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(564, 161, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout1.addItem(spacerItem1, 2, 0, 1, 1)
        self.StackedWidget.addWidget(self.StartPage)
        self.LoadPaperPage = QtGui.QWidget()
        self.LoadPaperPage.setObjectName("LoadPaperPage")
        self.gridlayout3 = QtGui.QGridLayout(self.LoadPaperPage)
        self.gridlayout3.setObjectName("gridlayout3")
        self.LoadPaper = LoadPaperGroupBox(self.LoadPaperPage)
        self.LoadPaper.setObjectName("LoadPaper")
        self.gridlayout3.addWidget(self.LoadPaper, 0, 0, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(20, 181, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout3.addItem(spacerItem2, 1, 0, 1, 1)
        self.StackedWidget.addWidget(self.LoadPaperPage)
        self.PaperEdgePage = QtGui.QWidget()
        self.PaperEdgePage.setObjectName("PaperEdgePage")
        self.gridlayout4 = QtGui.QGridLayout(self.PaperEdgePage)
        self.gridlayout4.setObjectName("gridlayout4")
        self.PageEdgeTitle = QtGui.QLabel(self.PaperEdgePage)
        self.PageEdgeTitle.setObjectName("PageEdgeTitle")
        self.gridlayout4.addWidget(self.PageEdgeTitle, 0, 0, 1, 4)
        spacerItem3 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout4.addItem(spacerItem3, 1, 1, 1, 1)
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout4.addItem(spacerItem4, 2, 0, 1, 1)
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName("hboxlayout")
        self.PageEdgeIcon = QtGui.QLabel(self.PaperEdgePage)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.PageEdgeIcon.sizePolicy().hasHeightForWidth())
        self.PageEdgeIcon.setSizePolicy(sizePolicy)
        self.PageEdgeIcon.setMinimumSize(QtCore.QSize(85, 90))
        self.PageEdgeIcon.setMaximumSize(QtCore.QSize(85, 90))
        self.PageEdgeIcon.setFrameShape(QtGui.QFrame.NoFrame)
        self.PageEdgeIcon.setObjectName("PageEdgeIcon")
        self.hboxlayout.addWidget(self.PageEdgeIcon)
        self.PageEdgeComboBox = QtGui.QComboBox(self.PaperEdgePage)
        self.PageEdgeComboBox.setObjectName("PageEdgeComboBox")
        self.hboxlayout.addWidget(self.PageEdgeComboBox)
        self.gridlayout4.addLayout(self.hboxlayout, 2, 1, 1, 2)
        spacerItem5 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout4.addItem(spacerItem5, 2, 3, 1, 1)
        spacerItem6 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout4.addItem(spacerItem6, 3, 2, 1, 1)
        self.StackedWidget.addWidget(self.PaperEdgePage)
        self.AlignmentNumber = QtGui.QWidget()
        self.AlignmentNumber.setObjectName("AlignmentNumber")
        self.gridlayout5 = QtGui.QGridLayout(self.AlignmentNumber)
        self.gridlayout5.setObjectName("gridlayout5")
        self.AlignmentNumberTitle = QtGui.QLabel(self.AlignmentNumber)
        self.AlignmentNumberTitle.setObjectName("AlignmentNumberTitle")
        self.gridlayout5.addWidget(self.AlignmentNumberTitle, 0, 0, 1, 4)
        spacerItem7 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout5.addItem(spacerItem7, 1, 1, 1, 1)
        spacerItem8 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout5.addItem(spacerItem8, 2, 0, 1, 1)
        self.hboxlayout1 = QtGui.QHBoxLayout()
        self.hboxlayout1.setObjectName("hboxlayout1")
        self.AlignmentNumberIcon = QtGui.QLabel(self.AlignmentNumber)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.AlignmentNumberIcon.sizePolicy().hasHeightForWidth())
        self.AlignmentNumberIcon.setSizePolicy(sizePolicy)
        self.AlignmentNumberIcon.setMinimumSize(QtCore.QSize(85, 90))
        self.AlignmentNumberIcon.setMaximumSize(QtCore.QSize(85, 90))
        self.AlignmentNumberIcon.setFrameShape(QtGui.QFrame.NoFrame)
        self.AlignmentNumberIcon.setObjectName("AlignmentNumberIcon")
        self.hboxlayout1.addWidget(self.AlignmentNumberIcon)
        self.AlignmentNumberComboBox = QtGui.QComboBox(self.AlignmentNumber)
        self.AlignmentNumberComboBox.setObjectName("AlignmentNumberComboBox")
        self.hboxlayout1.addWidget(self.AlignmentNumberComboBox)
        self.gridlayout5.addLayout(self.hboxlayout1, 2, 1, 1, 2)
        spacerItem9 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout5.addItem(spacerItem9, 2, 3, 1, 1)
        spacerItem10 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout5.addItem(spacerItem10, 3, 2, 1, 1)
        self.StackedWidget.addWidget(self.AlignmentNumber)
        self.ColorAdjPage = QtGui.QWidget()
        self.ColorAdjPage.setObjectName("ColorAdjPage")
        self.gridlayout6 = QtGui.QGridLayout(self.ColorAdjPage)
        self.gridlayout6.setObjectName("gridlayout6")
        self.label_12 = QtGui.QLabel(self.ColorAdjPage)
        self.label_12.setWordWrap(True)
        self.label_12.setObjectName("label_12")
        self.gridlayout6.addWidget(self.label_12, 0, 0, 1, 5)
        spacerItem11 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout6.addItem(spacerItem11, 1, 1, 1, 1)
        spacerItem12 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout6.addItem(spacerItem12, 2, 0, 1, 1)
        self.ColorAdjustIcon = QtGui.QLabel(self.ColorAdjPage)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.ColorAdjustIcon.sizePolicy().hasHeightForWidth())
        self.ColorAdjustIcon.setSizePolicy(sizePolicy)
        self.ColorAdjustIcon.setMinimumSize(QtCore.QSize(85, 90))
        self.ColorAdjustIcon.setMaximumSize(QtCore.QSize(85, 90))
        self.ColorAdjustIcon.setFrameShape(QtGui.QFrame.NoFrame)
        self.ColorAdjustIcon.setObjectName("ColorAdjustIcon")
        self.gridlayout6.addWidget(self.ColorAdjustIcon, 2, 1, 1, 1)
        spacerItem13 = QtGui.QSpacerItem(31, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout6.addItem(spacerItem13, 2, 2, 1, 1)
        self.hboxlayout2 = QtGui.QHBoxLayout()
        self.hboxlayout2.setObjectName("hboxlayout2")
        self.ColorAdjustLabel = QtGui.QLabel(self.ColorAdjPage)
        self.ColorAdjustLabel.setObjectName("ColorAdjustLabel")
        self.hboxlayout2.addWidget(self.ColorAdjustLabel)
        self.ColorAdjustComboBox = QtGui.QComboBox(self.ColorAdjPage)
        self.ColorAdjustComboBox.setObjectName("ColorAdjustComboBox")
        self.hboxlayout2.addWidget(self.ColorAdjustComboBox)
        self.gridlayout6.addLayout(self.hboxlayout2, 2, 3, 1, 1)
        spacerItem14 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout6.addItem(spacerItem14, 2, 4, 1, 1)
        spacerItem15 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout6.addItem(spacerItem15, 3, 1, 1, 1)
        self.StackedWidget.addWidget(self.ColorAdjPage)
        self.LBowPage = QtGui.QWidget()
        self.LBowPage.setObjectName("LBowPage")
        self.gridlayout7 = QtGui.QGridLayout(self.LBowPage)
        self.gridlayout7.setObjectName("gridlayout7")
        self.LBowTitle = QtGui.QLabel(self.LBowPage)
        self.LBowTitle.setWordWrap(True)
        self.LBowTitle.setObjectName("LBowTitle")
        self.gridlayout7.addWidget(self.LBowTitle, 0, 0, 1, 5)
        spacerItem16 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout7.addItem(spacerItem16, 1, 1, 1, 1)
        spacerItem17 = QtGui.QSpacerItem(41, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout7.addItem(spacerItem17, 2, 0, 1, 1)
        self.LBowIcon = QtGui.QLabel(self.LBowPage)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.LBowIcon.sizePolicy().hasHeightForWidth())
        self.LBowIcon.setSizePolicy(sizePolicy)
        self.LBowIcon.setMinimumSize(QtCore.QSize(192, 93))
        self.LBowIcon.setMaximumSize(QtCore.QSize(192, 93))
        self.LBowIcon.setFrameShape(QtGui.QFrame.NoFrame)
        self.LBowIcon.setObjectName("LBowIcon")
        self.gridlayout7.addWidget(self.LBowIcon, 2, 1, 1, 1)
        spacerItem18 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout7.addItem(spacerItem18, 2, 2, 1, 1)
        spacerItem19 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout7.addItem(spacerItem19, 2, 4, 1, 1)
        spacerItem20 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout7.addItem(spacerItem20, 3, 1, 1, 1)
        self.groupBox_2 = QtGui.QGroupBox(self.LBowPage)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridlayout8 = QtGui.QGridLayout(self.groupBox_2)
        self.gridlayout8.setObjectName("gridlayout8")
        self.hboxlayout3 = QtGui.QHBoxLayout()
        self.hboxlayout3.setObjectName("hboxlayout3")
        self.label_4 = QtGui.QLabel(self.groupBox_2)
        self.label_4.setObjectName("label_4")
        self.hboxlayout3.addWidget(self.label_4)
        self.aComboBox = QtGui.QComboBox(self.groupBox_2)
        self.aComboBox.setObjectName("aComboBox")
        self.hboxlayout3.addWidget(self.aComboBox)
        self.gridlayout8.addLayout(self.hboxlayout3, 0, 0, 1, 1)
        self.hboxlayout4 = QtGui.QHBoxLayout()
        self.hboxlayout4.setObjectName("hboxlayout4")
        self.label_5 = QtGui.QLabel(self.groupBox_2)
        self.label_5.setObjectName("label_5")
        self.hboxlayout4.addWidget(self.label_5)
        self.bComboBox = QtGui.QComboBox(self.groupBox_2)
        self.bComboBox.setObjectName("bComboBox")
        self.hboxlayout4.addWidget(self.bComboBox)
        self.gridlayout8.addLayout(self.hboxlayout4, 1, 0, 1, 1)
        self.hboxlayout5 = QtGui.QHBoxLayout()
        self.hboxlayout5.setObjectName("hboxlayout5")
        self.label_6 = QtGui.QLabel(self.groupBox_2)
        self.label_6.setObjectName("label_6")
        self.hboxlayout5.addWidget(self.label_6)
        self.cComboBox = QtGui.QComboBox(self.groupBox_2)
        self.cComboBox.setObjectName("cComboBox")
        self.hboxlayout5.addWidget(self.cComboBox)
        self.gridlayout8.addLayout(self.hboxlayout5, 2, 0, 1, 1)
        self.hboxlayout6 = QtGui.QHBoxLayout()
        self.hboxlayout6.setObjectName("hboxlayout6")
        self.label_7 = QtGui.QLabel(self.groupBox_2)
        self.label_7.setObjectName("label_7")
        self.hboxlayout6.addWidget(self.label_7)
        self.dComboBox = QtGui.QComboBox(self.groupBox_2)
        self.dComboBox.setObjectName("dComboBox")
        self.hboxlayout6.addWidget(self.dComboBox)
        self.gridlayout8.addLayout(self.hboxlayout6, 3, 0, 1, 1)
        self.hboxlayout7 = QtGui.QHBoxLayout()
        self.hboxlayout7.setObjectName("hboxlayout7")
        self.label_8 = QtGui.QLabel(self.groupBox_2)
        self.label_8.setObjectName("label_8")
        self.hboxlayout7.addWidget(self.label_8)
        self.eComboBox = QtGui.QComboBox(self.groupBox_2)
        self.eComboBox.setObjectName("eComboBox")
        self.hboxlayout7.addWidget(self.eComboBox)
        self.gridlayout8.addLayout(self.hboxlayout7, 4, 0, 1, 1)
        self.hboxlayout8 = QtGui.QHBoxLayout()
        self.hboxlayout8.setObjectName("hboxlayout8")
        self.label_9 = QtGui.QLabel(self.groupBox_2)
        self.label_9.setObjectName("label_9")
        self.hboxlayout8.addWidget(self.label_9)
        self.fComboBox = QtGui.QComboBox(self.groupBox_2)
        self.fComboBox.setObjectName("fComboBox")
        self.hboxlayout8.addWidget(self.fComboBox)
        self.gridlayout8.addLayout(self.hboxlayout8, 5, 0, 1, 1)
        self.hboxlayout9 = QtGui.QHBoxLayout()
        self.hboxlayout9.setObjectName("hboxlayout9")
        self.label_10 = QtGui.QLabel(self.groupBox_2)
        self.label_10.setObjectName("label_10")
        self.hboxlayout9.addWidget(self.label_10)
        self.gComboBox = QtGui.QComboBox(self.groupBox_2)
        self.gComboBox.setObjectName("gComboBox")
        self.hboxlayout9.addWidget(self.gComboBox)
        self.gridlayout8.addLayout(self.hboxlayout9, 6, 0, 1, 1)
        self.hboxlayout10 = QtGui.QHBoxLayout()
        self.hboxlayout10.setObjectName("hboxlayout10")
        self.label_11 = QtGui.QLabel(self.groupBox_2)
        self.label_11.setObjectName("label_11")
        self.hboxlayout10.addWidget(self.label_11)
        self.hComboBox = QtGui.QComboBox(self.groupBox_2)
        self.hComboBox.setObjectName("hComboBox")
        self.hboxlayout10.addWidget(self.hComboBox)
        self.gridlayout8.addLayout(self.hboxlayout10, 7, 0, 1, 1)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label_14 = QtGui.QLabel(self.groupBox_2)
        self.label_14.setObjectName("label_14")
        self.horizontalLayout.addWidget(self.label_14)
        self.iComboBox = QtGui.QComboBox(self.groupBox_2)
        self.iComboBox.setObjectName("iComboBox")
        self.horizontalLayout.addWidget(self.iComboBox)
        self.gridlayout8.addLayout(self.horizontalLayout, 8, 0, 1, 1)
        self.gridlayout7.addWidget(self.groupBox_2, 1, 3, 3, 1)
        self.StackedWidget.addWidget(self.LBowPage)
        self.AioPage = QtGui.QWidget()
        self.AioPage.setObjectName("AioPage")
        self.gridlayout9 = QtGui.QGridLayout(self.AioPage)
        self.gridlayout9.setObjectName("gridlayout9")
        spacerItem21 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout9.addItem(spacerItem21, 0, 1, 1, 1)
        spacerItem22 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout9.addItem(spacerItem22, 1, 0, 1, 1)
        self.AioIcon = QtGui.QLabel(self.AioPage)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.AioIcon.sizePolicy().hasHeightForWidth())
        self.AioIcon.setSizePolicy(sizePolicy)
        self.AioIcon.setMinimumSize(QtCore.QSize(92, 120))
        self.AioIcon.setMaximumSize(QtCore.QSize(92, 120))
        self.AioIcon.setFrameShape(QtGui.QFrame.NoFrame)
        self.AioIcon.setObjectName("AioIcon")
        self.gridlayout9.addWidget(self.AioIcon, 1, 1, 1, 1)
        spacerItem23 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout9.addItem(spacerItem23, 1, 2, 1, 1)
        self.label_3 = QtGui.QLabel(self.AioPage)
        self.label_3.setWordWrap(True)
        self.label_3.setObjectName("label_3")
        self.gridlayout9.addWidget(self.label_3, 1, 3, 1, 1)
        spacerItem24 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout9.addItem(spacerItem24, 2, 1, 1, 1)
        self.StackedWidget.addWidget(self.AioPage)
        self.FrontPanelPage = QtGui.QWidget()
        self.FrontPanelPage.setObjectName("FrontPanelPage")
        self.gridlayout10 = QtGui.QGridLayout(self.FrontPanelPage)
        self.gridlayout10.setObjectName("gridlayout10")
        self.label_13 = QtGui.QLabel(self.FrontPanelPage)
        self.label_13.setTextFormat(QtCore.Qt.RichText)
        self.label_13.setWordWrap(True)
        self.label_13.setObjectName("label_13")
        self.gridlayout10.addWidget(self.label_13, 0, 0, 1, 1)
        spacerItem25 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout10.addItem(spacerItem25, 1, 0, 1, 1)
        self.StackedWidget.addWidget(self.FrontPanelPage)
        self.gridlayout.addWidget(self.StackedWidget, 2, 0, 1, 5)

        self.retranslateUi(Dialog)
        self.StackedWidget.setCurrentIndex(5)
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "HP Device Manager - Align Print Cartridges", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("Dialog", "Align Print Cartridges", None, QtGui.QApplication.UnicodeUTF8))
        self.StepText.setText(QtGui.QApplication.translate("Dialog", "Step %1 of %2", None, QtGui.QApplication.UnicodeUTF8))
        self.NextButton.setText(QtGui.QApplication.translate("Dialog", "Next >", None, QtGui.QApplication.UnicodeUTF8))
        self.CancelButton.setText(QtGui.QApplication.translate("Dialog", "Cancel", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("Dialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Select the device to align and click <span style=\" font-style:italic;\">Next &gt;</span> to continue.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.label_12.setText(QtGui.QApplication.translate("Dialog", "Choose the numbered colored box that the color <b>best </b>matches the background color of the bar.", None, QtGui.QApplication.UnicodeUTF8))
        self.ColorAdjustLabel.setText(QtGui.QApplication.translate("Dialog", "Line %1:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("Dialog", "Row A:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("Dialog", "Row B:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("Dialog", "Row C:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("Dialog", "Row D:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setText(QtGui.QApplication.translate("Dialog", "Row E:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_9.setText(QtGui.QApplication.translate("Dialog", "Row F:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_10.setText(QtGui.QApplication.translate("Dialog", "Row G:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_11.setText(QtGui.QApplication.translate("Dialog", "Row H:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_14.setText(QtGui.QApplication.translate("Dialog", "Row I:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("Dialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Follow these steps to complete the alignment:</span> </p>\n"
"<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">1.</span> Place the alignment page, with the printed side facing down, on the scanner. </p>\n"
"<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">2.</span> Press the <span style=\" font-style:italic;\">Enter</span> or <span style=\" font-style:italic;\">Scan</span> button on the printer. </p>\n"
"<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">3.</span> \"Alignment Complete\" will be displayed when the process is finished (on some models with a front panel display) or the green light that was blinking during the process will stop blinking and remain green (on some models without a front panel display).</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.label_13.setText(QtGui.QApplication.translate("Dialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Cartridge alignment on this printer is only available by accessing the front panel of the printer. </span>Please refer to the user guide for the printer for more information. Click <span style=\" font-style:italic;\">Finish</span> to exit.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
Beispiel #13
0
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(700, 500)
        self.gridlayout = QtGui.QGridLayout(Dialog)
        self.gridlayout.setObjectName("gridlayout")
        self.label = QtGui.QLabel(Dialog)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label, 0, 0, 1, 1)
        self.line = QtGui.QFrame(Dialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridlayout.addWidget(self.line, 1, 0, 1, 3)
        self.DeviceComboBox = DeviceUriComboBox(Dialog)
        self.DeviceComboBox.setObjectName("DeviceComboBox")
        self.gridlayout.addWidget(self.DeviceComboBox, 2, 0, 1, 3)
        self.TabWidget = QtGui.QTabWidget(Dialog)
        self.TabWidget.setObjectName("TabWidget")
        self.PowerSettingsTab = QtGui.QWidget()
        self.PowerSettingsTab.setObjectName("PowerSettingsTab")
        self.gridlayout1 = QtGui.QGridLayout(self.PowerSettingsTab)
        self.gridlayout1.setObjectName("gridlayout1")
        self.groupBox = QtGui.QGroupBox(self.PowerSettingsTab)
        self.groupBox.setObjectName("groupBox")
        self.gridlayout2 = QtGui.QGridLayout(self.groupBox)
        self.gridlayout2.setObjectName("gridlayout2")
        self.OnRadioButton = QtGui.QRadioButton(self.groupBox)
        self.OnRadioButton.setObjectName("OnRadioButton")
        self.gridlayout2.addWidget(self.OnRadioButton, 0, 0, 1, 2)
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName("hboxlayout")
        self.OffRadioButton = QtGui.QRadioButton(self.groupBox)
        self.OffRadioButton.setEnabled(True)
        self.OffRadioButton.setObjectName("OffRadioButton")
        self.hboxlayout.addWidget(self.OffRadioButton)
        self.DurationComboBox = QtGui.QComboBox(self.groupBox)
        self.DurationComboBox.setEnabled(False)
        self.DurationComboBox.setObjectName("DurationComboBox")
        self.hboxlayout.addWidget(self.DurationComboBox)
        self.gridlayout2.addLayout(self.hboxlayout, 1, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridlayout2.addItem(spacerItem, 1, 1, 1, 1)
        self.gridlayout1.addWidget(self.groupBox, 0, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(282, 51, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridlayout1.addItem(spacerItem1, 1, 0, 1, 1)
        self.TabWidget.addTab(self.PowerSettingsTab, "")
        self.gridlayout.addWidget(self.TabWidget, 3, 0, 1, 3)
        spacerItem2 = QtGui.QSpacerItem(510, 20, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Preferred)
        self.gridlayout.addItem(spacerItem2, 4, 0, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(361, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem3, 5, 0, 1, 1)
        self.CancelButton = QtGui.QPushButton(Dialog)
        self.CancelButton.setObjectName("CancelButton")
        self.gridlayout.addWidget(self.CancelButton, 5, 2, 1, 1)

        self.retranslateUi(Dialog)
        self.TabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.OffRadioButton,
                               QtCore.SIGNAL("toggled(bool)"),
                               self.DurationComboBox.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
Beispiel #14
0
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(700, 500)
        self.gridlayout = QtGui.QGridLayout(Dialog)
        self.gridlayout.setObjectName("gridlayout")
        self.label = QtGui.QLabel(Dialog)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label, 0, 0, 1, 1)
        self.line = QtGui.QFrame(Dialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridlayout.addWidget(self.line, 1, 0, 1, 3)
        self.DeviceComboBox = DeviceUriComboBox(Dialog)
        self.DeviceComboBox.setObjectName("DeviceComboBox")
        self.gridlayout.addWidget(self.DeviceComboBox, 2, 0, 1, 3)
        self.TabWidget = QtGui.QTabWidget(Dialog)
        self.TabWidget.setObjectName("TabWidget")
        self.PowerSettingsTab = QtGui.QWidget()
        self.PowerSettingsTab.setObjectName("PowerSettingsTab")
        self.gridlayout1 = QtGui.QGridLayout(self.PowerSettingsTab)
        self.gridlayout1.setObjectName("gridlayout1")
        self.groupBox = QtGui.QGroupBox(self.PowerSettingsTab)
        self.groupBox.setObjectName("groupBox")
        self.gridlayout2 = QtGui.QGridLayout(self.groupBox)
        self.gridlayout2.setObjectName("gridlayout2")
        self.OnRadioButton = QtGui.QRadioButton(self.groupBox)
        self.OnRadioButton.setObjectName("OnRadioButton")
        self.gridlayout2.addWidget(self.OnRadioButton, 0, 0, 1, 2)
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName("hboxlayout")
        self.OffRadioButton = QtGui.QRadioButton(self.groupBox)
        self.OffRadioButton.setEnabled(True)
        self.OffRadioButton.setObjectName("OffRadioButton")
        self.hboxlayout.addWidget(self.OffRadioButton)
        self.DurationComboBox = QtGui.QComboBox(self.groupBox)
        self.DurationComboBox.setEnabled(False)
        self.DurationComboBox.setObjectName("DurationComboBox")
        self.hboxlayout.addWidget(self.DurationComboBox)
        self.gridlayout2.addLayout(self.hboxlayout, 1, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Minimum)
        self.gridlayout2.addItem(spacerItem, 1, 1, 1, 1)
        self.gridlayout1.addWidget(self.groupBox, 0, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(282, 51, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridlayout1.addItem(spacerItem1, 1, 0, 1, 1)
        self.TabWidget.addTab(self.PowerSettingsTab, "")
        self.gridlayout.addWidget(self.TabWidget, 3, 0, 1, 3)
        spacerItem2 = QtGui.QSpacerItem(510, 20, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Preferred)
        self.gridlayout.addItem(spacerItem2, 4, 0, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(361, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem3, 5, 0, 1, 1)
        self.CancelButton = QtGui.QPushButton(Dialog)
        self.CancelButton.setObjectName("CancelButton")
        self.gridlayout.addWidget(self.CancelButton, 5, 2, 1, 1)

        self.retranslateUi(Dialog)
        self.TabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.OffRadioButton,
                               QtCore.SIGNAL("toggled(bool)"),
                               self.DurationComboBox.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(
            QtGui.QApplication.translate("Dialog",
                                         "HP Device Manager - Device Setup",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(
            QtGui.QApplication.translate("Dialog", "Device Setup", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(
            QtGui.QApplication.translate("Dialog", "Automatic Power Off", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.OnRadioButton.setText(
            QtGui.QApplication.translate("Dialog", "Always leave printer on",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.OffRadioButton.setText(
            QtGui.QApplication.translate(
                "Dialog", "Automatically turn printer off after:", None,
                QtGui.QApplication.UnicodeUTF8))
        self.TabWidget.setTabText(
            self.TabWidget.indexOf(self.PowerSettingsTab),
            QtGui.QApplication.translate("Dialog", "Power Settings", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.CancelButton.setText(
            QtGui.QApplication.translate("Dialog", "Close", None,
                                         QtGui.QApplication.UnicodeUTF8))
Beispiel #15
0
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(700, 500)
        self.gridlayout = QtGui.QGridLayout(Dialog)
        self.gridlayout.setObjectName("gridlayout")
        self.label = QtGui.QLabel(Dialog)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label, 0, 0, 1, 3)
        self.line = QtGui.QFrame(Dialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridlayout.addWidget(self.line, 1, 0, 1, 5)
        self.StackedWidget = QtGui.QStackedWidget(Dialog)
        self.StackedWidget.setFrameShape(QtGui.QFrame.NoFrame)
        self.StackedWidget.setObjectName("StackedWidget")
        self.StartPage = QtGui.QWidget()
        self.StartPage.setObjectName("StartPage")
        self.gridlayout1 = QtGui.QGridLayout(self.StartPage)
        self.gridlayout1.setObjectName("gridlayout1")
        self.DeviceComboBox = DeviceUriComboBox(self.StartPage)
        self.DeviceComboBox.setObjectName("DeviceComboBox")
        self.gridlayout1.addWidget(self.DeviceComboBox, 0, 0, 1, 1)
        self.groupBox = QtGui.QGroupBox(self.StartPage)
        self.groupBox.setObjectName("groupBox")
        self.gridlayout2 = QtGui.QGridLayout(self.groupBox)
        self.gridlayout2.setObjectName("gridlayout2")
        self.label_2 = QtGui.QLabel(self.groupBox)
        self.label_2.setObjectName("label_2")
        self.gridlayout2.addWidget(self.label_2, 0, 0, 1, 1)
        self.gridlayout1.addWidget(self.groupBox, 1, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridlayout1.addItem(spacerItem, 2, 0, 1, 1)
        self.StackedWidget.addWidget(self.StartPage)
        self.LoadPaperPage = QtGui.QWidget()
        self.LoadPaperPage.setObjectName("LoadPaperPage")
        self.gridlayout3 = QtGui.QGridLayout(self.LoadPaperPage)
        self.gridlayout3.setObjectName("gridlayout3")
        self.LoadPaper = LoadPaperGroupBox(self.LoadPaperPage)
        self.LoadPaper.setObjectName("LoadPaper")
        self.gridlayout3.addWidget(self.LoadPaper, 0, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 181, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridlayout3.addItem(spacerItem1, 1, 0, 1, 1)
        self.StackedWidget.addWidget(self.LoadPaperPage)
        self.Deskjet450Page = QtGui.QWidget()
        self.Deskjet450Page.setObjectName("Deskjet450Page")
        self.gridlayout4 = QtGui.QGridLayout(self.Deskjet450Page)
        self.gridlayout4.setObjectName("gridlayout4")
        self.label_3 = QtGui.QLabel(self.Deskjet450Page)
        self.label_3.setWordWrap(True)
        self.label_3.setObjectName("label_3")
        self.gridlayout4.addWidget(self.label_3, 0, 0, 1, 3)
        spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridlayout4.addItem(spacerItem2, 1, 1, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(111, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout4.addItem(spacerItem3, 2, 0, 1, 1)
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName("hboxlayout")
        self.label_4 = QtGui.QLabel(self.Deskjet450Page)
        self.label_4.setObjectName("label_4")
        self.hboxlayout.addWidget(self.label_4)
        self.Deskjet450ComboBox = QtGui.QComboBox(self.Deskjet450Page)
        self.Deskjet450ComboBox.setObjectName("Deskjet450ComboBox")
        self.Deskjet450ComboBox.addItem(QtCore.QString())
        self.Deskjet450ComboBox.addItem(QtCore.QString())
        self.Deskjet450ComboBox.addItem(QtCore.QString())
        self.Deskjet450ComboBox.addItem(QtCore.QString())
        self.Deskjet450ComboBox.addItem(QtCore.QString())
        self.Deskjet450ComboBox.addItem(QtCore.QString())
        self.Deskjet450ComboBox.addItem(QtCore.QString())
        self.hboxlayout.addWidget(self.Deskjet450ComboBox)
        self.gridlayout4.addLayout(self.hboxlayout, 2, 1, 1, 1)
        spacerItem4 = QtGui.QSpacerItem(221, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout4.addItem(spacerItem4, 2, 2, 1, 1)
        spacerItem5 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridlayout4.addItem(spacerItem5, 3, 1, 1, 1)
        self.StackedWidget.addWidget(self.Deskjet450Page)
        self.CrickPage = QtGui.QWidget()
        self.CrickPage.setObjectName("CrickPage")
        self.gridlayout5 = QtGui.QGridLayout(self.CrickPage)
        self.gridlayout5.setObjectName("gridlayout5")
        self.label_5 = QtGui.QLabel(self.CrickPage)
        self.label_5.setWordWrap(True)
        self.label_5.setObjectName("label_5")
        self.gridlayout5.addWidget(self.label_5, 0, 0, 1, 3)
        spacerItem6 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridlayout5.addItem(spacerItem6, 1, 1, 1, 1)
        spacerItem7 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout5.addItem(spacerItem7, 2, 0, 1, 1)
        self.hboxlayout1 = QtGui.QHBoxLayout()
        self.hboxlayout1.setObjectName("hboxlayout1")
        self.label_6 = QtGui.QLabel(self.CrickPage)
        self.label_6.setObjectName("label_6")
        self.hboxlayout1.addWidget(self.label_6)
        self.CrickSpinBox = QtGui.QSpinBox(self.CrickPage)
        self.CrickSpinBox.setMinimum(1)
        self.CrickSpinBox.setMaximum(81)
        self.CrickSpinBox.setProperty("value", QtCore.QVariant(41))
        self.CrickSpinBox.setObjectName("CrickSpinBox")
        self.hboxlayout1.addWidget(self.CrickSpinBox)
        self.gridlayout5.addLayout(self.hboxlayout1, 2, 1, 1, 1)
        spacerItem8 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout5.addItem(spacerItem8, 2, 2, 1, 1)
        spacerItem9 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridlayout5.addItem(spacerItem9, 3, 1, 1, 1)
        self.StackedWidget.addWidget(self.CrickPage)
        self.LBowPage = QtGui.QWidget()
        self.LBowPage.setObjectName("LBowPage")
        self.gridlayout6 = QtGui.QGridLayout(self.LBowPage)
        self.gridlayout6.setObjectName("gridlayout6")
        self.label_12 = QtGui.QLabel(self.LBowPage)
        self.label_12.setWordWrap(True)
        self.label_12.setObjectName("label_12")
        self.gridlayout6.addWidget(self.label_12, 0, 0, 1, 5)
        spacerItem10 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                         QtGui.QSizePolicy.Expanding)
        self.gridlayout6.addItem(spacerItem10, 1, 1, 1, 1)
        spacerItem11 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                         QtGui.QSizePolicy.Minimum)
        self.gridlayout6.addItem(spacerItem11, 2, 0, 1, 1)
        self.LBowIcon = QtGui.QLabel(self.LBowPage)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.LBowIcon.sizePolicy().hasHeightForWidth())
        self.LBowIcon.setSizePolicy(sizePolicy)
        self.LBowIcon.setMinimumSize(QtCore.QSize(85, 90))
        self.LBowIcon.setMaximumSize(QtCore.QSize(85, 90))
        self.LBowIcon.setFrameShape(QtGui.QFrame.NoFrame)
        self.LBowIcon.setObjectName("LBowIcon")
        self.gridlayout6.addWidget(self.LBowIcon, 2, 1, 1, 1)
        spacerItem12 = QtGui.QSpacerItem(31, 20, QtGui.QSizePolicy.Expanding,
                                         QtGui.QSizePolicy.Minimum)
        self.gridlayout6.addItem(spacerItem12, 2, 2, 1, 1)
        self.hboxlayout2 = QtGui.QHBoxLayout()
        self.hboxlayout2.setObjectName("hboxlayout2")
        self.LBowLabel = QtGui.QLabel(self.LBowPage)
        self.LBowLabel.setObjectName("LBowLabel")
        self.hboxlayout2.addWidget(self.LBowLabel)
        self.LBowComboBox = QtGui.QComboBox(self.LBowPage)
        self.LBowComboBox.setObjectName("LBowComboBox")
        self.hboxlayout2.addWidget(self.LBowComboBox)
        self.gridlayout6.addLayout(self.hboxlayout2, 2, 3, 1, 1)
        spacerItem13 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                         QtGui.QSizePolicy.Minimum)
        self.gridlayout6.addItem(spacerItem13, 2, 4, 1, 1)
        spacerItem14 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                         QtGui.QSizePolicy.Expanding)
        self.gridlayout6.addItem(spacerItem14, 3, 1, 1, 1)
        self.StackedWidget.addWidget(self.LBowPage)
        self.ConneryPage = QtGui.QWidget()
        self.ConneryPage.setObjectName("ConneryPage")
        self.gridlayout7 = QtGui.QGridLayout(self.ConneryPage)
        self.gridlayout7.setObjectName("gridlayout7")
        self.label_7 = QtGui.QLabel(self.ConneryPage)
        self.label_7.setWordWrap(True)
        self.label_7.setObjectName("label_7")
        self.gridlayout7.addWidget(self.label_7, 0, 0, 1, 5)
        spacerItem15 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                         QtGui.QSizePolicy.Expanding)
        self.gridlayout7.addItem(spacerItem15, 1, 2, 1, 1)
        spacerItem16 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                         QtGui.QSizePolicy.Minimum)
        self.gridlayout7.addItem(spacerItem16, 2, 0, 1, 1)
        self.hboxlayout3 = QtGui.QHBoxLayout()
        self.hboxlayout3.setObjectName("hboxlayout3")
        self.groupBox_2 = QtGui.QGroupBox(self.ConneryPage)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridlayout8 = QtGui.QGridLayout(self.groupBox_2)
        self.gridlayout8.setObjectName("gridlayout8")
        spacerItem17 = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding,
                                         QtGui.QSizePolicy.Minimum)
        self.gridlayout8.addItem(spacerItem17, 0, 0, 1, 1)
        self.ConneryGrayPatchIcon = QtGui.QLabel(self.groupBox_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.ConneryGrayPatchIcon.sizePolicy().hasHeightForWidth())
        self.ConneryGrayPatchIcon.setSizePolicy(sizePolicy)
        self.ConneryGrayPatchIcon.setMinimumSize(QtCore.QSize(75, 75))
        self.ConneryGrayPatchIcon.setMaximumSize(QtCore.QSize(75, 75))
        self.ConneryGrayPatchIcon.setFrameShape(QtGui.QFrame.NoFrame)
        self.ConneryGrayPatchIcon.setObjectName("ConneryGrayPatchIcon")
        self.gridlayout8.addWidget(self.ConneryGrayPatchIcon, 0, 1, 1, 2)
        spacerItem18 = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding,
                                         QtGui.QSizePolicy.Minimum)
        self.gridlayout8.addItem(spacerItem18, 0, 3, 1, 1)
        self.ConneryGrayLetterComboBox = QtGui.QComboBox(self.groupBox_2)
        self.ConneryGrayLetterComboBox.setObjectName(
            "ConneryGrayLetterComboBox")
        self.gridlayout8.addWidget(self.ConneryGrayLetterComboBox, 1, 0, 1, 2)
        self.ConneryGrayNumberComboBox = QtGui.QComboBox(self.groupBox_2)
        self.ConneryGrayNumberComboBox.setObjectName(
            "ConneryGrayNumberComboBox")
        self.gridlayout8.addWidget(self.ConneryGrayNumberComboBox, 1, 2, 1, 2)
        self.hboxlayout3.addWidget(self.groupBox_2)
        self.groupBox_3 = QtGui.QGroupBox(self.ConneryPage)
        self.groupBox_3.setObjectName("groupBox_3")
        self.gridlayout9 = QtGui.QGridLayout(self.groupBox_3)
        self.gridlayout9.setObjectName("gridlayout9")
        spacerItem19 = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding,
                                         QtGui.QSizePolicy.Minimum)
        self.gridlayout9.addItem(spacerItem19, 0, 0, 1, 1)
        self.ConneryColorPatchIcon = QtGui.QLabel(self.groupBox_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.ConneryColorPatchIcon.sizePolicy().hasHeightForWidth())
        self.ConneryColorPatchIcon.setSizePolicy(sizePolicy)
        self.ConneryColorPatchIcon.setMinimumSize(QtCore.QSize(75, 75))
        self.ConneryColorPatchIcon.setMaximumSize(QtCore.QSize(75, 75))
        self.ConneryColorPatchIcon.setFrameShape(QtGui.QFrame.NoFrame)
        self.ConneryColorPatchIcon.setObjectName("ConneryColorPatchIcon")
        self.gridlayout9.addWidget(self.ConneryColorPatchIcon, 0, 1, 1, 2)
        spacerItem20 = QtGui.QSpacerItem(31, 75, QtGui.QSizePolicy.Expanding,
                                         QtGui.QSizePolicy.Minimum)
        self.gridlayout9.addItem(spacerItem20, 0, 3, 1, 1)
        self.ConneryColorLetterComboBox = QtGui.QComboBox(self.groupBox_3)
        self.ConneryColorLetterComboBox.setObjectName(
            "ConneryColorLetterComboBox")
        self.gridlayout9.addWidget(self.ConneryColorLetterComboBox, 1, 0, 1, 2)
        self.ConneryColorNumberComboBox = QtGui.QComboBox(self.groupBox_3)
        self.ConneryColorNumberComboBox.setObjectName(
            "ConneryColorNumberComboBox")
        self.gridlayout9.addWidget(self.ConneryColorNumberComboBox, 1, 2, 1, 2)
        self.hboxlayout3.addWidget(self.groupBox_3)
        self.gridlayout7.addLayout(self.hboxlayout3, 2, 1, 1, 3)
        spacerItem21 = QtGui.QSpacerItem(81, 20, QtGui.QSizePolicy.Expanding,
                                         QtGui.QSizePolicy.Minimum)
        self.gridlayout7.addItem(spacerItem21, 2, 4, 1, 1)
        spacerItem22 = QtGui.QSpacerItem(20, 21, QtGui.QSizePolicy.Minimum,
                                         QtGui.QSizePolicy.Expanding)
        self.gridlayout7.addItem(spacerItem22, 3, 1, 1, 1)
        spacerItem23 = QtGui.QSpacerItem(20, 51, QtGui.QSizePolicy.Minimum,
                                         QtGui.QSizePolicy.Expanding)
        self.gridlayout7.addItem(spacerItem23, 3, 3, 2, 1)
        self.ConneryUseFactoryDefaultsCheckBox = QtGui.QCheckBox(
            self.ConneryPage)
        self.ConneryUseFactoryDefaultsCheckBox.setObjectName(
            "ConneryUseFactoryDefaultsCheckBox")
        self.gridlayout7.addWidget(self.ConneryUseFactoryDefaultsCheckBox, 4,
                                   0, 1, 2)
        self.StackedWidget.addWidget(self.ConneryPage)
        self.FrontPanelPage = QtGui.QWidget()
        self.FrontPanelPage.setObjectName("FrontPanelPage")
        self.gridlayout10 = QtGui.QGridLayout(self.FrontPanelPage)
        self.gridlayout10.setObjectName("gridlayout10")
        self.label_8 = QtGui.QLabel(self.FrontPanelPage)
        self.label_8.setWordWrap(True)
        self.label_8.setObjectName("label_8")
        self.gridlayout10.addWidget(self.label_8, 0, 0, 1, 1)
        spacerItem24 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                         QtGui.QSizePolicy.Expanding)
        self.gridlayout10.addItem(spacerItem24, 1, 0, 1, 1)
        self.StackedWidget.addWidget(self.FrontPanelPage)
        self.gridlayout.addWidget(self.StackedWidget, 2, 0, 1, 6)
        self.line_2 = QtGui.QFrame(Dialog)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.gridlayout.addWidget(self.line_2, 3, 0, 1, 5)
        self.StepText = QtGui.QLabel(Dialog)
        self.StepText.setObjectName("StepText")
        self.gridlayout.addWidget(self.StepText, 4, 0, 1, 1)
        spacerItem25 = QtGui.QSpacerItem(141, 28, QtGui.QSizePolicy.Expanding,
                                         QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem25, 4, 1, 1, 1)
        self.BackButton = QtGui.QPushButton(Dialog)
        self.BackButton.setObjectName("BackButton")
        self.gridlayout.addWidget(self.BackButton, 4, 2, 1, 1)
        self.NextButton = QtGui.QPushButton(Dialog)
        self.NextButton.setObjectName("NextButton")
        self.gridlayout.addWidget(self.NextButton, 4, 3, 1, 1)
        self.CancelButton = QtGui.QPushButton(Dialog)
        self.CancelButton.setObjectName("CancelButton")
        self.gridlayout.addWidget(self.CancelButton, 4, 4, 1, 1)

        self.retranslateUi(Dialog)
        self.StackedWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.ConneryUseFactoryDefaultsCheckBox,
                               QtCore.SIGNAL("clicked(bool)"),
                               self.groupBox_2.setDisabled)
        QtCore.QObject.connect(self.ConneryUseFactoryDefaultsCheckBox,
                               QtCore.SIGNAL("clicked(bool)"),
                               self.groupBox_3.setDisabled)
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(
            QtGui.QApplication.translate(
                "Dialog", "HP Device Manager - Printer Color Calibration",
                None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(
            QtGui.QApplication.translate("Dialog", "Printer Color Calibration",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(
            QtGui.QApplication.translate(
                "Dialog",
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Select the device to align and click <span style=\" font-style:italic;\">Next &gt;</span> to continue.</p></body></html>",
                None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(
            QtGui.QApplication.translate(
                "Dialog",
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Choose the numbered image labeled \"1\" thru \"7\" that is <span style=\" font-weight:600;\">best color matched</span> to the image labeled \"X\".</p></body></html>",
                None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(
            QtGui.QApplication.translate("Dialog", "Best Matched Image:", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.Deskjet450ComboBox.setItemText(
            0,
            QtGui.QApplication.translate("Dialog", "1", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.Deskjet450ComboBox.setItemText(
            1,
            QtGui.QApplication.translate("Dialog", "2", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.Deskjet450ComboBox.setItemText(
            2,
            QtGui.QApplication.translate("Dialog", "3", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.Deskjet450ComboBox.setItemText(
            3,
            QtGui.QApplication.translate("Dialog", "4", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.Deskjet450ComboBox.setItemText(
            4,
            QtGui.QApplication.translate("Dialog", "5", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.Deskjet450ComboBox.setItemText(
            5,
            QtGui.QApplication.translate("Dialog", "6", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.Deskjet450ComboBox.setItemText(
            6,
            QtGui.QApplication.translate("Dialog", "7", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(
            QtGui.QApplication.translate(
                "Dialog",
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">A page of color patches is printing.  When it is complete, follow these steps:</span> </p>\n"
                "<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">1.</span> Hold the page approximately 8 inches (~20cm) in front of your eyes. </p>\n"
                "<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">2.</span> Slowly move the page away from you until the numbered patches fade to match the background. </p>\n"
                "<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">3.</span> Select the number (below) between <span style=\" font-style:italic;\">1</span> and <span style=\" font-style:italic;\">81 </span>of the numbered patch that <span style=\" font-weight:600;\">best </span>matches the background:</p></body></html>",
                None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(
            QtGui.QApplication.translate(
                "Dialog", "Number of <b>best</b> matching patch (1-81):", None,
                QtGui.QApplication.UnicodeUTF8))
        self.label_12.setText(
            QtGui.QApplication.translate(
                "Dialog",
                "Choose the numbered colored box that the color <b>best </b>matches the background color of the bar.",
                None, QtGui.QApplication.UnicodeUTF8))
        self.LBowLabel.setText(
            QtGui.QApplication.translate("Dialog", "Line %1:", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(
            QtGui.QApplication.translate(
                "Dialog",
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">1. Hold the calibration page at arm\'s length in front of your eyes.</p>\n"
                "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p>\n"
                "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">2. Tilt the page away from you. Look at the two large squares, each containing colored patches. For each large square, find the colored path that <span style=\" font-weight:600;\">most closely</span> matches the background color.</p>\n"
                "<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p>\n"
                "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">3. Choose the letter and number for the matching patches for the gray and color plots.</p></body></html>",
                None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox_2.setTitle(
            QtGui.QApplication.translate("Dialog", "Gray Plot", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.groupBox_3.setTitle(
            QtGui.QApplication.translate("Dialog", "Color Plot", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.ConneryUseFactoryDefaultsCheckBox.setText(
            QtGui.QApplication.translate("Dialog", "Use Factory Defaults",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.label_8.setText(
            QtGui.QApplication.translate(
                "Dialog",
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Cartridge alignment on this printer is only available by accessing the front panel of the printer.</span> Please refer to the user guide for the printer for more information. Click <span style=\" font-style:italic;\">Finish</span> to exit.</p></body></html>",
                None, QtGui.QApplication.UnicodeUTF8))
        self.StepText.setText(
            QtGui.QApplication.translate("Dialog", "Step %1 of %2", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.BackButton.setText(
            QtGui.QApplication.translate("Dialog", "< Back", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.NextButton.setText(
            QtGui.QApplication.translate("Dialog", "Next >", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.CancelButton.setText(
            QtGui.QApplication.translate("Dialog", "Cancel", None,
                                         QtGui.QApplication.UnicodeUTF8))
Beispiel #16
0
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(700, 500)
        self.gridlayout = QtGui.QGridLayout(Dialog)
        self.gridlayout.setObjectName("gridlayout")
        self.label = QtGui.QLabel(Dialog)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label, 0, 0, 1, 3)
        self.line = QtGui.QFrame(Dialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridlayout.addWidget(self.line, 1, 0, 1, 5)
        self.StackedWidget = QtGui.QStackedWidget(Dialog)
        self.StackedWidget.setFrameShape(QtGui.QFrame.NoFrame)
        self.StackedWidget.setObjectName("StackedWidget")
        self.StartPage = QtGui.QWidget()
        self.StartPage.setObjectName("StartPage")
        self.gridlayout1 = QtGui.QGridLayout(self.StartPage)
        self.gridlayout1.setObjectName("gridlayout1")
        self.DeviceComboBox = DeviceUriComboBox(self.StartPage)
        self.DeviceComboBox.setObjectName("DeviceComboBox")
        self.gridlayout1.addWidget(self.DeviceComboBox, 0, 0, 1, 1)
        self.groupBox = QtGui.QGroupBox(self.StartPage)
        self.groupBox.setObjectName("groupBox")
        self.gridlayout2 = QtGui.QGridLayout(self.groupBox)
        self.gridlayout2.setObjectName("gridlayout2")
        self.label_2 = QtGui.QLabel(self.groupBox)
        self.label_2.setObjectName("label_2")
        self.gridlayout2.addWidget(self.label_2, 0, 0, 1, 1)
        self.gridlayout1.addWidget(self.groupBox, 1, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridlayout1.addItem(spacerItem, 2, 0, 1, 1)
        self.StackedWidget.addWidget(self.StartPage)
        self.LoadPaperPage = QtGui.QWidget()
        self.LoadPaperPage.setObjectName("LoadPaperPage")
        self.gridlayout3 = QtGui.QGridLayout(self.LoadPaperPage)
        self.gridlayout3.setObjectName("gridlayout3")
        self.LoadPaper = LoadPaperGroupBox(self.LoadPaperPage)
        self.LoadPaper.setObjectName("LoadPaper")
        self.gridlayout3.addWidget(self.LoadPaper, 0, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 181, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridlayout3.addItem(spacerItem1, 1, 0, 1, 1)
        self.StackedWidget.addWidget(self.LoadPaperPage)
        self.Deskjet450Page = QtGui.QWidget()
        self.Deskjet450Page.setObjectName("Deskjet450Page")
        self.gridlayout4 = QtGui.QGridLayout(self.Deskjet450Page)
        self.gridlayout4.setObjectName("gridlayout4")
        self.label_3 = QtGui.QLabel(self.Deskjet450Page)
        self.label_3.setWordWrap(True)
        self.label_3.setObjectName("label_3")
        self.gridlayout4.addWidget(self.label_3, 0, 0, 1, 3)
        spacerItem2 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridlayout4.addItem(spacerItem2, 1, 1, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(111, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout4.addItem(spacerItem3, 2, 0, 1, 1)
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName("hboxlayout")
        self.label_4 = QtGui.QLabel(self.Deskjet450Page)
        self.label_4.setObjectName("label_4")
        self.hboxlayout.addWidget(self.label_4)
        self.Deskjet450ComboBox = QtGui.QComboBox(self.Deskjet450Page)
        self.Deskjet450ComboBox.setObjectName("Deskjet450ComboBox")
        self.Deskjet450ComboBox.addItem(QtCore.QString())
        self.Deskjet450ComboBox.addItem(QtCore.QString())
        self.Deskjet450ComboBox.addItem(QtCore.QString())
        self.Deskjet450ComboBox.addItem(QtCore.QString())
        self.Deskjet450ComboBox.addItem(QtCore.QString())
        self.Deskjet450ComboBox.addItem(QtCore.QString())
        self.Deskjet450ComboBox.addItem(QtCore.QString())
        self.hboxlayout.addWidget(self.Deskjet450ComboBox)
        self.gridlayout4.addLayout(self.hboxlayout, 2, 1, 1, 1)
        spacerItem4 = QtGui.QSpacerItem(221, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout4.addItem(spacerItem4, 2, 2, 1, 1)
        spacerItem5 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridlayout4.addItem(spacerItem5, 3, 1, 1, 1)
        self.StackedWidget.addWidget(self.Deskjet450Page)
        self.CrickPage = QtGui.QWidget()
        self.CrickPage.setObjectName("CrickPage")
        self.gridlayout5 = QtGui.QGridLayout(self.CrickPage)
        self.gridlayout5.setObjectName("gridlayout5")
        self.label_5 = QtGui.QLabel(self.CrickPage)
        self.label_5.setWordWrap(True)
        self.label_5.setObjectName("label_5")
        self.gridlayout5.addWidget(self.label_5, 0, 0, 1, 3)
        spacerItem6 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridlayout5.addItem(spacerItem6, 1, 1, 1, 1)
        spacerItem7 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout5.addItem(spacerItem7, 2, 0, 1, 1)
        self.hboxlayout1 = QtGui.QHBoxLayout()
        self.hboxlayout1.setObjectName("hboxlayout1")
        self.label_6 = QtGui.QLabel(self.CrickPage)
        self.label_6.setObjectName("label_6")
        self.hboxlayout1.addWidget(self.label_6)
        self.CrickSpinBox = QtGui.QSpinBox(self.CrickPage)
        self.CrickSpinBox.setMinimum(1)
        self.CrickSpinBox.setMaximum(81)
        self.CrickSpinBox.setProperty("value", QtCore.QVariant(41))
        self.CrickSpinBox.setObjectName("CrickSpinBox")
        self.hboxlayout1.addWidget(self.CrickSpinBox)
        self.gridlayout5.addLayout(self.hboxlayout1, 2, 1, 1, 1)
        spacerItem8 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout5.addItem(spacerItem8, 2, 2, 1, 1)
        spacerItem9 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridlayout5.addItem(spacerItem9, 3, 1, 1, 1)
        self.StackedWidget.addWidget(self.CrickPage)
        self.LBowPage = QtGui.QWidget()
        self.LBowPage.setObjectName("LBowPage")
        self.gridlayout6 = QtGui.QGridLayout(self.LBowPage)
        self.gridlayout6.setObjectName("gridlayout6")
        self.label_12 = QtGui.QLabel(self.LBowPage)
        self.label_12.setWordWrap(True)
        self.label_12.setObjectName("label_12")
        self.gridlayout6.addWidget(self.label_12, 0, 0, 1, 5)
        spacerItem10 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                         QtGui.QSizePolicy.Expanding)
        self.gridlayout6.addItem(spacerItem10, 1, 1, 1, 1)
        spacerItem11 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                         QtGui.QSizePolicy.Minimum)
        self.gridlayout6.addItem(spacerItem11, 2, 0, 1, 1)
        self.LBowIcon = QtGui.QLabel(self.LBowPage)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.LBowIcon.sizePolicy().hasHeightForWidth())
        self.LBowIcon.setSizePolicy(sizePolicy)
        self.LBowIcon.setMinimumSize(QtCore.QSize(85, 90))
        self.LBowIcon.setMaximumSize(QtCore.QSize(85, 90))
        self.LBowIcon.setFrameShape(QtGui.QFrame.NoFrame)
        self.LBowIcon.setObjectName("LBowIcon")
        self.gridlayout6.addWidget(self.LBowIcon, 2, 1, 1, 1)
        spacerItem12 = QtGui.QSpacerItem(31, 20, QtGui.QSizePolicy.Expanding,
                                         QtGui.QSizePolicy.Minimum)
        self.gridlayout6.addItem(spacerItem12, 2, 2, 1, 1)
        self.hboxlayout2 = QtGui.QHBoxLayout()
        self.hboxlayout2.setObjectName("hboxlayout2")
        self.LBowLabel = QtGui.QLabel(self.LBowPage)
        self.LBowLabel.setObjectName("LBowLabel")
        self.hboxlayout2.addWidget(self.LBowLabel)
        self.LBowComboBox = QtGui.QComboBox(self.LBowPage)
        self.LBowComboBox.setObjectName("LBowComboBox")
        self.hboxlayout2.addWidget(self.LBowComboBox)
        self.gridlayout6.addLayout(self.hboxlayout2, 2, 3, 1, 1)
        spacerItem13 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                         QtGui.QSizePolicy.Minimum)
        self.gridlayout6.addItem(spacerItem13, 2, 4, 1, 1)
        spacerItem14 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                         QtGui.QSizePolicy.Expanding)
        self.gridlayout6.addItem(spacerItem14, 3, 1, 1, 1)
        self.StackedWidget.addWidget(self.LBowPage)
        self.ConneryPage = QtGui.QWidget()
        self.ConneryPage.setObjectName("ConneryPage")
        self.gridlayout7 = QtGui.QGridLayout(self.ConneryPage)
        self.gridlayout7.setObjectName("gridlayout7")
        self.label_7 = QtGui.QLabel(self.ConneryPage)
        self.label_7.setWordWrap(True)
        self.label_7.setObjectName("label_7")
        self.gridlayout7.addWidget(self.label_7, 0, 0, 1, 5)
        spacerItem15 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                         QtGui.QSizePolicy.Expanding)
        self.gridlayout7.addItem(spacerItem15, 1, 2, 1, 1)
        spacerItem16 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding,
                                         QtGui.QSizePolicy.Minimum)
        self.gridlayout7.addItem(spacerItem16, 2, 0, 1, 1)
        self.hboxlayout3 = QtGui.QHBoxLayout()
        self.hboxlayout3.setObjectName("hboxlayout3")
        self.groupBox_2 = QtGui.QGroupBox(self.ConneryPage)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridlayout8 = QtGui.QGridLayout(self.groupBox_2)
        self.gridlayout8.setObjectName("gridlayout8")
        spacerItem17 = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding,
                                         QtGui.QSizePolicy.Minimum)
        self.gridlayout8.addItem(spacerItem17, 0, 0, 1, 1)
        self.ConneryGrayPatchIcon = QtGui.QLabel(self.groupBox_2)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.ConneryGrayPatchIcon.sizePolicy().hasHeightForWidth())
        self.ConneryGrayPatchIcon.setSizePolicy(sizePolicy)
        self.ConneryGrayPatchIcon.setMinimumSize(QtCore.QSize(75, 75))
        self.ConneryGrayPatchIcon.setMaximumSize(QtCore.QSize(75, 75))
        self.ConneryGrayPatchIcon.setFrameShape(QtGui.QFrame.NoFrame)
        self.ConneryGrayPatchIcon.setObjectName("ConneryGrayPatchIcon")
        self.gridlayout8.addWidget(self.ConneryGrayPatchIcon, 0, 1, 1, 2)
        spacerItem18 = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding,
                                         QtGui.QSizePolicy.Minimum)
        self.gridlayout8.addItem(spacerItem18, 0, 3, 1, 1)
        self.ConneryGrayLetterComboBox = QtGui.QComboBox(self.groupBox_2)
        self.ConneryGrayLetterComboBox.setObjectName(
            "ConneryGrayLetterComboBox")
        self.gridlayout8.addWidget(self.ConneryGrayLetterComboBox, 1, 0, 1, 2)
        self.ConneryGrayNumberComboBox = QtGui.QComboBox(self.groupBox_2)
        self.ConneryGrayNumberComboBox.setObjectName(
            "ConneryGrayNumberComboBox")
        self.gridlayout8.addWidget(self.ConneryGrayNumberComboBox, 1, 2, 1, 2)
        self.hboxlayout3.addWidget(self.groupBox_2)
        self.groupBox_3 = QtGui.QGroupBox(self.ConneryPage)
        self.groupBox_3.setObjectName("groupBox_3")
        self.gridlayout9 = QtGui.QGridLayout(self.groupBox_3)
        self.gridlayout9.setObjectName("gridlayout9")
        spacerItem19 = QtGui.QSpacerItem(21, 20, QtGui.QSizePolicy.Expanding,
                                         QtGui.QSizePolicy.Minimum)
        self.gridlayout9.addItem(spacerItem19, 0, 0, 1, 1)
        self.ConneryColorPatchIcon = QtGui.QLabel(self.groupBox_3)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,
                                       QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.ConneryColorPatchIcon.sizePolicy().hasHeightForWidth())
        self.ConneryColorPatchIcon.setSizePolicy(sizePolicy)
        self.ConneryColorPatchIcon.setMinimumSize(QtCore.QSize(75, 75))
        self.ConneryColorPatchIcon.setMaximumSize(QtCore.QSize(75, 75))
        self.ConneryColorPatchIcon.setFrameShape(QtGui.QFrame.NoFrame)
        self.ConneryColorPatchIcon.setObjectName("ConneryColorPatchIcon")
        self.gridlayout9.addWidget(self.ConneryColorPatchIcon, 0, 1, 1, 2)
        spacerItem20 = QtGui.QSpacerItem(31, 75, QtGui.QSizePolicy.Expanding,
                                         QtGui.QSizePolicy.Minimum)
        self.gridlayout9.addItem(spacerItem20, 0, 3, 1, 1)
        self.ConneryColorLetterComboBox = QtGui.QComboBox(self.groupBox_3)
        self.ConneryColorLetterComboBox.setObjectName(
            "ConneryColorLetterComboBox")
        self.gridlayout9.addWidget(self.ConneryColorLetterComboBox, 1, 0, 1, 2)
        self.ConneryColorNumberComboBox = QtGui.QComboBox(self.groupBox_3)
        self.ConneryColorNumberComboBox.setObjectName(
            "ConneryColorNumberComboBox")
        self.gridlayout9.addWidget(self.ConneryColorNumberComboBox, 1, 2, 1, 2)
        self.hboxlayout3.addWidget(self.groupBox_3)
        self.gridlayout7.addLayout(self.hboxlayout3, 2, 1, 1, 3)
        spacerItem21 = QtGui.QSpacerItem(81, 20, QtGui.QSizePolicy.Expanding,
                                         QtGui.QSizePolicy.Minimum)
        self.gridlayout7.addItem(spacerItem21, 2, 4, 1, 1)
        spacerItem22 = QtGui.QSpacerItem(20, 21, QtGui.QSizePolicy.Minimum,
                                         QtGui.QSizePolicy.Expanding)
        self.gridlayout7.addItem(spacerItem22, 3, 1, 1, 1)
        spacerItem23 = QtGui.QSpacerItem(20, 51, QtGui.QSizePolicy.Minimum,
                                         QtGui.QSizePolicy.Expanding)
        self.gridlayout7.addItem(spacerItem23, 3, 3, 2, 1)
        self.ConneryUseFactoryDefaultsCheckBox = QtGui.QCheckBox(
            self.ConneryPage)
        self.ConneryUseFactoryDefaultsCheckBox.setObjectName(
            "ConneryUseFactoryDefaultsCheckBox")
        self.gridlayout7.addWidget(self.ConneryUseFactoryDefaultsCheckBox, 4,
                                   0, 1, 2)
        self.StackedWidget.addWidget(self.ConneryPage)
        self.FrontPanelPage = QtGui.QWidget()
        self.FrontPanelPage.setObjectName("FrontPanelPage")
        self.gridlayout10 = QtGui.QGridLayout(self.FrontPanelPage)
        self.gridlayout10.setObjectName("gridlayout10")
        self.label_8 = QtGui.QLabel(self.FrontPanelPage)
        self.label_8.setWordWrap(True)
        self.label_8.setObjectName("label_8")
        self.gridlayout10.addWidget(self.label_8, 0, 0, 1, 1)
        spacerItem24 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                         QtGui.QSizePolicy.Expanding)
        self.gridlayout10.addItem(spacerItem24, 1, 0, 1, 1)
        self.StackedWidget.addWidget(self.FrontPanelPage)
        self.gridlayout.addWidget(self.StackedWidget, 2, 0, 1, 6)
        self.line_2 = QtGui.QFrame(Dialog)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.gridlayout.addWidget(self.line_2, 3, 0, 1, 5)
        self.StepText = QtGui.QLabel(Dialog)
        self.StepText.setObjectName("StepText")
        self.gridlayout.addWidget(self.StepText, 4, 0, 1, 1)
        spacerItem25 = QtGui.QSpacerItem(141, 28, QtGui.QSizePolicy.Expanding,
                                         QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem25, 4, 1, 1, 1)
        self.BackButton = QtGui.QPushButton(Dialog)
        self.BackButton.setObjectName("BackButton")
        self.gridlayout.addWidget(self.BackButton, 4, 2, 1, 1)
        self.NextButton = QtGui.QPushButton(Dialog)
        self.NextButton.setObjectName("NextButton")
        self.gridlayout.addWidget(self.NextButton, 4, 3, 1, 1)
        self.CancelButton = QtGui.QPushButton(Dialog)
        self.CancelButton.setObjectName("CancelButton")
        self.gridlayout.addWidget(self.CancelButton, 4, 4, 1, 1)

        self.retranslateUi(Dialog)
        self.StackedWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.ConneryUseFactoryDefaultsCheckBox,
                               QtCore.SIGNAL("clicked(bool)"),
                               self.groupBox_2.setDisabled)
        QtCore.QObject.connect(self.ConneryUseFactoryDefaultsCheckBox,
                               QtCore.SIGNAL("clicked(bool)"),
                               self.groupBox_3.setDisabled)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
Beispiel #17
0
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(700, 500)
        self.gridlayout = QtGui.QGridLayout(Dialog)
        self.gridlayout.setObjectName("gridlayout")
        self.label = QtGui.QLabel(Dialog)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label, 0, 0, 1, 1)
        self.line = QtGui.QFrame(Dialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridlayout.addWidget(self.line, 1, 0, 1, 3)
        self.FaxComboBox = DeviceUriComboBox(Dialog)
        self.FaxComboBox.setObjectName("FaxComboBox")
        self.gridlayout.addWidget(self.FaxComboBox, 2, 0, 1, 3)
        self.tabWidget = QtGui.QTabWidget(Dialog)
        self.tabWidget.setObjectName("tabWidget")
        self.tab = QtGui.QWidget()
        self.tab.setObjectName("tab")
        self.gridlayout1 = QtGui.QGridLayout(self.tab)
        self.gridlayout1.setObjectName("gridlayout1")
        self.label_3 = QtGui.QLabel(self.tab)
        self.label_3.setObjectName("label_3")
        self.gridlayout1.addWidget(self.label_3, 0, 0, 1, 2)
        self.label_2 = QtGui.QLabel(self.tab)
        self.label_2.setObjectName("label_2")
        self.gridlayout1.addWidget(self.label_2, 1, 0, 1, 1)
        self.NameCompanyLineEdit = QtGui.QLineEdit(self.tab)
        self.NameCompanyLineEdit.setObjectName("NameCompanyLineEdit")
        self.gridlayout1.addWidget(self.NameCompanyLineEdit, 1, 1, 1, 1)
        self.label_4 = QtGui.QLabel(self.tab)
        self.label_4.setObjectName("label_4")
        self.gridlayout1.addWidget(self.label_4, 2, 0, 1, 1)
        self.FaxNumberLineEdit = QtGui.QLineEdit(self.tab)
        self.FaxNumberLineEdit.setObjectName("FaxNumberLineEdit")
        self.gridlayout1.addWidget(self.FaxNumberLineEdit, 2, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridlayout1.addItem(spacerItem, 3, 1, 1, 1)
        self.tabWidget.addTab(self.tab, "")
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.gridlayout2 = QtGui.QGridLayout(self.tab_2)
        self.gridlayout2.setObjectName("gridlayout2")
        self.label_5 = QtGui.QLabel(self.tab_2)
        self.label_5.setObjectName("label_5")
        self.gridlayout2.addWidget(self.label_5, 0, 0, 1, 2)
        self.label_6 = QtGui.QLabel(self.tab_2)
        self.label_6.setObjectName("label_6")
        self.gridlayout2.addWidget(self.label_6, 1, 0, 1, 1)
        self.VoiceNumberLineEdit = QtGui.QLineEdit(self.tab_2)
        self.VoiceNumberLineEdit.setObjectName("VoiceNumberLineEdit")
        self.gridlayout2.addWidget(self.VoiceNumberLineEdit, 1, 1, 1, 1)
        self.label_7 = QtGui.QLabel(self.tab_2)
        self.label_7.setObjectName("label_7")
        self.gridlayout2.addWidget(self.label_7, 2, 0, 1, 1)
        self.EmailLineEdit = QtGui.QLineEdit(self.tab_2)
        self.EmailLineEdit.setObjectName("EmailLineEdit")
        self.gridlayout2.addWidget(self.EmailLineEdit, 2, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 131, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridlayout2.addItem(spacerItem1, 3, 1, 1, 1)
        self.tabWidget.addTab(self.tab_2, "")
        self.gridlayout.addWidget(self.tabWidget, 3, 0, 1, 3)
        spacerItem2 = QtGui.QSpacerItem(371, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem2, 4, 0, 1, 1)
        self.CancelButton = QtGui.QPushButton(Dialog)
        self.CancelButton.setObjectName("CancelButton")
        self.gridlayout.addWidget(self.CancelButton, 4, 2, 1, 1)

        self.retranslateUi(Dialog)
        self.tabWidget.setCurrentIndex(1)
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(
            QtGui.QApplication.translate(
                "Dialog", "HP Device Manager - Fax Device Setup", None,
                QtGui.QApplication.UnicodeUTF8))
        self.label.setText(
            QtGui.QApplication.translate("Dialog", "Fax Device Setup", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(
            QtGui.QApplication.translate(
                "Dialog",
                "This information will appear at the top of each fax you send.",
                None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(
            QtGui.QApplication.translate("Dialog", "Name and/or Company:",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(
            QtGui.QApplication.translate("Dialog", "Fax Number:", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tab),
            QtGui.QApplication.translate("Dialog", "Fax Header", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(
            QtGui.QApplication.translate(
                "Dialog", "This information will appear on all coverpages.",
                None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(
            QtGui.QApplication.translate("Dialog", "Voice Phone Number:", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(
            QtGui.QApplication.translate("Dialog", "Email Address:", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(
            self.tabWidget.indexOf(self.tab_2),
            QtGui.QApplication.translate("Dialog", "Coverpage", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.CancelButton.setText(
            QtGui.QApplication.translate("Dialog", "Close", None,
                                         QtGui.QApplication.UnicodeUTF8))
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(700, 500)
        self.gridlayout = QtGui.QGridLayout(Dialog)
        self.gridlayout.setObjectName("gridlayout")
        self.label = QtGui.QLabel(Dialog)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label, 0, 0, 1, 1)
        self.line = QtGui.QFrame(Dialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridlayout.addWidget(self.line, 1, 0, 1, 2)
        self.DeviceComboBox = DeviceUriComboBox(Dialog)
        self.DeviceComboBox.setObjectName("DeviceComboBox")
        self.gridlayout.addWidget(self.DeviceComboBox, 2, 0, 1, 2)
        self.TabWidget = QtGui.QTabWidget(Dialog)
        self.TabWidget.setObjectName("TabWidget")
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.gridlayout1 = QtGui.QGridLayout(self.tab_2)
        self.gridlayout1.setObjectName("gridlayout1")
        self.StaticTableWidget = QtGui.QTableWidget(self.tab_2)
        self.StaticTableWidget.setAlternatingRowColors(True)
        self.StaticTableWidget.setSelectionMode(QtGui.QAbstractItemView.SingleSelection)
        self.StaticTableWidget.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.StaticTableWidget.setVerticalScrollMode(QtGui.QAbstractItemView.ScrollPerItem)
        self.StaticTableWidget.setHorizontalScrollMode(QtGui.QAbstractItemView.ScrollPerPixel)
        self.StaticTableWidget.setGridStyle(QtCore.Qt.DotLine)
        self.StaticTableWidget.setObjectName("StaticTableWidget")
        self.StaticTableWidget.setColumnCount(0)
        self.StaticTableWidget.setRowCount(0)
        self.gridlayout1.addWidget(self.StaticTableWidget, 0, 0, 1, 1)
        self.TabWidget.addTab(self.tab_2, "")
        self.tab = QtGui.QWidget()
        self.tab.setObjectName("tab")
        self.gridlayout2 = QtGui.QGridLayout(self.tab)
        self.gridlayout2.setObjectName("gridlayout2")
        self.DynamicTableWidget = QtGui.QTableWidget(self.tab)
        self.DynamicTableWidget.setAlternatingRowColors(True)
        self.DynamicTableWidget.setSelectionMode(QtGui.QAbstractItemView.SingleSelection)
        self.DynamicTableWidget.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.DynamicTableWidget.setVerticalScrollMode(QtGui.QAbstractItemView.ScrollPerItem)
        self.DynamicTableWidget.setHorizontalScrollMode(QtGui.QAbstractItemView.ScrollPerPixel)
        self.DynamicTableWidget.setGridStyle(QtCore.Qt.DotLine)
        self.DynamicTableWidget.setObjectName("DynamicTableWidget")
        self.DynamicTableWidget.setColumnCount(0)
        self.DynamicTableWidget.setRowCount(0)
        self.gridlayout2.addWidget(self.DynamicTableWidget, 0, 0, 1, 1)
        self.TabWidget.addTab(self.tab, "")
        self.tab_3 = QtGui.QWidget()
        self.tab_3.setObjectName("tab_3")
        self.gridlayout3 = QtGui.QGridLayout(self.tab_3)
        self.gridlayout3.setObjectName("gridlayout3")
        self.HistoryTableWidget = QtGui.QTableWidget(self.tab_3)
        self.HistoryTableWidget.setAlternatingRowColors(True)
        self.HistoryTableWidget.setSelectionMode(QtGui.QAbstractItemView.SingleSelection)
        self.HistoryTableWidget.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.HistoryTableWidget.setVerticalScrollMode(QtGui.QAbstractItemView.ScrollPerPixel)
        self.HistoryTableWidget.setGridStyle(QtCore.Qt.DotLine)
        self.HistoryTableWidget.setObjectName("HistoryTableWidget")
        self.HistoryTableWidget.setColumnCount(0)
        self.HistoryTableWidget.setRowCount(0)
        self.gridlayout3.addWidget(self.HistoryTableWidget, 0, 0, 1, 1)
        self.TabWidget.addTab(self.tab_3, "")
        self.gridlayout.addWidget(self.TabWidget, 3, 0, 1, 2)
        spacerItem = QtGui.QSpacerItem(470, 31, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Maximum)
        self.gridlayout.addItem(spacerItem, 4, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(361, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem1, 5, 0, 1, 1)
        self.CancelButton = QtGui.QPushButton(Dialog)
        self.CancelButton.setObjectName("CancelButton")
        self.gridlayout.addWidget(self.CancelButton, 5, 1, 1, 1)

        self.retranslateUi(Dialog)
        self.TabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(700, 500)
        self.gridlayout = QtGui.QGridLayout(Dialog)
        self.gridlayout.setObjectName("gridlayout")
        self.label = QtGui.QLabel(Dialog)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label, 0, 0, 1, 1)
        self.line = QtGui.QFrame(Dialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridlayout.addWidget(self.line, 1, 0, 1, 3)
        self.FaxComboBox = DeviceUriComboBox(Dialog)
        self.FaxComboBox.setObjectName("FaxComboBox")
        self.gridlayout.addWidget(self.FaxComboBox, 2, 0, 1, 3)
        self.tabWidget = QtGui.QTabWidget(Dialog)
        self.tabWidget.setObjectName("tabWidget")
        self.tab = QtGui.QWidget()
        self.tab.setObjectName("tab")
        self.gridlayout1 = QtGui.QGridLayout(self.tab)
        self.gridlayout1.setObjectName("gridlayout1")
        self.label_3 = QtGui.QLabel(self.tab)
        self.label_3.setObjectName("label_3")
        self.gridlayout1.addWidget(self.label_3, 0, 0, 1, 2)
        self.label_2 = QtGui.QLabel(self.tab)
        self.label_2.setObjectName("label_2")
        self.gridlayout1.addWidget(self.label_2, 1, 0, 1, 1)
        self.NameCompanyLineEdit = QtGui.QLineEdit(self.tab)
        self.NameCompanyLineEdit.setObjectName("NameCompanyLineEdit")
        self.gridlayout1.addWidget(self.NameCompanyLineEdit, 1, 1, 1, 1)
        self.label_4 = QtGui.QLabel(self.tab)
        self.label_4.setObjectName("label_4")
        self.gridlayout1.addWidget(self.label_4, 2, 0, 1, 1)
        self.FaxNumberLineEdit = QtGui.QLineEdit(self.tab)
        self.FaxNumberLineEdit.setObjectName("FaxNumberLineEdit")
        self.gridlayout1.addWidget(self.FaxNumberLineEdit, 2, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout1.addItem(spacerItem, 3, 1, 1, 1)
        self.tabWidget.addTab(self.tab, "")
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.gridlayout2 = QtGui.QGridLayout(self.tab_2)
        self.gridlayout2.setObjectName("gridlayout2")
        self.label_5 = QtGui.QLabel(self.tab_2)
        self.label_5.setObjectName("label_5")
        self.gridlayout2.addWidget(self.label_5, 0, 0, 1, 2)
        self.label_6 = QtGui.QLabel(self.tab_2)
        self.label_6.setObjectName("label_6")
        self.gridlayout2.addWidget(self.label_6, 1, 0, 1, 1)
        self.VoiceNumberLineEdit = QtGui.QLineEdit(self.tab_2)
        self.VoiceNumberLineEdit.setObjectName("VoiceNumberLineEdit")
        self.gridlayout2.addWidget(self.VoiceNumberLineEdit, 1, 1, 1, 1)
        self.label_7 = QtGui.QLabel(self.tab_2)
        self.label_7.setObjectName("label_7")
        self.gridlayout2.addWidget(self.label_7, 2, 0, 1, 1)
        self.EmailLineEdit = QtGui.QLineEdit(self.tab_2)
        self.EmailLineEdit.setObjectName("EmailLineEdit")
        self.gridlayout2.addWidget(self.EmailLineEdit, 2, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 131, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout2.addItem(spacerItem1, 3, 1, 1, 1)
        self.tabWidget.addTab(self.tab_2, "")
        self.gridlayout.addWidget(self.tabWidget, 3, 0, 1, 3)
        spacerItem2 = QtGui.QSpacerItem(371, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem2, 4, 0, 1, 1)
        self.CancelButton = QtGui.QPushButton(Dialog)
        self.CancelButton.setObjectName("CancelButton")
        self.gridlayout.addWidget(self.CancelButton, 4, 2, 1, 1)

        self.retranslateUi(Dialog)
        self.tabWidget.setCurrentIndex(1)
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "HP Device Manager - Fax Device Setup", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("Dialog", "Fax Device Setup", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("Dialog", "This information will appear at the top of each fax you send.", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("Dialog", "Name and/or Company:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_4.setText(QtGui.QApplication.translate("Dialog", "Fax Number:", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), QtGui.QApplication.translate("Dialog", "Fax Header", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("Dialog", "This information will appear on all coverpages.", None, QtGui.QApplication.UnicodeUTF8))
        self.label_6.setText(QtGui.QApplication.translate("Dialog", "Voice Phone Number:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_7.setText(QtGui.QApplication.translate("Dialog", "Email Address:", None, QtGui.QApplication.UnicodeUTF8))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), QtGui.QApplication.translate("Dialog", "Coverpage", None, QtGui.QApplication.UnicodeUTF8))
        self.CancelButton.setText(QtGui.QApplication.translate("Dialog", "Close", None, QtGui.QApplication.UnicodeUTF8))
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.setWindowModality(QtCore.Qt.ApplicationModal)
        Dialog.resize(700, 500)
        self.gridlayout = QtGui.QGridLayout(Dialog)
        self.gridlayout.setObjectName("gridlayout")
        self.label = QtGui.QLabel(Dialog)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label, 0, 0, 1, 1)
        self.line = QtGui.QFrame(Dialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridlayout.addWidget(self.line, 1, 0, 1, 3)
        self.DeviceComboBox = DeviceUriComboBox(Dialog)
        self.DeviceComboBox.setObjectName("DeviceComboBox")
        self.gridlayout.addWidget(self.DeviceComboBox, 2, 0, 1, 3)
        self.frame = QtGui.QFrame(Dialog)
        self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtGui.QFrame.Raised)
        self.frame.setObjectName("frame")
        self.gridlayout1 = QtGui.QGridLayout(self.frame)
        self.gridlayout1.setObjectName("gridlayout1")
        self.label_2 = QtGui.QLabel(self.frame)
        self.label_2.setObjectName("label_2")
        self.gridlayout1.addWidget(self.label_2, 0, 0, 1, 1)
        self.gridlayout.addWidget(self.frame, 3, 0, 1, 3)
        spacerItem = QtGui.QSpacerItem(20, 171, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem, 4, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(301, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem1, 5, 0, 1, 1)
        self.DownloadFirmwareButton = QtGui.QPushButton(Dialog)
        self.DownloadFirmwareButton.setObjectName("DownloadFirmwareButton")
        self.gridlayout.addWidget(self.DownloadFirmwareButton, 5, 1, 1, 1)
        self.CancelButton = QtGui.QPushButton(Dialog)
        self.CancelButton.setObjectName("CancelButton")
        self.gridlayout.addWidget(self.CancelButton, 5, 2, 1, 1)

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

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(
            QtGui.QApplication.translate(
                "Dialog", "HP Device Manager - Download Firmware", None, QtGui.QApplication.UnicodeUTF8
            )
        )
        self.label.setText(
            QtGui.QApplication.translate("Dialog", "Download Firmware", None, QtGui.QApplication.UnicodeUTF8)
        )
        self.label_2.setText(
            QtGui.QApplication.translate(
                "Dialog",
                '<html><head><meta name="qrichtext" content="1" /><style type="text/css">\n'
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:'DejaVu Sans'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
                '<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Click<span style=" font-style:italic;"> Download Firmware</span> to begin download process.</p></body></html>',
                None,
                QtGui.QApplication.UnicodeUTF8,
            )
        )
        self.DownloadFirmwareButton.setText(
            QtGui.QApplication.translate("Dialog", "Download Firmware", None, QtGui.QApplication.UnicodeUTF8)
        )
        self.CancelButton.setText(
            QtGui.QApplication.translate("Dialog", "Cancel", None, QtGui.QApplication.UnicodeUTF8)
        )
Beispiel #21
0
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(700, 500)
        self.gridlayout = QtGui.QGridLayout(Dialog)
        self.gridlayout.setObjectName("gridlayout")
        self.label = QtGui.QLabel(Dialog)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label, 0, 0, 1, 1)
        self.line = QtGui.QFrame(Dialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridlayout.addWidget(self.line, 1, 0, 1, 3)
        self.FaxComboBox = DeviceUriComboBox(Dialog)
        self.FaxComboBox.setObjectName("FaxComboBox")
        self.gridlayout.addWidget(self.FaxComboBox, 2, 0, 1, 3)
        self.tabWidget = QtGui.QTabWidget(Dialog)
        self.tabWidget.setObjectName("tabWidget")
        self.tab = QtGui.QWidget()
        self.tab.setObjectName("tab")
        self.gridlayout1 = QtGui.QGridLayout(self.tab)
        self.gridlayout1.setObjectName("gridlayout1")
        self.label_3 = QtGui.QLabel(self.tab)
        self.label_3.setObjectName("label_3")
        self.gridlayout1.addWidget(self.label_3, 0, 0, 1, 2)
        self.label_2 = QtGui.QLabel(self.tab)
        self.label_2.setObjectName("label_2")
        self.gridlayout1.addWidget(self.label_2, 1, 0, 1, 1)
        self.NameCompanyLineEdit = QtGui.QLineEdit(self.tab)
        self.NameCompanyLineEdit.setObjectName("NameCompanyLineEdit")
        self.gridlayout1.addWidget(self.NameCompanyLineEdit, 1, 1, 1, 1)
        self.label_4 = QtGui.QLabel(self.tab)
        self.label_4.setObjectName("label_4")
        self.gridlayout1.addWidget(self.label_4, 2, 0, 1, 1)
        self.FaxNumberLineEdit = QtGui.QLineEdit(self.tab)
        self.FaxNumberLineEdit.setObjectName("FaxNumberLineEdit")
        self.gridlayout1.addWidget(self.FaxNumberLineEdit, 2, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridlayout1.addItem(spacerItem, 3, 1, 1, 1)
        self.tabWidget.addTab(self.tab, "")
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.gridlayout2 = QtGui.QGridLayout(self.tab_2)
        self.gridlayout2.setObjectName("gridlayout2")
        self.label_5 = QtGui.QLabel(self.tab_2)
        self.label_5.setObjectName("label_5")
        self.gridlayout2.addWidget(self.label_5, 0, 0, 1, 2)
        self.label_6 = QtGui.QLabel(self.tab_2)
        self.label_6.setObjectName("label_6")
        self.gridlayout2.addWidget(self.label_6, 1, 0, 1, 1)
        self.VoiceNumberLineEdit = QtGui.QLineEdit(self.tab_2)
        self.VoiceNumberLineEdit.setObjectName("VoiceNumberLineEdit")
        self.gridlayout2.addWidget(self.VoiceNumberLineEdit, 1, 1, 1, 1)
        self.label_7 = QtGui.QLabel(self.tab_2)
        self.label_7.setObjectName("label_7")
        self.gridlayout2.addWidget(self.label_7, 2, 0, 1, 1)
        self.EmailLineEdit = QtGui.QLineEdit(self.tab_2)
        self.EmailLineEdit.setObjectName("EmailLineEdit")
        self.gridlayout2.addWidget(self.EmailLineEdit, 2, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 131, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridlayout2.addItem(spacerItem1, 3, 1, 1, 1)
        self.tabWidget.addTab(self.tab_2, "")
        self.gridlayout.addWidget(self.tabWidget, 3, 0, 1, 3)
        spacerItem2 = QtGui.QSpacerItem(371, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem2, 4, 0, 1, 1)
        self.CancelButton = QtGui.QPushButton(Dialog)
        self.CancelButton.setObjectName("CancelButton")
        self.gridlayout.addWidget(self.CancelButton, 4, 2, 1, 1)

        self.retranslateUi(Dialog)
        self.tabWidget.setCurrentIndex(1)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
Beispiel #22
0
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(700, 500)
        self.gridlayout = QtGui.QGridLayout(Dialog)
        self.gridlayout.setObjectName("gridlayout")
        self.label = QtGui.QLabel(Dialog)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label, 0, 0, 1, 1)
        self.line = QtGui.QFrame(Dialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridlayout.addWidget(self.line, 1, 0, 1, 2)
        self.DeviceComboBox = DeviceUriComboBox(Dialog)
        self.DeviceComboBox.setObjectName("DeviceComboBox")
        self.gridlayout.addWidget(self.DeviceComboBox, 2, 0, 1, 2)
        self.TabWidget = QtGui.QTabWidget(Dialog)
        self.TabWidget.setObjectName("TabWidget")
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.gridlayout1 = QtGui.QGridLayout(self.tab_2)
        self.gridlayout1.setObjectName("gridlayout1")
        self.StaticTableWidget = QtGui.QTableWidget(self.tab_2)
        self.StaticTableWidget.setAlternatingRowColors(True)
        self.StaticTableWidget.setSelectionMode(
            QtGui.QAbstractItemView.SingleSelection)
        self.StaticTableWidget.setSelectionBehavior(
            QtGui.QAbstractItemView.SelectRows)
        self.StaticTableWidget.setVerticalScrollMode(
            QtGui.QAbstractItemView.ScrollPerItem)
        self.StaticTableWidget.setHorizontalScrollMode(
            QtGui.QAbstractItemView.ScrollPerPixel)
        self.StaticTableWidget.setGridStyle(QtCore.Qt.DotLine)
        self.StaticTableWidget.setObjectName("StaticTableWidget")
        self.StaticTableWidget.setColumnCount(0)
        self.StaticTableWidget.setRowCount(0)
        self.gridlayout1.addWidget(self.StaticTableWidget, 0, 0, 1, 1)
        self.TabWidget.addTab(self.tab_2, "")
        self.tab = QtGui.QWidget()
        self.tab.setObjectName("tab")
        self.gridlayout2 = QtGui.QGridLayout(self.tab)
        self.gridlayout2.setObjectName("gridlayout2")
        self.DynamicTableWidget = QtGui.QTableWidget(self.tab)
        self.DynamicTableWidget.setAlternatingRowColors(True)
        self.DynamicTableWidget.setSelectionMode(
            QtGui.QAbstractItemView.SingleSelection)
        self.DynamicTableWidget.setSelectionBehavior(
            QtGui.QAbstractItemView.SelectRows)
        self.DynamicTableWidget.setVerticalScrollMode(
            QtGui.QAbstractItemView.ScrollPerItem)
        self.DynamicTableWidget.setHorizontalScrollMode(
            QtGui.QAbstractItemView.ScrollPerPixel)
        self.DynamicTableWidget.setGridStyle(QtCore.Qt.DotLine)
        self.DynamicTableWidget.setObjectName("DynamicTableWidget")
        self.DynamicTableWidget.setColumnCount(0)
        self.DynamicTableWidget.setRowCount(0)
        self.gridlayout2.addWidget(self.DynamicTableWidget, 0, 0, 1, 1)
        self.TabWidget.addTab(self.tab, "")
        self.tab_3 = QtGui.QWidget()
        self.tab_3.setObjectName("tab_3")
        self.gridlayout3 = QtGui.QGridLayout(self.tab_3)
        self.gridlayout3.setObjectName("gridlayout3")
        self.HistoryTableWidget = QtGui.QTableWidget(self.tab_3)
        self.HistoryTableWidget.setAlternatingRowColors(True)
        self.HistoryTableWidget.setSelectionMode(
            QtGui.QAbstractItemView.SingleSelection)
        self.HistoryTableWidget.setSelectionBehavior(
            QtGui.QAbstractItemView.SelectRows)
        self.HistoryTableWidget.setVerticalScrollMode(
            QtGui.QAbstractItemView.ScrollPerPixel)
        self.HistoryTableWidget.setGridStyle(QtCore.Qt.DotLine)
        self.HistoryTableWidget.setObjectName("HistoryTableWidget")
        self.HistoryTableWidget.setColumnCount(0)
        self.HistoryTableWidget.setRowCount(0)
        self.gridlayout3.addWidget(self.HistoryTableWidget, 0, 0, 1, 1)
        self.TabWidget.addTab(self.tab_3, "")
        self.gridlayout.addWidget(self.TabWidget, 3, 0, 1, 2)
        spacerItem = QtGui.QSpacerItem(470, 31, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Maximum)
        self.gridlayout.addItem(spacerItem, 4, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(361, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem1, 5, 0, 1, 1)
        self.CancelButton = QtGui.QPushButton(Dialog)
        self.CancelButton.setObjectName("CancelButton")
        self.gridlayout.addWidget(self.CancelButton, 5, 1, 1, 1)

        self.retranslateUi(Dialog)
        self.TabWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
Beispiel #23
0
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(700, 500)
        self.gridlayout = QtGui.QGridLayout(Dialog)
        self.gridlayout.setObjectName("gridlayout")
        self.label = QtGui.QLabel(Dialog)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label, 0, 0, 1, 2)
        self.line = QtGui.QFrame(Dialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridlayout.addWidget(self.line, 1, 0, 1, 4)
        self.StackedWidget = QtGui.QStackedWidget(Dialog)
        self.StackedWidget.setFrameShape(QtGui.QFrame.NoFrame)
        self.StackedWidget.setObjectName("StackedWidget")
        self.StartPage = QtGui.QWidget()
        self.StartPage.setObjectName("StartPage")
        self.gridlayout1 = QtGui.QGridLayout(self.StartPage)
        self.gridlayout1.setObjectName("gridlayout1")
        self.DeviceComboBox = DeviceUriComboBox(self.StartPage)
        self.DeviceComboBox.setObjectName("DeviceComboBox")
        self.gridlayout1.addWidget(self.DeviceComboBox, 0, 0, 1, 1)
        self.groupBox = QtGui.QGroupBox(self.StartPage)
        self.groupBox.setObjectName("groupBox")
        self.gridlayout2 = QtGui.QGridLayout(self.groupBox)
        self.gridlayout2.setObjectName("gridlayout2")
        self.Prompt = QtGui.QLabel(self.groupBox)
        self.Prompt.setObjectName("Prompt")
        self.gridlayout2.addWidget(self.Prompt, 0, 0, 1, 1)
        self.gridlayout1.addWidget(self.groupBox, 1, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridlayout1.addItem(spacerItem, 2, 0, 1, 1)
        self.StackedWidget.addWidget(self.StartPage)
        self.Level1Page = QtGui.QWidget()
        self.Level1Page.setObjectName("Level1Page")
        self.gridlayout3 = QtGui.QGridLayout(self.Level1Page)
        self.gridlayout3.setObjectName("gridlayout3")
        self.LoadPaper = LoadPaperGroupBox(self.Level1Page)
        self.LoadPaper.setObjectName("LoadPaper")
        self.gridlayout3.addWidget(self.LoadPaper, 0, 0, 1, 1)
        self.groupBox_2 = QtGui.QGroupBox(self.Level1Page)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridlayout4 = QtGui.QGridLayout(self.groupBox_2)
        self.gridlayout4.setObjectName("gridlayout4")
        self.Prompt_2 = QtGui.QLabel(self.groupBox_2)
        self.Prompt_2.setWordWrap(True)
        self.Prompt_2.setObjectName("Prompt_2")
        self.gridlayout4.addWidget(self.Prompt_2, 0, 0, 1, 1)
        self.gridlayout3.addWidget(self.groupBox_2, 1, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridlayout3.addItem(spacerItem1, 2, 0, 1, 1)
        self.StackedWidget.addWidget(self.Level1Page)
        self.Level2Page = QtGui.QWidget()
        self.Level2Page.setObjectName("Level2Page")
        self.gridlayout5 = QtGui.QGridLayout(self.Level2Page)
        self.gridlayout5.setObjectName("gridlayout5")
        self.LoadPaper_2 = LoadPaperGroupBox(self.Level2Page)
        self.LoadPaper_2.setObjectName("LoadPaper_2")
        self.gridlayout5.addWidget(self.LoadPaper_2, 0, 0, 1, 1)
        self.groupBox_3 = QtGui.QGroupBox(self.Level2Page)
        self.groupBox_3.setObjectName("groupBox_3")
        self.gridlayout6 = QtGui.QGridLayout(self.groupBox_3)
        self.gridlayout6.setObjectName("gridlayout6")
        self.Prompt_5 = QtGui.QLabel(self.groupBox_3)
        self.Prompt_5.setWordWrap(True)
        self.Prompt_5.setObjectName("Prompt_5")
        self.gridlayout6.addWidget(self.Prompt_5, 0, 0, 1, 1)
        self.gridlayout5.addWidget(self.groupBox_3, 1, 0, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(20, 91, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridlayout5.addItem(spacerItem2, 2, 0, 1, 1)
        self.StackedWidget.addWidget(self.Level2Page)
        self.Level3Page = QtGui.QWidget()
        self.Level3Page.setObjectName("Level3Page")
        self.gridlayout7 = QtGui.QGridLayout(self.Level3Page)
        self.gridlayout7.setObjectName("gridlayout7")
        self.LoadPaper_3 = LoadPaperGroupBox(self.Level3Page)
        self.LoadPaper_3.setObjectName("LoadPaper_3")
        self.gridlayout7.addWidget(self.LoadPaper_3, 0, 0, 1, 1)
        self.groupBox_4 = QtGui.QGroupBox(self.Level3Page)
        self.groupBox_4.setObjectName("groupBox_4")
        self.gridlayout8 = QtGui.QGridLayout(self.groupBox_4)
        self.gridlayout8.setObjectName("gridlayout8")
        self.Prompt_6 = QtGui.QLabel(self.groupBox_4)
        self.Prompt_6.setWordWrap(True)
        self.Prompt_6.setObjectName("Prompt_6")
        self.gridlayout8.addWidget(self.Prompt_6, 0, 0, 1, 1)
        self.gridlayout7.addWidget(self.groupBox_4, 1, 0, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(20, 71, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridlayout7.addItem(spacerItem3, 2, 0, 1, 1)
        self.StackedWidget.addWidget(self.Level3Page)
        self.FrontPanelPage = QtGui.QWidget()
        self.FrontPanelPage.setObjectName("FrontPanelPage")
        self.gridlayout9 = QtGui.QGridLayout(self.FrontPanelPage)
        self.gridlayout9.setObjectName("gridlayout9")
        self.label_2 = QtGui.QLabel(self.FrontPanelPage)
        self.label_2.setTextFormat(QtCore.Qt.RichText)
        self.label_2.setWordWrap(True)
        self.label_2.setObjectName("label_2")
        self.gridlayout9.addWidget(self.label_2, 0, 0, 1, 1)
        spacerItem4 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridlayout9.addItem(spacerItem4, 1, 0, 1, 1)
        self.StackedWidget.addWidget(self.FrontPanelPage)
        self.gridlayout.addWidget(self.StackedWidget, 2, 0, 1, 4)
        self.line_2 = QtGui.QFrame(Dialog)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.gridlayout.addWidget(self.line_2, 4, 0, 1, 4)
        self.StepText = QtGui.QLabel(Dialog)
        self.StepText.setObjectName("StepText")
        self.gridlayout.addWidget(self.StepText, 5, 0, 1, 1)
        spacerItem5 = QtGui.QSpacerItem(351, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem5, 5, 1, 1, 1)
        self.NextButton = QtGui.QPushButton(Dialog)
        self.NextButton.setObjectName("NextButton")
        self.gridlayout.addWidget(self.NextButton, 5, 2, 1, 1)
        self.CancelButton = QtGui.QPushButton(Dialog)
        self.CancelButton.setObjectName("CancelButton")
        self.gridlayout.addWidget(self.CancelButton, 5, 3, 1, 1)

        self.retranslateUi(Dialog)
        self.StackedWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
Beispiel #24
0
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(700, 500)
        self.gridlayout = QtGui.QGridLayout(Dialog)
        self.gridlayout.setObjectName("gridlayout")
        self.label = QtGui.QLabel(Dialog)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label, 0, 0, 1, 2)
        self.line = QtGui.QFrame(Dialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridlayout.addWidget(self.line, 1, 0, 1, 4)
        self.StackedWidget = QtGui.QStackedWidget(Dialog)
        self.StackedWidget.setFrameShape(QtGui.QFrame.NoFrame)
        self.StackedWidget.setObjectName("StackedWidget")
        self.StartPage = QtGui.QWidget()
        self.StartPage.setObjectName("StartPage")
        self.gridlayout1 = QtGui.QGridLayout(self.StartPage)
        self.gridlayout1.setObjectName("gridlayout1")
        self.DeviceComboBox = DeviceUriComboBox(self.StartPage)
        self.DeviceComboBox.setObjectName("DeviceComboBox")
        self.gridlayout1.addWidget(self.DeviceComboBox, 0, 0, 1, 1)
        self.groupBox = QtGui.QGroupBox(self.StartPage)
        self.groupBox.setObjectName("groupBox")
        self.gridlayout2 = QtGui.QGridLayout(self.groupBox)
        self.gridlayout2.setObjectName("gridlayout2")
        self.Prompt = QtGui.QLabel(self.groupBox)
        self.Prompt.setObjectName("Prompt")
        self.gridlayout2.addWidget(self.Prompt, 0, 0, 1, 1)
        self.gridlayout1.addWidget(self.groupBox, 1, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridlayout1.addItem(spacerItem, 2, 0, 1, 1)
        self.StackedWidget.addWidget(self.StartPage)
        self.Level1Page = QtGui.QWidget()
        self.Level1Page.setObjectName("Level1Page")
        self.gridlayout3 = QtGui.QGridLayout(self.Level1Page)
        self.gridlayout3.setObjectName("gridlayout3")
        self.LoadPaper = LoadPaperGroupBox(self.Level1Page)
        self.LoadPaper.setObjectName("LoadPaper")
        self.gridlayout3.addWidget(self.LoadPaper, 0, 0, 1, 1)
        self.groupBox_2 = QtGui.QGroupBox(self.Level1Page)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridlayout4 = QtGui.QGridLayout(self.groupBox_2)
        self.gridlayout4.setObjectName("gridlayout4")
        self.Prompt_2 = QtGui.QLabel(self.groupBox_2)
        self.Prompt_2.setWordWrap(True)
        self.Prompt_2.setObjectName("Prompt_2")
        self.gridlayout4.addWidget(self.Prompt_2, 0, 0, 1, 1)
        self.gridlayout3.addWidget(self.groupBox_2, 1, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridlayout3.addItem(spacerItem1, 2, 0, 1, 1)
        self.StackedWidget.addWidget(self.Level1Page)
        self.Level2Page = QtGui.QWidget()
        self.Level2Page.setObjectName("Level2Page")
        self.gridlayout5 = QtGui.QGridLayout(self.Level2Page)
        self.gridlayout5.setObjectName("gridlayout5")
        self.LoadPaper_2 = LoadPaperGroupBox(self.Level2Page)
        self.LoadPaper_2.setObjectName("LoadPaper_2")
        self.gridlayout5.addWidget(self.LoadPaper_2, 0, 0, 1, 1)
        self.groupBox_3 = QtGui.QGroupBox(self.Level2Page)
        self.groupBox_3.setObjectName("groupBox_3")
        self.gridlayout6 = QtGui.QGridLayout(self.groupBox_3)
        self.gridlayout6.setObjectName("gridlayout6")
        self.Prompt_5 = QtGui.QLabel(self.groupBox_3)
        self.Prompt_5.setWordWrap(True)
        self.Prompt_5.setObjectName("Prompt_5")
        self.gridlayout6.addWidget(self.Prompt_5, 0, 0, 1, 1)
        self.gridlayout5.addWidget(self.groupBox_3, 1, 0, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(20, 91, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridlayout5.addItem(spacerItem2, 2, 0, 1, 1)
        self.StackedWidget.addWidget(self.Level2Page)
        self.Level3Page = QtGui.QWidget()
        self.Level3Page.setObjectName("Level3Page")
        self.gridlayout7 = QtGui.QGridLayout(self.Level3Page)
        self.gridlayout7.setObjectName("gridlayout7")
        self.LoadPaper_3 = LoadPaperGroupBox(self.Level3Page)
        self.LoadPaper_3.setObjectName("LoadPaper_3")
        self.gridlayout7.addWidget(self.LoadPaper_3, 0, 0, 1, 1)
        self.groupBox_4 = QtGui.QGroupBox(self.Level3Page)
        self.groupBox_4.setObjectName("groupBox_4")
        self.gridlayout8 = QtGui.QGridLayout(self.groupBox_4)
        self.gridlayout8.setObjectName("gridlayout8")
        self.Prompt_6 = QtGui.QLabel(self.groupBox_4)
        self.Prompt_6.setWordWrap(True)
        self.Prompt_6.setObjectName("Prompt_6")
        self.gridlayout8.addWidget(self.Prompt_6, 0, 0, 1, 1)
        self.gridlayout7.addWidget(self.groupBox_4, 1, 0, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(20, 71, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridlayout7.addItem(spacerItem3, 2, 0, 1, 1)
        self.StackedWidget.addWidget(self.Level3Page)
        self.FrontPanelPage = QtGui.QWidget()
        self.FrontPanelPage.setObjectName("FrontPanelPage")
        self.gridlayout9 = QtGui.QGridLayout(self.FrontPanelPage)
        self.gridlayout9.setObjectName("gridlayout9")
        self.label_2 = QtGui.QLabel(self.FrontPanelPage)
        self.label_2.setTextFormat(QtCore.Qt.RichText)
        self.label_2.setWordWrap(True)
        self.label_2.setObjectName("label_2")
        self.gridlayout9.addWidget(self.label_2, 0, 0, 1, 1)
        spacerItem4 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum,
                                        QtGui.QSizePolicy.Expanding)
        self.gridlayout9.addItem(spacerItem4, 1, 0, 1, 1)
        self.StackedWidget.addWidget(self.FrontPanelPage)
        self.gridlayout.addWidget(self.StackedWidget, 2, 0, 1, 4)
        self.line_2 = QtGui.QFrame(Dialog)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.gridlayout.addWidget(self.line_2, 4, 0, 1, 4)
        self.StepText = QtGui.QLabel(Dialog)
        self.StepText.setObjectName("StepText")
        self.gridlayout.addWidget(self.StepText, 5, 0, 1, 1)
        spacerItem5 = QtGui.QSpacerItem(351, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem5, 5, 1, 1, 1)
        self.NextButton = QtGui.QPushButton(Dialog)
        self.NextButton.setObjectName("NextButton")
        self.gridlayout.addWidget(self.NextButton, 5, 2, 1, 1)
        self.CancelButton = QtGui.QPushButton(Dialog)
        self.CancelButton.setObjectName("CancelButton")
        self.gridlayout.addWidget(self.CancelButton, 5, 3, 1, 1)

        self.retranslateUi(Dialog)
        self.StackedWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(
            QtGui.QApplication.translate(
                "Dialog", "HP Device Manager - Clean Print Cartridges", None,
                QtGui.QApplication.UnicodeUTF8))
        self.label.setText(
            QtGui.QApplication.translate("Dialog", "Clean Print Cartridges",
                                         None, QtGui.QApplication.UnicodeUTF8))
        self.Prompt.setText(
            QtGui.QApplication.translate(
                "Dialog",
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Click<span style=\" font-style:italic;\"> Next</span> to begin the cleaning process.</p></body></html>",
                None, QtGui.QApplication.UnicodeUTF8))
        self.Prompt_2.setText(
            QtGui.QApplication.translate(
                "Dialog",
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Click <span style=\" font-style:italic;\">Clean</span> to begin the level 1 cleaning process.</p></body></html>",
                None, QtGui.QApplication.UnicodeUTF8))
        self.Prompt_5.setText(
            QtGui.QApplication.translate(
                "Dialog",
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Cleaning level 1 is done after the page being printed is complete.</span> If the printed output from level 1 cleaning is acceptable, then click <span style=\" font-style:italic;\">Cancel</span> to exit. Otherwise, click <span style=\" font-style:italic;\">Clean</span> again to begin the level 2 cleaning process.</p></body></html>",
                None, QtGui.QApplication.UnicodeUTF8))
        self.Prompt_6.setText(
            QtGui.QApplication.translate(
                "Dialog",
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Cleaning level 2 is done after the page being printed is complete.</span> If the printed output from level 2 cleaning is acceptable, then click <span style=\" font-style:italic;\">Cancel</span> to exit. Otherwise, click <span style=\" font-style:italic;\">Clean</span> again to begin the level 3 cleaning process. </p></body></html>",
                None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(
            QtGui.QApplication.translate(
                "Dialog",
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Cartridge cleaning on this printer is only available by accessing the front panel of the printer. </span>Please refer to the user guide for the printer for more information. Click <span style=\" font-style:italic;\">Finish</span> to exit.</p></body></html>",
                None, QtGui.QApplication.UnicodeUTF8))
        self.StepText.setText(
            QtGui.QApplication.translate("Dialog", "Step %1 of %2", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.NextButton.setText(
            QtGui.QApplication.translate("Dialog", "Next >", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.CancelButton.setText(
            QtGui.QApplication.translate("Dialog", "Cancel", None,
                                         QtGui.QApplication.UnicodeUTF8))
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(700, 500)
        self.gridlayout = QtGui.QGridLayout(Dialog)
        self.gridlayout.setObjectName("gridlayout")
        self.label = QtGui.QLabel(Dialog)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label, 0, 0, 1, 1)
        self.line = QtGui.QFrame(Dialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridlayout.addWidget(self.line, 1, 0, 1, 3)
        self.FaxComboBox = DeviceUriComboBox(Dialog)
        self.FaxComboBox.setObjectName("FaxComboBox")
        self.gridlayout.addWidget(self.FaxComboBox, 2, 0, 1, 3)
        self.tabWidget = QtGui.QTabWidget(Dialog)
        self.tabWidget.setObjectName("tabWidget")
        self.tab = QtGui.QWidget()
        self.tab.setObjectName("tab")
        self.gridlayout1 = QtGui.QGridLayout(self.tab)
        self.gridlayout1.setObjectName("gridlayout1")
        self.label_3 = QtGui.QLabel(self.tab)
        self.label_3.setObjectName("label_3")
        self.gridlayout1.addWidget(self.label_3, 0, 0, 1, 2)
        self.label_2 = QtGui.QLabel(self.tab)
        self.label_2.setObjectName("label_2")
        self.gridlayout1.addWidget(self.label_2, 1, 0, 1, 1)
        self.NameCompanyLineEdit = QtGui.QLineEdit(self.tab)
        self.NameCompanyLineEdit.setObjectName("NameCompanyLineEdit")
        self.gridlayout1.addWidget(self.NameCompanyLineEdit, 1, 1, 1, 1)
        self.label_4 = QtGui.QLabel(self.tab)
        self.label_4.setObjectName("label_4")
        self.gridlayout1.addWidget(self.label_4, 2, 0, 1, 1)
        self.FaxNumberLineEdit = QtGui.QLineEdit(self.tab)
        self.FaxNumberLineEdit.setObjectName("FaxNumberLineEdit")
        self.gridlayout1.addWidget(self.FaxNumberLineEdit, 2, 1, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout1.addItem(spacerItem, 3, 1, 1, 1)
        self.tabWidget.addTab(self.tab, "")
        self.tab_2 = QtGui.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.gridlayout2 = QtGui.QGridLayout(self.tab_2)
        self.gridlayout2.setObjectName("gridlayout2")
        self.label_5 = QtGui.QLabel(self.tab_2)
        self.label_5.setObjectName("label_5")
        self.gridlayout2.addWidget(self.label_5, 0, 0, 1, 2)
        self.label_6 = QtGui.QLabel(self.tab_2)
        self.label_6.setObjectName("label_6")
        self.gridlayout2.addWidget(self.label_6, 1, 0, 1, 1)
        self.VoiceNumberLineEdit = QtGui.QLineEdit(self.tab_2)
        self.VoiceNumberLineEdit.setObjectName("VoiceNumberLineEdit")
        self.gridlayout2.addWidget(self.VoiceNumberLineEdit, 1, 1, 1, 1)
        self.label_7 = QtGui.QLabel(self.tab_2)
        self.label_7.setObjectName("label_7")
        self.gridlayout2.addWidget(self.label_7, 2, 0, 1, 1)
        self.EmailLineEdit = QtGui.QLineEdit(self.tab_2)
        self.EmailLineEdit.setObjectName("EmailLineEdit")
        self.gridlayout2.addWidget(self.EmailLineEdit, 2, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 131, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout2.addItem(spacerItem1, 3, 1, 1, 1)
        self.tabWidget.addTab(self.tab_2, "")
        self.gridlayout.addWidget(self.tabWidget, 3, 0, 1, 3)
        spacerItem2 = QtGui.QSpacerItem(371, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem2, 4, 0, 1, 1)
        self.CancelButton = QtGui.QPushButton(Dialog)
        self.CancelButton.setObjectName("CancelButton")
        self.gridlayout.addWidget(self.CancelButton, 4, 2, 1, 1)

        self.retranslateUi(Dialog)
        self.tabWidget.setCurrentIndex(1)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(700, 500)
        self.gridlayout = QtGui.QGridLayout(Dialog)
        self.gridlayout.setObjectName("gridlayout")
        self.label = QtGui.QLabel(Dialog)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label, 0, 0, 1, 1)
        self.line = QtGui.QFrame(Dialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridlayout.addWidget(self.line, 1, 0, 1, 3)
        self.DeviceComboBox = DeviceUriComboBox(Dialog)
        self.DeviceComboBox.setObjectName("DeviceComboBox")
        self.gridlayout.addWidget(self.DeviceComboBox, 2, 0, 1, 3)
        self.TabWidget = QtGui.QTabWidget(Dialog)
        self.TabWidget.setObjectName("TabWidget")
        self.PowerSettingsTab = QtGui.QWidget()
        self.PowerSettingsTab.setObjectName("PowerSettingsTab")
        self.gridlayout1 = QtGui.QGridLayout(self.PowerSettingsTab)
        self.gridlayout1.setObjectName("gridlayout1")
        self.groupBox = QtGui.QGroupBox(self.PowerSettingsTab)
        self.groupBox.setObjectName("groupBox")
        self.gridlayout2 = QtGui.QGridLayout(self.groupBox)
        self.gridlayout2.setObjectName("gridlayout2")
        self.OnRadioButton = QtGui.QRadioButton(self.groupBox)
        self.OnRadioButton.setObjectName("OnRadioButton")
        self.gridlayout2.addWidget(self.OnRadioButton, 0, 0, 1, 2)
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName("hboxlayout")
        self.OffRadioButton = QtGui.QRadioButton(self.groupBox)
        self.OffRadioButton.setEnabled(True)
        self.OffRadioButton.setObjectName("OffRadioButton")
        self.hboxlayout.addWidget(self.OffRadioButton)
        self.DurationComboBox = QtGui.QComboBox(self.groupBox)
        self.DurationComboBox.setEnabled(False)
        self.DurationComboBox.setObjectName("DurationComboBox")
        self.hboxlayout.addWidget(self.DurationComboBox)
        self.gridlayout2.addLayout(self.hboxlayout, 1, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout2.addItem(spacerItem, 1, 1, 1, 1)
        self.gridlayout1.addWidget(self.groupBox, 0, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(282, 51, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout1.addItem(spacerItem1, 1, 0, 1, 1)
        self.TabWidget.addTab(self.PowerSettingsTab, "")
        self.gridlayout.addWidget(self.TabWidget, 3, 0, 1, 3)
        spacerItem2 = QtGui.QSpacerItem(510, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
        self.gridlayout.addItem(spacerItem2, 4, 0, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(361, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem3, 5, 0, 1, 1)
        self.CancelButton = QtGui.QPushButton(Dialog)
        self.CancelButton.setObjectName("CancelButton")
        self.gridlayout.addWidget(self.CancelButton, 5, 2, 1, 1)

        self.retranslateUi(Dialog)
        self.TabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.OffRadioButton, QtCore.SIGNAL("toggled(bool)"), self.DurationComboBox.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(
            QtGui.QApplication.translate(
                "Dialog", "HP Device Manager - Device Setup", None, QtGui.QApplication.UnicodeUTF8
            )
        )
        self.label.setText(QtGui.QApplication.translate("Dialog", "Device Setup", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(
            QtGui.QApplication.translate("Dialog", "Automatic Power Off", None, QtGui.QApplication.UnicodeUTF8)
        )
        self.OnRadioButton.setText(
            QtGui.QApplication.translate("Dialog", "Always leave printer on", None, QtGui.QApplication.UnicodeUTF8)
        )
        self.OffRadioButton.setText(
            QtGui.QApplication.translate(
                "Dialog", "Automatically turn printer off after:", None, QtGui.QApplication.UnicodeUTF8
            )
        )
        self.TabWidget.setTabText(
            self.TabWidget.indexOf(self.PowerSettingsTab),
            QtGui.QApplication.translate("Dialog", "Power Settings", None, QtGui.QApplication.UnicodeUTF8),
        )
        self.CancelButton.setText(QtGui.QApplication.translate("Dialog", "Close", None, QtGui.QApplication.UnicodeUTF8))
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(700, 500)
        self.gridlayout = QtGui.QGridLayout(Dialog)
        self.gridlayout.setObjectName("gridlayout")
        self.label = QtGui.QLabel(Dialog)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label, 0, 0, 1, 2)
        self.line = QtGui.QFrame(Dialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridlayout.addWidget(self.line, 1, 0, 1, 4)
        self.StackedWidget = QtGui.QStackedWidget(Dialog)
        self.StackedWidget.setFrameShape(QtGui.QFrame.NoFrame)
        self.StackedWidget.setObjectName("StackedWidget")
        self.StartPage = QtGui.QWidget()
        self.StartPage.setObjectName("StartPage")
        self.gridlayout1 = QtGui.QGridLayout(self.StartPage)
        self.gridlayout1.setObjectName("gridlayout1")
        self.DeviceComboBox = DeviceUriComboBox(self.StartPage)
        self.DeviceComboBox.setObjectName("DeviceComboBox")
        self.gridlayout1.addWidget(self.DeviceComboBox, 0, 0, 1, 1)
        self.groupBox = QtGui.QGroupBox(self.StartPage)
        self.groupBox.setObjectName("groupBox")
        self.gridlayout2 = QtGui.QGridLayout(self.groupBox)
        self.gridlayout2.setObjectName("gridlayout2")
        self.Prompt = QtGui.QLabel(self.groupBox)
        self.Prompt.setObjectName("Prompt")
        self.gridlayout2.addWidget(self.Prompt, 0, 0, 1, 1)
        self.gridlayout1.addWidget(self.groupBox, 1, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout1.addItem(spacerItem, 2, 0, 1, 1)
        self.StackedWidget.addWidget(self.StartPage)
        self.Level1Page = QtGui.QWidget()
        self.Level1Page.setObjectName("Level1Page")
        self.gridlayout3 = QtGui.QGridLayout(self.Level1Page)
        self.gridlayout3.setObjectName("gridlayout3")
        self.LoadPaper = LoadPaperGroupBox(self.Level1Page)
        self.LoadPaper.setObjectName("LoadPaper")
        self.gridlayout3.addWidget(self.LoadPaper, 0, 0, 1, 1)
        self.groupBox_2 = QtGui.QGroupBox(self.Level1Page)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridlayout4 = QtGui.QGridLayout(self.groupBox_2)
        self.gridlayout4.setObjectName("gridlayout4")
        self.Prompt_2 = QtGui.QLabel(self.groupBox_2)
        self.Prompt_2.setWordWrap(True)
        self.Prompt_2.setObjectName("Prompt_2")
        self.gridlayout4.addWidget(self.Prompt_2, 0, 0, 1, 1)
        self.gridlayout3.addWidget(self.groupBox_2, 1, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout3.addItem(spacerItem1, 2, 0, 1, 1)
        self.StackedWidget.addWidget(self.Level1Page)
        self.Level2Page = QtGui.QWidget()
        self.Level2Page.setObjectName("Level2Page")
        self.gridlayout5 = QtGui.QGridLayout(self.Level2Page)
        self.gridlayout5.setObjectName("gridlayout5")
        self.LoadPaper_2 = LoadPaperGroupBox(self.Level2Page)
        self.LoadPaper_2.setObjectName("LoadPaper_2")
        self.gridlayout5.addWidget(self.LoadPaper_2, 0, 0, 1, 1)
        self.groupBox_3 = QtGui.QGroupBox(self.Level2Page)
        self.groupBox_3.setObjectName("groupBox_3")
        self.gridlayout6 = QtGui.QGridLayout(self.groupBox_3)
        self.gridlayout6.setObjectName("gridlayout6")
        self.Prompt_5 = QtGui.QLabel(self.groupBox_3)
        self.Prompt_5.setWordWrap(True)
        self.Prompt_5.setObjectName("Prompt_5")
        self.gridlayout6.addWidget(self.Prompt_5, 0, 0, 1, 1)
        self.gridlayout5.addWidget(self.groupBox_3, 1, 0, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(20, 91, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout5.addItem(spacerItem2, 2, 0, 1, 1)
        self.StackedWidget.addWidget(self.Level2Page)
        self.Level3Page = QtGui.QWidget()
        self.Level3Page.setObjectName("Level3Page")
        self.gridlayout7 = QtGui.QGridLayout(self.Level3Page)
        self.gridlayout7.setObjectName("gridlayout7")
        self.LoadPaper_3 = LoadPaperGroupBox(self.Level3Page)
        self.LoadPaper_3.setObjectName("LoadPaper_3")
        self.gridlayout7.addWidget(self.LoadPaper_3, 0, 0, 1, 1)
        self.groupBox_4 = QtGui.QGroupBox(self.Level3Page)
        self.groupBox_4.setObjectName("groupBox_4")
        self.gridlayout8 = QtGui.QGridLayout(self.groupBox_4)
        self.gridlayout8.setObjectName("gridlayout8")
        self.Prompt_6 = QtGui.QLabel(self.groupBox_4)
        self.Prompt_6.setWordWrap(True)
        self.Prompt_6.setObjectName("Prompt_6")
        self.gridlayout8.addWidget(self.Prompt_6, 0, 0, 1, 1)
        self.gridlayout7.addWidget(self.groupBox_4, 1, 0, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(20, 71, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout7.addItem(spacerItem3, 2, 0, 1, 1)
        self.StackedWidget.addWidget(self.Level3Page)
        self.FrontPanelPage = QtGui.QWidget()
        self.FrontPanelPage.setObjectName("FrontPanelPage")
        self.gridlayout9 = QtGui.QGridLayout(self.FrontPanelPage)
        self.gridlayout9.setObjectName("gridlayout9")
        self.label_2 = QtGui.QLabel(self.FrontPanelPage)
        self.label_2.setTextFormat(QtCore.Qt.RichText)
        self.label_2.setWordWrap(True)
        self.label_2.setObjectName("label_2")
        self.gridlayout9.addWidget(self.label_2, 0, 0, 1, 1)
        spacerItem4 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout9.addItem(spacerItem4, 1, 0, 1, 1)
        self.StackedWidget.addWidget(self.FrontPanelPage)
        self.gridlayout.addWidget(self.StackedWidget, 2, 0, 1, 4)
        self.line_2 = QtGui.QFrame(Dialog)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.gridlayout.addWidget(self.line_2, 4, 0, 1, 4)
        self.StepText = QtGui.QLabel(Dialog)
        self.StepText.setObjectName("StepText")
        self.gridlayout.addWidget(self.StepText, 5, 0, 1, 1)
        spacerItem5 = QtGui.QSpacerItem(351, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem5, 5, 1, 1, 1)
        self.NextButton = QtGui.QPushButton(Dialog)
        self.NextButton.setObjectName("NextButton")
        self.gridlayout.addWidget(self.NextButton, 5, 2, 1, 1)
        self.CancelButton = QtGui.QPushButton(Dialog)
        self.CancelButton.setObjectName("CancelButton")
        self.gridlayout.addWidget(self.CancelButton, 5, 3, 1, 1)

        self.retranslateUi(Dialog)
        self.StackedWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(Dialog)

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "HP Device Manager - Clean Print Cartridges", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("Dialog", "Clean Print Cartridges", None, QtGui.QApplication.UnicodeUTF8))
        self.Prompt.setText(QtGui.QApplication.translate("Dialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Click<span style=\" font-style:italic;\"> Next</span> to begin the cleaning process.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.Prompt_2.setText(QtGui.QApplication.translate("Dialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Click <span style=\" font-style:italic;\">Clean</span> to begin the level 1 cleaning process.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.Prompt_5.setText(QtGui.QApplication.translate("Dialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Cleaning level 1 is done after the page being printed is complete.</span> If the printed output from level 1 cleaning is acceptable, then click <span style=\" font-style:italic;\">Cancel</span> to exit. Otherwise, click <span style=\" font-style:italic;\">Clean</span> again to begin the level 2 cleaning process.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.Prompt_6.setText(QtGui.QApplication.translate("Dialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Cleaning level 2 is done after the page being printed is complete.</span> If the printed output from level 2 cleaning is acceptable, then click <span style=\" font-style:italic;\">Cancel</span> to exit. Otherwise, click <span style=\" font-style:italic;\">Clean</span> again to begin the level 3 cleaning process. </p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("Dialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600;\">Cartridge cleaning on this printer is only available by accessing the front panel of the printer. </span>Please refer to the user guide for the printer for more information. Click <span style=\" font-style:italic;\">Finish</span> to exit.</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.StepText.setText(QtGui.QApplication.translate("Dialog", "Step %1 of %2", None, QtGui.QApplication.UnicodeUTF8))
        self.NextButton.setText(QtGui.QApplication.translate("Dialog", "Next >", None, QtGui.QApplication.UnicodeUTF8))
        self.CancelButton.setText(QtGui.QApplication.translate("Dialog", "Cancel", None, QtGui.QApplication.UnicodeUTF8))
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(700, 500)
        self.gridlayout = QtGui.QGridLayout(Dialog)
        self.gridlayout.setObjectName("gridlayout")
        self.label = QtGui.QLabel(Dialog)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label, 0, 0, 1, 1)
        self.line = QtGui.QFrame(Dialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridlayout.addWidget(self.line, 1, 0, 1, 3)
        self.DeviceComboBox = DeviceUriComboBox(Dialog)
        self.DeviceComboBox.setObjectName("DeviceComboBox")
        self.gridlayout.addWidget(self.DeviceComboBox, 2, 0, 1, 3)
        self.TabWidget = QtGui.QTabWidget(Dialog)
        self.TabWidget.setObjectName("TabWidget")
        self.PowerSettingsTab = QtGui.QWidget()
        self.PowerSettingsTab.setObjectName("PowerSettingsTab")
        self.gridlayout1 = QtGui.QGridLayout(self.PowerSettingsTab)
        self.gridlayout1.setObjectName("gridlayout1")
        self.groupBox = QtGui.QGroupBox(self.PowerSettingsTab)
        self.groupBox.setObjectName("groupBox")
        self.gridlayout2 = QtGui.QGridLayout(self.groupBox)
        self.gridlayout2.setObjectName("gridlayout2")
        self.OnRadioButton = QtGui.QRadioButton(self.groupBox)
        self.OnRadioButton.setObjectName("OnRadioButton")
        self.gridlayout2.addWidget(self.OnRadioButton, 0, 0, 1, 2)
        self.hboxlayout = QtGui.QHBoxLayout()
        self.hboxlayout.setObjectName("hboxlayout")
        self.OffRadioButton = QtGui.QRadioButton(self.groupBox)
        self.OffRadioButton.setEnabled(True)
        self.OffRadioButton.setObjectName("OffRadioButton")
        self.hboxlayout.addWidget(self.OffRadioButton)
        self.DurationComboBox = QtGui.QComboBox(self.groupBox)
        self.DurationComboBox.setEnabled(False)
        self.DurationComboBox.setObjectName("DurationComboBox")
        self.hboxlayout.addWidget(self.DurationComboBox)
        self.gridlayout2.addLayout(self.hboxlayout, 1, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout2.addItem(spacerItem, 1, 1, 1, 1)
        self.gridlayout1.addWidget(self.groupBox, 0, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(282, 51, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout1.addItem(spacerItem1, 1, 0, 1, 1)
        self.TabWidget.addTab(self.PowerSettingsTab, "")
        self.gridlayout.addWidget(self.TabWidget, 3, 0, 1, 3)
        spacerItem2 = QtGui.QSpacerItem(510, 20, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Preferred)
        self.gridlayout.addItem(spacerItem2, 4, 0, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(361, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem3, 5, 0, 1, 1)
        self.CancelButton = QtGui.QPushButton(Dialog)
        self.CancelButton.setObjectName("CancelButton")
        self.gridlayout.addWidget(self.CancelButton, 5, 2, 1, 1)

        self.retranslateUi(Dialog)
        self.TabWidget.setCurrentIndex(0)
        QtCore.QObject.connect(self.OffRadioButton, QtCore.SIGNAL("toggled(bool)"), self.DurationComboBox.setEnabled)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(700, 500)
        self.gridlayout = QtGui.QGridLayout(Dialog)
        self.gridlayout.setObjectName("gridlayout")
        self.label = QtGui.QLabel(Dialog)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label, 0, 0, 1, 2)
        self.line = QtGui.QFrame(Dialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridlayout.addWidget(self.line, 1, 0, 1, 4)
        self.StackedWidget = QtGui.QStackedWidget(Dialog)
        self.StackedWidget.setFrameShape(QtGui.QFrame.NoFrame)
        self.StackedWidget.setObjectName("StackedWidget")
        self.StartPage = QtGui.QWidget()
        self.StartPage.setObjectName("StartPage")
        self.gridlayout1 = QtGui.QGridLayout(self.StartPage)
        self.gridlayout1.setObjectName("gridlayout1")
        self.DeviceComboBox = DeviceUriComboBox(self.StartPage)
        self.DeviceComboBox.setObjectName("DeviceComboBox")
        self.gridlayout1.addWidget(self.DeviceComboBox, 0, 0, 1, 1)
        self.groupBox = QtGui.QGroupBox(self.StartPage)
        self.groupBox.setObjectName("groupBox")
        self.gridlayout2 = QtGui.QGridLayout(self.groupBox)
        self.gridlayout2.setObjectName("gridlayout2")
        self.Prompt = QtGui.QLabel(self.groupBox)
        self.Prompt.setObjectName("Prompt")
        self.gridlayout2.addWidget(self.Prompt, 0, 0, 1, 1)
        self.gridlayout1.addWidget(self.groupBox, 1, 0, 1, 1)
        spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout1.addItem(spacerItem, 2, 0, 1, 1)
        self.StackedWidget.addWidget(self.StartPage)
        self.Level1Page = QtGui.QWidget()
        self.Level1Page.setObjectName("Level1Page")
        self.gridlayout3 = QtGui.QGridLayout(self.Level1Page)
        self.gridlayout3.setObjectName("gridlayout3")
        self.LoadPaper = LoadPaperGroupBox(self.Level1Page)
        self.LoadPaper.setObjectName("LoadPaper")
        self.gridlayout3.addWidget(self.LoadPaper, 0, 0, 1, 1)
        self.groupBox_2 = QtGui.QGroupBox(self.Level1Page)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridlayout4 = QtGui.QGridLayout(self.groupBox_2)
        self.gridlayout4.setObjectName("gridlayout4")
        self.Prompt_2 = QtGui.QLabel(self.groupBox_2)
        self.Prompt_2.setWordWrap(True)
        self.Prompt_2.setObjectName("Prompt_2")
        self.gridlayout4.addWidget(self.Prompt_2, 0, 0, 1, 1)
        self.gridlayout3.addWidget(self.groupBox_2, 1, 0, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout3.addItem(spacerItem1, 2, 0, 1, 1)
        self.StackedWidget.addWidget(self.Level1Page)
        self.Level2Page = QtGui.QWidget()
        self.Level2Page.setObjectName("Level2Page")
        self.gridlayout5 = QtGui.QGridLayout(self.Level2Page)
        self.gridlayout5.setObjectName("gridlayout5")
        self.LoadPaper_2 = LoadPaperGroupBox(self.Level2Page)
        self.LoadPaper_2.setObjectName("LoadPaper_2")
        self.gridlayout5.addWidget(self.LoadPaper_2, 0, 0, 1, 1)
        self.groupBox_3 = QtGui.QGroupBox(self.Level2Page)
        self.groupBox_3.setObjectName("groupBox_3")
        self.gridlayout6 = QtGui.QGridLayout(self.groupBox_3)
        self.gridlayout6.setObjectName("gridlayout6")
        self.Prompt_5 = QtGui.QLabel(self.groupBox_3)
        self.Prompt_5.setWordWrap(True)
        self.Prompt_5.setObjectName("Prompt_5")
        self.gridlayout6.addWidget(self.Prompt_5, 0, 0, 1, 1)
        self.gridlayout5.addWidget(self.groupBox_3, 1, 0, 1, 1)
        spacerItem2 = QtGui.QSpacerItem(20, 91, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout5.addItem(spacerItem2, 2, 0, 1, 1)
        self.StackedWidget.addWidget(self.Level2Page)
        self.Level3Page = QtGui.QWidget()
        self.Level3Page.setObjectName("Level3Page")
        self.gridlayout7 = QtGui.QGridLayout(self.Level3Page)
        self.gridlayout7.setObjectName("gridlayout7")
        self.LoadPaper_3 = LoadPaperGroupBox(self.Level3Page)
        self.LoadPaper_3.setObjectName("LoadPaper_3")
        self.gridlayout7.addWidget(self.LoadPaper_3, 0, 0, 1, 1)
        self.groupBox_4 = QtGui.QGroupBox(self.Level3Page)
        self.groupBox_4.setObjectName("groupBox_4")
        self.gridlayout8 = QtGui.QGridLayout(self.groupBox_4)
        self.gridlayout8.setObjectName("gridlayout8")
        self.Prompt_6 = QtGui.QLabel(self.groupBox_4)
        self.Prompt_6.setWordWrap(True)
        self.Prompt_6.setObjectName("Prompt_6")
        self.gridlayout8.addWidget(self.Prompt_6, 0, 0, 1, 1)
        self.gridlayout7.addWidget(self.groupBox_4, 1, 0, 1, 1)
        spacerItem3 = QtGui.QSpacerItem(20, 71, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout7.addItem(spacerItem3, 2, 0, 1, 1)
        self.StackedWidget.addWidget(self.Level3Page)
        self.FrontPanelPage = QtGui.QWidget()
        self.FrontPanelPage.setObjectName("FrontPanelPage")
        self.gridlayout9 = QtGui.QGridLayout(self.FrontPanelPage)
        self.gridlayout9.setObjectName("gridlayout9")
        self.label_2 = QtGui.QLabel(self.FrontPanelPage)
        self.label_2.setTextFormat(QtCore.Qt.RichText)
        self.label_2.setWordWrap(True)
        self.label_2.setObjectName("label_2")
        self.gridlayout9.addWidget(self.label_2, 0, 0, 1, 1)
        spacerItem4 = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
        self.gridlayout9.addItem(spacerItem4, 1, 0, 1, 1)
        self.StackedWidget.addWidget(self.FrontPanelPage)
        self.gridlayout.addWidget(self.StackedWidget, 2, 0, 1, 4)
        self.line_2 = QtGui.QFrame(Dialog)
        self.line_2.setFrameShape(QtGui.QFrame.HLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName("line_2")
        self.gridlayout.addWidget(self.line_2, 4, 0, 1, 4)
        self.StepText = QtGui.QLabel(Dialog)
        self.StepText.setObjectName("StepText")
        self.gridlayout.addWidget(self.StepText, 5, 0, 1, 1)
        spacerItem5 = QtGui.QSpacerItem(351, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem5, 5, 1, 1, 1)
        self.NextButton = QtGui.QPushButton(Dialog)
        self.NextButton.setObjectName("NextButton")
        self.gridlayout.addWidget(self.NextButton, 5, 2, 1, 1)
        self.CancelButton = QtGui.QPushButton(Dialog)
        self.CancelButton.setObjectName("CancelButton")
        self.gridlayout.addWidget(self.CancelButton, 5, 3, 1, 1)

        self.retranslateUi(Dialog)
        self.StackedWidget.setCurrentIndex(0)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
Beispiel #30
0
class Ui_Dialog(object):
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.setWindowModality(QtCore.Qt.ApplicationModal)
        Dialog.resize(700, 500)
        self.gridlayout = QtGui.QGridLayout(Dialog)
        self.gridlayout.setObjectName("gridlayout")
        self.label = QtGui.QLabel(Dialog)
        font = QtGui.QFont()
        font.setPointSize(16)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.gridlayout.addWidget(self.label, 0, 0, 1, 1)
        self.line = QtGui.QFrame(Dialog)
        self.line.setFrameShape(QtGui.QFrame.HLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName("line")
        self.gridlayout.addWidget(self.line, 1, 0, 1, 3)
        self.DeviceComboBox = DeviceUriComboBox(Dialog)
        self.DeviceComboBox.setObjectName("DeviceComboBox")
        self.gridlayout.addWidget(self.DeviceComboBox, 2, 0, 1, 3)
        self.frame = QtGui.QFrame(Dialog)
        self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
        self.frame.setFrameShadow(QtGui.QFrame.Raised)
        self.frame.setObjectName("frame")
        self.gridlayout1 = QtGui.QGridLayout(self.frame)
        self.gridlayout1.setObjectName("gridlayout1")
        self.label_2 = QtGui.QLabel(self.frame)
        self.label_2.setObjectName("label_2")
        self.gridlayout1.addWidget(self.label_2, 0, 0, 1, 1)
        self.gridlayout.addWidget(self.frame, 3, 0, 1, 3)
        spacerItem = QtGui.QSpacerItem(20, 171, QtGui.QSizePolicy.Minimum,
                                       QtGui.QSizePolicy.Expanding)
        self.gridlayout.addItem(spacerItem, 4, 1, 1, 1)
        spacerItem1 = QtGui.QSpacerItem(301, 20, QtGui.QSizePolicy.Expanding,
                                        QtGui.QSizePolicy.Minimum)
        self.gridlayout.addItem(spacerItem1, 5, 0, 1, 1)
        self.DownloadFirmwareButton = QtGui.QPushButton(Dialog)
        self.DownloadFirmwareButton.setObjectName("DownloadFirmwareButton")
        self.gridlayout.addWidget(self.DownloadFirmwareButton, 5, 1, 1, 1)
        self.CancelButton = QtGui.QPushButton(Dialog)
        self.CancelButton.setObjectName("CancelButton")
        self.gridlayout.addWidget(self.CancelButton, 5, 2, 1, 1)

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

    def retranslateUi(self, Dialog):
        Dialog.setWindowTitle(
            QtGui.QApplication.translate(
                "Dialog", "HP Device Manager - Download Firmware", None,
                QtGui.QApplication.UnicodeUTF8))
        self.label.setText(
            QtGui.QApplication.translate("Dialog", "Download Firmware", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(
            QtGui.QApplication.translate(
                "Dialog",
                "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
                "p, li { white-space: pre-wrap; }\n"
                "</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
                "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Click<span style=\" font-style:italic;\"> Download Firmware</span> to begin download process.</p></body></html>",
                None, QtGui.QApplication.UnicodeUTF8))
        self.DownloadFirmwareButton.setText(
            QtGui.QApplication.translate("Dialog", "Download Firmware", None,
                                         QtGui.QApplication.UnicodeUTF8))
        self.CancelButton.setText(
            QtGui.QApplication.translate("Dialog", "Cancel", None,
                                         QtGui.QApplication.UnicodeUTF8))