/usr/share/hplip/ui4/printsettingsdialog_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 | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'ui4/printsettingsdialog_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.TitleLabel = QtGui.QLabel(Dialog)
font = QtGui.QFont()
font.setPointSize(16)
self.TitleLabel.setFont(font)
self.TitleLabel.setObjectName("TitleLabel")
self.gridlayout.addWidget(self.TitleLabel, 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, 2)
self.PrinterName = PrinterNameComboBox(Dialog)
self.PrinterName.setObjectName("PrinterName")
self.gridlayout.addWidget(self.PrinterName, 2, 0, 1, 2)
self.OptionsToolBox = PrintSettingsToolbox(Dialog)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.OptionsToolBox.sizePolicy().hasHeightForWidth())
self.OptionsToolBox.setSizePolicy(sizePolicy)
self.OptionsToolBox.setObjectName("OptionsToolBox")
self.gridlayout.addWidget(self.OptionsToolBox, 3, 0, 1, 2)
spacerItem = QtGui.QSpacerItem(461, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.gridlayout.addItem(spacerItem, 4, 0, 1, 1)
self.CloseButton = QtGui.QPushButton(Dialog)
self.CloseButton.setObjectName("CloseButton")
self.gridlayout.addWidget(self.CloseButton, 4, 1, 1, 1)
self.retranslateUi(Dialog)
self.OptionsToolBox.setCurrentIndex(-1)
QtCore.QMetaObject.connectSlotsByName(Dialog)
def retranslateUi(self, Dialog):
Dialog.setWindowTitle(QtGui.QApplication.translate("Dialog", "HP Device Manager - Print Settings", None, QtGui.QApplication.UnicodeUTF8))
self.TitleLabel.setText(QtGui.QApplication.translate("Dialog", "Print Settings", None, QtGui.QApplication.UnicodeUTF8))
self.CloseButton.setText(QtGui.QApplication.translate("Dialog", "Close", None, QtGui.QApplication.UnicodeUTF8))
from printsettingstoolbox import PrintSettingsToolbox
from printernamecombobox import PrinterNameComboBox
|