# -*- 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", "\n" "

No Installed HP Devices Found.

\n" "

To setup a new device in the HP Device Manager (toolbox), use one of the following methods:

\n" "

1.Run hp-setup (in a shell/terminal or click Setup Device... below).

\n" "

2. CUPS web interface (open a browser to: http://localhost:631 or press the button below),

\n" "

3. The printer installation utility that came with your operating system (YaST, PrinterDrake, etc).

\n" "

After setting up a printer, you may have to press F6 or chose Device | Refresh All for the printer to appear in the HP Device Manager.

\n" "

Note: Only devices installed with the hp: or hpfax: CUPS backend will appear in the HP Device Manager.

\n" "

", 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))