/usr/share/gnuspool/ptrinstall/ui_netprotodlg.py is in gnuspool 1.7.
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 | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'netprotodlg.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_netprotodlg(object):
def setupUi(self, netprotodlg):
netprotodlg.setObjectName("netprotodlg")
netprotodlg.resize(394, 185)
self.buttonBox = QtGui.QDialogButtonBox(netprotodlg)
self.buttonBox.setGeometry(QtCore.QRect(290, 20, 81, 241))
self.buttonBox.setOrientation(QtCore.Qt.Vertical)
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
self.buttonBox.setObjectName("buttonBox")
self.label = QtGui.QLabel(netprotodlg)
self.label.setGeometry(QtCore.QRect(40, 30, 171, 18))
self.label.setObjectName("label")
self.hostorip = QtGui.QLineEdit(netprotodlg)
self.hostorip.setGeometry(QtCore.QRect(40, 60, 161, 26))
self.hostorip.setReadOnly(True)
self.hostorip.setObjectName("hostorip")
self.protocol = QtGui.QComboBox(netprotodlg)
self.protocol.setGeometry(QtCore.QRect(40, 110, 201, 27))
self.protocol.setObjectName("protocol")
self.retranslateUi(netprotodlg)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), netprotodlg.accept)
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), netprotodlg.reject)
QtCore.QMetaObject.connectSlotsByName(netprotodlg)
netprotodlg.setTabOrder(self.hostorip, self.protocol)
netprotodlg.setTabOrder(self.protocol, self.buttonBox)
def retranslateUi(self, netprotodlg):
netprotodlg.setWindowTitle(QtGui.QApplication.translate("netprotodlg", "Select network protocol", None, QtGui.QApplication.UnicodeUTF8))
self.label.setText(QtGui.QApplication.translate("netprotodlg", "Protocol to use to talk to", None, QtGui.QApplication.UnicodeUTF8))
self.protocol.setToolTip(QtGui.QApplication.translate("netprotodlg", "Select here the protocol to use to speak to the printer", None, QtGui.QApplication.UnicodeUTF8))
|