/usr/share/hplip/ui4/printtestpagedialog_base.py is in hplip-data 3.14.3-0ubuntu3.4.
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 70 71 72 73 74 75 76 77 | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui4/printtestpagedialog_base.ui'
#
# Created: Mon May 4 14:30:36 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_Dialog(object):
def setupUi(self, Dialog):
Dialog.setObjectName("Dialog")
Dialog.setWindowModality(QtCore.Qt.ApplicationModal)
Dialog.resize(700, 500)
self.gridlayout = QtGui.QGridLayout(Dialog)
self.gridlayout.setObjectName("gridlayout")
self.label = QtGui.QLabel(Dialog)
font = QtGui.QFont()
font.setPointSize(16)
self.label.setFont(font)
self.label.setObjectName("label")
self.gridlayout.addWidget(self.label, 0, 0, 1, 1)
self.line = QtGui.QFrame(Dialog)
self.line.setFrameShape(QtGui.QFrame.HLine)
self.line.setFrameShadow(QtGui.QFrame.Sunken)
self.line.setObjectName("line")
self.gridlayout.addWidget(self.line, 1, 0, 1, 4)
self.PrinterNameCombo = PrinterNameComboBox(Dialog)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.PrinterNameCombo.sizePolicy().hasHeightForWidth())
self.PrinterNameCombo.setSizePolicy(sizePolicy)
self.PrinterNameCombo.setObjectName("PrinterNameCombo")
self.gridlayout.addWidget(self.PrinterNameCombo, 2, 0, 1, 4)
self.groupBox = QtGui.QGroupBox(Dialog)
self.groupBox.setObjectName("groupBox")
self.gridlayout1 = QtGui.QGridLayout(self.groupBox)
self.gridlayout1.setObjectName("gridlayout1")
self.HPLIPTestPageRadioButton = QtGui.QRadioButton(self.groupBox)
self.HPLIPTestPageRadioButton.setObjectName("HPLIPTestPageRadioButton")
self.gridlayout1.addWidget(self.HPLIPTestPageRadioButton, 0, 0, 1, 1)
self.PrinterDiagnosticRadioButto = QtGui.QRadioButton(self.groupBox)
self.PrinterDiagnosticRadioButto.setEnabled(False)
self.PrinterDiagnosticRadioButto.setObjectName("PrinterDiagnosticRadioButto")
self.gridlayout1.addWidget(self.PrinterDiagnosticRadioButto, 1, 0, 1, 1)
self.gridlayout.addWidget(self.groupBox, 3, 0, 1, 4)
self.LoadPaper = LoadPaperGroupBox(Dialog)
self.LoadPaper.setObjectName("LoadPaper")
self.gridlayout.addWidget(self.LoadPaper, 4, 0, 1, 4)
spacerItem = QtGui.QSpacerItem(189, 61, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.MinimumExpanding)
self.gridlayout.addItem(spacerItem, 5, 1, 1, 1)
spacerItem1 = QtGui.QSpacerItem(400, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.gridlayout.addItem(spacerItem1, 6, 0, 1, 2)
self.PrintTestpageButton = QtGui.QPushButton(Dialog)
self.PrintTestpageButton.setObjectName("PrintTestpageButton")
self.gridlayout.addWidget(self.PrintTestpageButton, 6, 2, 1, 1)
self.CancelButton = QtGui.QPushButton(Dialog)
self.CancelButton.setObjectName("CancelButton")
self.gridlayout.addWidget(self.CancelButton, 6, 3, 1, 1)
self.retranslateUi(Dialog)
QtCore.QMetaObject.connectSlotsByName(Dialog)
def retranslateUi(self, Dialog):
Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "HP Device Manager - Print Test Page", None, QtGui.QApplication.UnicodeUTF8))
self.label.setText(QtGui.QApplication.translate("Dialog", "Print Test Page", None, QtGui.QApplication.UnicodeUTF8))
self.groupBox.setTitle(QtGui.QApplication.translate("Dialog", "Type", None, QtGui.QApplication.UnicodeUTF8))
self.HPLIPTestPageRadioButton.setText(QtGui.QApplication.translate("Dialog", "HPLIP test page (tests print driver)", None, QtGui.QApplication.UnicodeUTF8))
self.PrinterDiagnosticRadioButto.setText(QtGui.QApplication.translate("Dialog", "Printer diagnostic page (does not test print driver)", None, QtGui.QApplication.UnicodeUTF8))
self.PrintTestpageButton.setText(QtGui.QApplication.translate("Dialog", "Print Test Page", None, QtGui.QApplication.UnicodeUTF8))
self.CancelButton.setText(QtGui.QApplication.translate("Dialog", "Cancel", None, QtGui.QApplication.UnicodeUTF8))
from printernamecombobox import PrinterNameComboBox
from loadpapergroupbox import LoadPaperGroupBox
|