This file is indexed.

/usr/share/gnuspool/ptrinstall/ui_devinstdlg.py is in gnuspool 1.7ubuntu1.

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
# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'devinstdlg.ui'
#
# Created: Sat Jul  3 23:26:46 2010
#      by: PyQt4 UI code generator 4.7.2
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_devinstdlg(object):
    def setupUi(self, devinstdlg):
        devinstdlg.setObjectName("devinstdlg")
        devinstdlg.resize(506, 282)
        self.buttonBox = QtGui.QDialogButtonBox(devinstdlg)
        self.buttonBox.setGeometry(QtCore.QRect(420, 10, 81, 181))
        self.buttonBox.setOrientation(QtCore.Qt.Vertical)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName("buttonBox")
        self.layoutWidget = QtGui.QWidget(devinstdlg)
        self.layoutWidget.setGeometry(QtCore.QRect(40, 20, 343, 221))
        self.layoutWidget.setObjectName("layoutWidget")
        self.verticalLayout = QtGui.QVBoxLayout(self.layoutWidget)
        self.verticalLayout.setObjectName("verticalLayout")
        self.label = QtGui.QLabel(self.layoutWidget)
        self.label.setObjectName("label")
        self.verticalLayout.addWidget(self.label)
        self.devname = QtGui.QComboBox(self.layoutWidget)
        self.devname.setEditable(True)
        self.devname.setObjectName("devname")
        self.verticalLayout.addWidget(self.devname)
        self.label_2 = QtGui.QLabel(self.layoutWidget)
        self.label_2.setObjectName("label_2")
        self.verticalLayout.addWidget(self.label_2)
        self.description = QtGui.QLineEdit(self.layoutWidget)
        self.description.setMaxLength(41)
        self.description.setObjectName("description")
        self.verticalLayout.addWidget(self.description)
        self.label_3 = QtGui.QLabel(self.layoutWidget)
        self.label_3.setObjectName("label_3")
        self.verticalLayout.addWidget(self.label_3)
        self.formtype = QtGui.QComboBox(self.layoutWidget)
        self.formtype.setEditable(True)
        self.formtype.setObjectName("formtype")
        self.verticalLayout.addWidget(self.formtype)
        self.setdef = QtGui.QCheckBox(self.layoutWidget)
        self.setdef.setObjectName("setdef")
        self.verticalLayout.addWidget(self.setdef)
        self.label.setBuddy(self.devname)
        self.label_2.setBuddy(self.description)
        self.label_3.setBuddy(self.formtype)

        self.retranslateUi(devinstdlg)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), devinstdlg.accept)
        QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), devinstdlg.reject)
        QtCore.QMetaObject.connectSlotsByName(devinstdlg)
        devinstdlg.setTabOrder(self.devname, self.description)
        devinstdlg.setTabOrder(self.description, self.formtype)
        devinstdlg.setTabOrder(self.formtype, self.setdef)
        devinstdlg.setTabOrder(self.setdef, self.buttonBox)

    def retranslateUi(self, devinstdlg):
        devinstdlg.setWindowTitle(QtGui.QApplication.translate("devinstdlg", "Install printer on device", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("devinstdlg", "De&vice name", None, QtGui.QApplication.UnicodeUTF8))
        self.devname.setToolTip(QtGui.QApplication.translate("devinstdlg", "This is the device to be used by the printer", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("devinstdlg", "&Description for the printer", None, QtGui.QApplication.UnicodeUTF8))
        self.description.setToolTip(QtGui.QApplication.translate("devinstdlg", "This should be a helpful description of the printer", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("devinstdlg", "Initial &form type", None, QtGui.QApplication.UnicodeUTF8))
        self.formtype.setToolTip(QtGui.QApplication.translate("devinstdlg", "Specify the initial form type for the printer", None, QtGui.QApplication.UnicodeUTF8))
        self.setdef.setToolTip(QtGui.QApplication.translate("devinstdlg", "Check here to make this the default form type for all users", None, QtGui.QApplication.UnicodeUTF8))
        self.setdef.setText(QtGui.QApplication.translate("devinstdlg", "Set this form type as default for all users", None, QtGui.QApplication.UnicodeUTF8))