/usr/lib/luma/plugins/addressbook/ContactWizardDesign.py is in luma 2.4-3.
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 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file '/home/wido/src/luma/lib/luma/plugins/addressbook/ContactWizardDesign.ui'
#
# Created: Wed Aug 17 15:23:45 2005
#      by: The PyQt User Interface Compiler (pyuic) 3.14.1
#
# WARNING! All changes made in this file will be lost!
import sys
from qt import *
class ContactWizardDesign(QWizard):
    def __init__(self,parent = None,name = None,modal = 0,fl = 0):
        QWizard.__init__(self,parent,name,modal,fl)
        if not name:
            self.setName("ContactWizardDesign")
        self.WizardPage = QWidget(self,"WizardPage")
        WizardPageLayout = QGridLayout(self.WizardPage,1,1,11,6,"WizardPageLayout")
        self.locationLabel = QLabel(self.WizardPage,"locationLabel")
        self.locationLabel.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Fixed,0,0,self.locationLabel.sizePolicy().hasHeightForWidth()))
        self.locationLabel.setMinimumSize(QSize(64,64))
        WizardPageLayout.addWidget(self.locationLabel,0,0)
        self.line1 = QFrame(self.WizardPage,"line1")
        self.line1.setFrameShape(QFrame.HLine)
        self.line1.setFrameShadow(QFrame.Sunken)
        self.line1.setFrameShape(QFrame.HLine)
        WizardPageLayout.addMultiCellWidget(self.line1,1,1,0,2)
        self.textLabel2 = QLabel(self.WizardPage,"textLabel2")
        self.textLabel2.setSizePolicy(QSizePolicy(QSizePolicy.Preferred,QSizePolicy.Minimum,0,0,self.textLabel2.sizePolicy().hasHeightForWidth()))
        WizardPageLayout.addMultiCellWidget(self.textLabel2,0,0,1,2)
        self.browserFrame = QFrame(self.WizardPage,"browserFrame")
        self.browserFrame.setFrameShape(QFrame.NoFrame)
        self.browserFrame.setFrameShadow(QFrame.Raised)
        WizardPageLayout.addMultiCellWidget(self.browserFrame,2,2,0,2)
        self.locationEdit = QLineEdit(self.WizardPage,"locationEdit")
        self.locationEdit.setReadOnly(1)
        WizardPageLayout.addWidget(self.locationEdit,3,2)
        self.textLabel3 = QLabel(self.WizardPage,"textLabel3")
        WizardPageLayout.addMultiCellWidget(self.textLabel3,3,3,0,1)
        self.addPage(self.WizardPage,QString(""))
        self.WizardPage_2 = QWidget(self,"WizardPage_2")
        WizardPageLayout_2 = QVBoxLayout(self.WizardPage_2,0,0,"WizardPageLayout_2")
        self.contactFrame = QFrame(self.WizardPage_2,"contactFrame")
        self.contactFrame.setFrameShape(QFrame.NoFrame)
        self.contactFrame.setFrameShadow(QFrame.Plain)
        WizardPageLayout_2.addWidget(self.contactFrame)
        self.addPage(self.WizardPage_2,QString(""))
        self.languageChange()
        self.resize(QSize(613,486).expandedTo(self.minimumSizeHint()))
        self.clearWState(Qt.WState_Polished)
    def languageChange(self):
        self.setCaption(self.__tr("Add Contact"))
        self.locationLabel.setText(self.__tr("LOC","DO NOT TRANSLATE"))
        self.textLabel2.setText(self.__tr("Please select a location where the new contact should be stored."))
        self.textLabel3.setText(self.__tr("Location:"))
        self.setTitle(self.WizardPage,self.__tr("Select location"))
        self.setTitle(self.WizardPage_2,self.__tr("Fill contact data"))
    def __tr(self,s,c = None):
        return qApp.translate("ContactWizardDesign",s,c)
if __name__ == "__main__":
    a = QApplication(sys.argv)
    QObject.connect(a,SIGNAL("lastWindowClosed()"),a,SLOT("quit()"))
    w = ContactWizardDesign()
    a.setMainWidget(w)
    w.show()
    a.exec_loop()
 |