/usr/share/hplip/ui4/nodevicesdialog_base.py is in hplip-data 3.14.3-0ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui4/nodevicesdialog_base.ui'
#
# Created: Mon May 4 14:30:34 2009
# by: PyQt4 UI code generator 4.4.4
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore, QtGui
class Ui_NoDevicesDialog_base(object):
def setupUi(self, NoDevicesDialog_base):
NoDevicesDialog_base.setObjectName("NoDevicesDialog_base")
NoDevicesDialog_base.resize(539, 335)
self.gridlayout = QtGui.QGridLayout(NoDevicesDialog_base)
self.gridlayout.setObjectName("gridlayout")
self.Icon = QtGui.QLabel(NoDevicesDialog_base)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.Icon.sizePolicy().hasHeightForWidth())
self.Icon.setSizePolicy(sizePolicy)
self.Icon.setFrameShape(QtGui.QFrame.NoFrame)
self.Icon.setScaledContents(True)
self.Icon.setWordWrap(False)
self.Icon.setObjectName("Icon")
self.gridlayout.addWidget(self.Icon, 0, 0, 1, 1)
spacerItem = QtGui.QSpacerItem(20, 280, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
self.gridlayout.addItem(spacerItem, 1, 0, 1, 1)
spacerItem1 = QtGui.QSpacerItem(20, 16, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Expanding)
self.gridlayout.addItem(spacerItem1, 2, 2, 1, 1)
self.textLabel7 = QtGui.QLabel(NoDevicesDialog_base)
self.textLabel7.setAlignment(QtCore.Qt.AlignVCenter)
self.textLabel7.setWordWrap(True)
self.textLabel7.setObjectName("textLabel7")
self.gridlayout.addWidget(self.textLabel7, 0, 1, 2, 4)
spacerItem2 = QtGui.QSpacerItem(400, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.gridlayout.addItem(spacerItem2, 3, 0, 1, 2)
self.SetupButton = QtGui.QPushButton(NoDevicesDialog_base)
self.SetupButton.setObjectName("SetupButton")
self.gridlayout.addWidget(self.SetupButton, 3, 2, 1, 1)
self.CUPSButton = QtGui.QPushButton(NoDevicesDialog_base)
self.CUPSButton.setObjectName("CUPSButton")
self.gridlayout.addWidget(self.CUPSButton, 3, 3, 1, 1)
self.CloseButton = QtGui.QPushButton(NoDevicesDialog_base)
self.CloseButton.setDefault(True)
self.CloseButton.setObjectName("CloseButton")
self.gridlayout.addWidget(self.CloseButton, 3, 4, 1, 1)
self.retranslateUi(NoDevicesDialog_base)
QtCore.QMetaObject.connectSlotsByName(NoDevicesDialog_base)
def retranslateUi(self, NoDevicesDialog_base):
NoDevicesDialog_base.setWindowTitle(QtGui.QApplication.translate("NoDevicesDialog_base", "HP Device Manager - No Installed HP Devices Found", None, QtGui.QApplication.UnicodeUTF8))
self.textLabel7.setText(QtGui.QApplication.translate("NoDevicesDialog_base", "<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-size:x-large; font-weight:600;\">No Installed HP Devices Found.</span></p>\n"
"<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"
"<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"
"<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"
"<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"
"<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"
"<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"
"<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))
self.SetupButton.setText(QtGui.QApplication.translate("NoDevicesDialog_base", "Setup Device...", None, QtGui.QApplication.UnicodeUTF8))
self.CUPSButton.setText(QtGui.QApplication.translate("NoDevicesDialog_base", "CUPS Web Interface", None, QtGui.QApplication.UnicodeUTF8))
self.CloseButton.setText(QtGui.QApplication.translate("NoDevicesDialog_base", "Close", None, QtGui.QApplication.UnicodeUTF8))
|