1 # -*- coding: utf-8 -*-
3 # Form implementation generated from reading ui file 'ui4/nodevicesdialog_base.ui'
5 # Created: Mon May 4 14:30:34 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_NoDevicesDialog_base(object):
13 def setupUi(self, NoDevicesDialog_base):
14 NoDevicesDialog_base.setObjectName("NoDevicesDialog_base")
15 NoDevicesDialog_base.resize(539, 335)
16 self.gridlayout = QtGui.QGridLayout(NoDevicesDialog_base)
17 self.gridlayout.setObjectName("gridlayout")
18 self.Icon = QtGui.QLabel(NoDevicesDialog_base)
19 sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
20 sizePolicy.setHorizontalStretch(0)
21 sizePolicy.setVerticalStretch(0)
22 sizePolicy.setHeightForWidth(self.Icon.sizePolicy().hasHeightForWidth())
23 self.Icon.setSizePolicy(sizePolicy)
24 self.Icon.setFrameShape(QtGui.QFrame.NoFrame)
25 self.Icon.setScaledContents(True)
26 self.Icon.setWordWrap(False)
27 self.Icon.setObjectName("Icon")
28 self.gridlayout.addWidget(self.Icon, 0, 0, 1, 1)
29 spacerItem = QtGui.QSpacerItem(20, 280, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
30 self.gridlayout.addItem(spacerItem, 1, 0, 1, 1)
31 spacerItem1 = QtGui.QSpacerItem(20, 16, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
32 self.gridlayout.addItem(spacerItem1, 2, 2, 1, 1)
33 self.textLabel7 = QtGui.QLabel(NoDevicesDialog_base)
34 self.textLabel7.setAlignment(QtCore.Qt.AlignVCenter)
35 self.textLabel7.setWordWrap(True)
36 self.textLabel7.setObjectName("textLabel7")
37 self.gridlayout.addWidget(self.textLabel7, 0, 1, 2, 4)
38 spacerItem2 = QtGui.QSpacerItem(400, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
39 self.gridlayout.addItem(spacerItem2, 3, 0, 1, 2)
40 self.SetupButton = QtGui.QPushButton(NoDevicesDialog_base)
41 self.SetupButton.setObjectName("SetupButton")
42 self.gridlayout.addWidget(self.SetupButton, 3, 2, 1, 1)
43 self.CUPSButton = QtGui.QPushButton(NoDevicesDialog_base)
44 self.CUPSButton.setObjectName("CUPSButton")
45 self.gridlayout.addWidget(self.CUPSButton, 3, 3, 1, 1)
46 self.CloseButton = QtGui.QPushButton(NoDevicesDialog_base)
47 self.CloseButton.setDefault(True)
48 self.CloseButton.setObjectName("CloseButton")
49 self.gridlayout.addWidget(self.CloseButton, 3, 4, 1, 1)
51 self.retranslateUi(NoDevicesDialog_base)
52 QtCore.QMetaObject.connectSlotsByName(NoDevicesDialog_base)
54 def retranslateUi(self, NoDevicesDialog_base):
55 NoDevicesDialog_base.setWindowTitle(QtGui.QApplication.translate("NoDevicesDialog_base", "HP Device Manager - No Installed HP Devices Found", None, QtGui.QApplication.UnicodeUTF8))
56 self.textLabel7.setText(QtGui.QApplication.translate("NoDevicesDialog_base", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
57 "p, li { white-space: pre-wrap; }\n"
58 "</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
59 "<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:x-large; font-weight:600;\">No Installed HP Devices Found.</span></p>\n"
60 "<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">To setup a new device in the HP Device Manager (toolbox), use one of the following methods:</p>\n"
61 "<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">1.Run <span style=\" font-weight:600;\">hp-setup</span> (in a shell/terminal or click <span style=\" font-family:\'Courier New,courier\';\">Setup Device...</span> below).</p>\n"
62 "<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">2. <span style=\" font-weight:600;\">CUPS web interface</span> (open a browser to: <span style=\" text-decoration: underline;\">http://localhost:631</span> or press the button below),</p>\n"
63 "<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">3. The <span style=\" font-weight:600;\">printer installation utility</span> that came with your operating system (YaST, PrinterDrake, etc). </p>\n"
64 "<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">After setting up a printer, you may have to press <span style=\" font-family:\'Courier New,courier\';\">F6</span> or chose <span style=\" font-family:\'Courier New,courier\';\">Device | Refresh All</span> for the printer to appear in the HP Device Manager.</p>\n"
65 "<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; font-style:italic;\">Note: Only devices installed with the </span><span style=\" font-family:\'Courier New,courier\'; font-weight:600; font-style:italic;\">hp:</span><span style=\" font-weight:600; font-style:italic;\"> or </span><span style=\" font-family:\'Courier New,courier\'; font-weight:600; font-style:italic;\">hpfax:</span><span style=\" font-weight:600; font-style:italic;\"> CUPS backend will appear in the HP Device Manager.</span></p>\n"
66 "<p style=\"-qt-paragraph-type:empty; margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
67 self.SetupButton.setText(QtGui.QApplication.translate("NoDevicesDialog_base", "Setup Device...", None, QtGui.QApplication.UnicodeUTF8))
68 self.CUPSButton.setText(QtGui.QApplication.translate("NoDevicesDialog_base", "CUPS Web Interface", None, QtGui.QApplication.UnicodeUTF8))
69 self.CloseButton.setText(QtGui.QApplication.translate("NoDevicesDialog_base", "Close", None, QtGui.QApplication.UnicodeUTF8))