1 # -*- coding: utf-8 -*-
3 # Form implementation generated from reading ui file 'ui4/firmwaredialog_base.ui'
5 # Created: Mon May 4 14:30:33 2009
6 # by: PyQt4 UI code generator 4.4.4
8 # WARNING! All changes made in this file will be lost!
10 from PyQt4 import QtCore, QtGui
12 class Ui_Dialog(object):
13 def setupUi(self, Dialog):
14 Dialog.setObjectName("Dialog")
15 Dialog.setWindowModality(QtCore.Qt.ApplicationModal)
16 Dialog.resize(700, 500)
17 self.gridlayout = QtGui.QGridLayout(Dialog)
18 self.gridlayout.setObjectName("gridlayout")
19 self.label = QtGui.QLabel(Dialog)
22 self.label.setFont(font)
23 self.label.setObjectName("label")
24 self.gridlayout.addWidget(self.label, 0, 0, 1, 1)
25 self.line = QtGui.QFrame(Dialog)
26 self.line.setFrameShape(QtGui.QFrame.HLine)
27 self.line.setFrameShadow(QtGui.QFrame.Sunken)
28 self.line.setObjectName("line")
29 self.gridlayout.addWidget(self.line, 1, 0, 1, 3)
30 self.DeviceComboBox = DeviceUriComboBox(Dialog)
31 self.DeviceComboBox.setObjectName("DeviceComboBox")
32 self.gridlayout.addWidget(self.DeviceComboBox, 2, 0, 1, 3)
33 self.frame = QtGui.QFrame(Dialog)
34 self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
35 self.frame.setFrameShadow(QtGui.QFrame.Raised)
36 self.frame.setObjectName("frame")
37 self.gridlayout1 = QtGui.QGridLayout(self.frame)
38 self.gridlayout1.setObjectName("gridlayout1")
39 self.label_2 = QtGui.QLabel(self.frame)
40 self.label_2.setObjectName("label_2")
41 self.gridlayout1.addWidget(self.label_2, 0, 0, 1, 1)
42 self.gridlayout.addWidget(self.frame, 3, 0, 1, 3)
43 spacerItem = QtGui.QSpacerItem(20, 171, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
44 self.gridlayout.addItem(spacerItem, 4, 1, 1, 1)
45 spacerItem1 = QtGui.QSpacerItem(301, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
46 self.gridlayout.addItem(spacerItem1, 5, 0, 1, 1)
47 self.DownloadFirmwareButton = QtGui.QPushButton(Dialog)
48 self.DownloadFirmwareButton.setObjectName("DownloadFirmwareButton")
49 self.gridlayout.addWidget(self.DownloadFirmwareButton, 5, 1, 1, 1)
50 self.CancelButton = QtGui.QPushButton(Dialog)
51 self.CancelButton.setObjectName("CancelButton")
52 self.gridlayout.addWidget(self.CancelButton, 5, 2, 1, 1)
54 self.retranslateUi(Dialog)
55 QtCore.QMetaObject.connectSlotsByName(Dialog)
57 def retranslateUi(self, Dialog):
58 Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "HP Device Manager - Download Firmware", None, QtGui.QApplication.UnicodeUTF8))
59 self.label.setText(QtGui.QApplication.translate("Dialog", "Download Firmware", None, QtGui.QApplication.UnicodeUTF8))
60 self.label_2.setText(QtGui.QApplication.translate("Dialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
61 "p, li { white-space: pre-wrap; }\n"
62 "</style></head><body style=\" font-family:\'DejaVu Sans\'; font-size:10pt; font-weight:400; font-style:normal;\">\n"
63 "<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))
64 self.DownloadFirmwareButton.setText(QtGui.QApplication.translate("Dialog", "Download Firmware", None, QtGui.QApplication.UnicodeUTF8))
65 self.CancelButton.setText(QtGui.QApplication.translate("Dialog", "Cancel", None, QtGui.QApplication.UnicodeUTF8))
67 from deviceuricombobox import DeviceUriComboBox