~ubuntu-branches/ubuntu/raring/hplip/raring

« back to all changes in this revision

Viewing changes to ui4/nodevicesdialog_base.py

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2009-12-14 20:08:44 UTC
  • mfrom: (2.1.118 lucid)
  • Revision ID: james.westby@ubuntu.com-20091214200844-z8qhqwgppbu3t7ze
Tags: 3.9.10-4
KBSD patch from KiBi (Closes: #560796)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
# Form implementation generated from reading ui file 'ui4/nodevicesdialog_base.ui'
4
4
#
5
 
# Created: Thu Apr  9 13:51:54 2009
6
 
#      by: PyQt4 UI code generator 4.3.3
 
5
# Created: Mon May  4 14:30:34 2009
 
6
#      by: PyQt4 UI code generator 4.4.4
7
7
#
8
8
# WARNING! All changes made in this file will be lost!
9
9
 
12
12
class Ui_NoDevicesDialog_base(object):
13
13
    def setupUi(self, NoDevicesDialog_base):
14
14
        NoDevicesDialog_base.setObjectName("NoDevicesDialog_base")
15
 
        NoDevicesDialog_base.resize(QtCore.QSize(QtCore.QRect(0,0,539,335).size()).expandedTo(NoDevicesDialog_base.minimumSizeHint()))
16
 
 
 
15
        NoDevicesDialog_base.resize(539, 335)
17
16
        self.gridlayout = QtGui.QGridLayout(NoDevicesDialog_base)
18
17
        self.gridlayout.setObjectName("gridlayout")
19
 
 
20
18
        self.Icon = QtGui.QLabel(NoDevicesDialog_base)
21
 
 
22
 
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed,QtGui.QSizePolicy.Fixed)
 
19
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
23
20
        sizePolicy.setHorizontalStretch(0)
24
21
        sizePolicy.setVerticalStretch(0)
25
22
        sizePolicy.setHeightForWidth(self.Icon.sizePolicy().hasHeightForWidth())
28
25
        self.Icon.setScaledContents(True)
29
26
        self.Icon.setWordWrap(False)
30
27
        self.Icon.setObjectName("Icon")
31
 
        self.gridlayout.addWidget(self.Icon,0,0,1,1)
32
 
 
33
 
        spacerItem = QtGui.QSpacerItem(20,280,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
34
 
        self.gridlayout.addItem(spacerItem,1,0,1,1)
35
 
 
36
 
        spacerItem1 = QtGui.QSpacerItem(20,16,QtGui.QSizePolicy.Minimum,QtGui.QSizePolicy.Expanding)
37
 
        self.gridlayout.addItem(spacerItem1,2,2,1,1)
38
 
 
 
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)
39
33
        self.textLabel7 = QtGui.QLabel(NoDevicesDialog_base)
40
34
        self.textLabel7.setAlignment(QtCore.Qt.AlignVCenter)
41
35
        self.textLabel7.setWordWrap(True)
42
36
        self.textLabel7.setObjectName("textLabel7")
43
 
        self.gridlayout.addWidget(self.textLabel7,0,1,2,4)
44
 
 
45
 
        spacerItem2 = QtGui.QSpacerItem(400,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum)
46
 
        self.gridlayout.addItem(spacerItem2,3,0,1,2)
47
 
 
 
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)
48
40
        self.SetupButton = QtGui.QPushButton(NoDevicesDialog_base)
49
41
        self.SetupButton.setObjectName("SetupButton")
50
 
        self.gridlayout.addWidget(self.SetupButton,3,2,1,1)
51
 
 
 
42
        self.gridlayout.addWidget(self.SetupButton, 3, 2, 1, 1)
52
43
        self.CUPSButton = QtGui.QPushButton(NoDevicesDialog_base)
53
44
        self.CUPSButton.setObjectName("CUPSButton")
54
 
        self.gridlayout.addWidget(self.CUPSButton,3,3,1,1)
55
 
 
 
45
        self.gridlayout.addWidget(self.CUPSButton, 3, 3, 1, 1)
56
46
        self.CloseButton = QtGui.QPushButton(NoDevicesDialog_base)
57
47
        self.CloseButton.setDefault(True)
58
48
        self.CloseButton.setObjectName("CloseButton")
59
 
        self.gridlayout.addWidget(self.CloseButton,3,4,1,1)
 
49
        self.gridlayout.addWidget(self.CloseButton, 3, 4, 1, 1)
60
50
 
61
51
        self.retranslateUi(NoDevicesDialog_base)
62
52
        QtCore.QMetaObject.connectSlotsByName(NoDevicesDialog_base)
64
54
    def retranslateUi(self, NoDevicesDialog_base):
65
55
        NoDevicesDialog_base.setWindowTitle(QtGui.QApplication.translate("NoDevicesDialog_base", "HP Device Manager - No Installed HP Devices Found", None, QtGui.QApplication.UnicodeUTF8))
66
56
        self.textLabel7.setText(QtGui.QApplication.translate("NoDevicesDialog_base", "<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
67
 
        "p, li { white-space: pre-wrap; }\n"
68
 
        "</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
69
 
        "<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"
70
 
        "<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"
71
 
        "<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"
72
 
        "<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"
73
 
        "<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"
74
 
        "<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"
75
 
        "<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"
76
 
        "<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))
 
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))
77
67
        self.SetupButton.setText(QtGui.QApplication.translate("NoDevicesDialog_base", "Setup Device...", None, QtGui.QApplication.UnicodeUTF8))
78
68
        self.CUPSButton.setText(QtGui.QApplication.translate("NoDevicesDialog_base", "CUPS Web Interface", None, QtGui.QApplication.UnicodeUTF8))
79
69
        self.CloseButton.setText(QtGui.QApplication.translate("NoDevicesDialog_base", "Close", None, QtGui.QApplication.UnicodeUTF8))