1
# -*- coding: utf-8 -*-
3
# Form implementation generated from reading ui file '/home/detlev/Development/Python/Eric/eric3_9/eric3/VCS/subversionPackage/PropListForm.ui'
5
# Created: So Nov 27 16:13:01 2005
6
# by: The PyQt User Interface Compiler (pyuic) 3.15
8
# WARNING! All changes made in this file will be lost!
15
class PropListForm(QDialog):
16
def __init__(self,parent = None,name = None,modal = 0,fl = 0):
17
QDialog.__init__(self,parent,name,modal,fl)
20
self.setName("PropListForm")
22
self.setSizeGripEnabled(1)
24
PropListFormLayout = QVBoxLayout(self,6,6,"PropListFormLayout")
26
self.propsList = QListView(self,"propsList")
27
self.propsList.addColumn(self.__tr("Path"))
28
self.propsList.addColumn(self.__tr("Name"))
29
self.propsList.addColumn(self.__tr("Value"))
30
self.propsList.setAllColumnsShowFocus(1)
31
self.propsList.setShowSortIndicator(1)
32
self.propsList.setItemMargin(2)
33
PropListFormLayout.addWidget(self.propsList)
35
self.TextLabel2 = QLabel(self,"TextLabel2")
36
PropListFormLayout.addWidget(self.TextLabel2)
38
self.errors = QTextBrowser(self,"errors")
39
self.errors.setSizePolicy(QSizePolicy(QSizePolicy.Expanding,QSizePolicy.Preferred,0,0,self.errors.sizePolicy().hasHeightForWidth()))
40
self.errors.setTextFormat(QTextBrowser.PlainText)
41
PropListFormLayout.addWidget(self.errors)
43
Layout2 = QHBoxLayout(None,0,6,"Layout2")
44
Spacer3 = QSpacerItem(30,0,QSizePolicy.Expanding,QSizePolicy.Minimum)
45
Layout2.addItem(Spacer3)
47
self.cancelButton = QPushButton(self,"cancelButton")
48
self.cancelButton.setDefault(1)
49
Layout2.addWidget(self.cancelButton)
50
Spacer4 = QSpacerItem(30,0,QSizePolicy.Expanding,QSizePolicy.Minimum)
51
Layout2.addItem(Spacer4)
52
PropListFormLayout.addLayout(Layout2)
56
self.resize(QSize(826,569).expandedTo(self.minimumSizeHint()))
57
self.clearWState(Qt.WState_Polished)
59
self.connect(self.cancelButton,SIGNAL("clicked()"),self.buttonPressed)
62
def languageChange(self):
63
self.setCaption(self.__tr("Subversion List Properties"))
64
QWhatsThis.add(self,self.__tr("<b>Subversion List Prperties</b>\n"
65
"<p>This dialog shows the properties of the selected file or project.</p>"))
66
self.propsList.header().setLabel(0,self.__tr("Path"))
67
self.propsList.header().setLabel(1,self.__tr("Name"))
68
self.propsList.header().setLabel(2,self.__tr("Value"))
69
QWhatsThis.add(self.propsList,self.__tr("<b>Properties List</b>\n"
70
"<p>This shows the properties of the selected file or project.</p>"))
71
self.TextLabel2.setText(self.__tr("Errors:"))
72
QWhatsThis.add(self.errors,self.__tr("<b>Subversion proplist errors</b>\n"
73
"<p>This shows possible error messages of the subversion proplist command.</p>"))
74
self.cancelButton.setText(self.__tr("&Cancel"))
75
self.cancelButton.setAccel(self.__tr("Alt+C"))
78
def buttonPressed(self):
79
print "PropListForm.buttonPressed(): Not implemented yet"
81
def __tr(self,s,c = None):
82
return qApp.translate("PropListForm",s,c)
84
if __name__ == "__main__":
85
a = QApplication(sys.argv)
86
QObject.connect(a,SIGNAL("lastWindowClosed()"),a,SLOT("quit()"))