Plugins/VcsPlugins/vcsSubversion/SvnPropListDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 2791
a9577f248f04
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module implementing a dialog to show the output of the svn proplist command process. 7 Module implementing a dialog to show the output of the svn proplist command process.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
11 try:
12 str = unicode
13 except (NameError):
14 pass
9 15
10 from PyQt4.QtCore import QTimer, QProcess, QProcessEnvironment, QRegExp, Qt 16 from PyQt4.QtCore import QTimer, QProcess, QProcessEnvironment, QRegExp, Qt
11 from PyQt4.QtGui import QWidget, QHeaderView, QDialogButtonBox, QTreeWidgetItem 17 from PyQt4.QtGui import QWidget, QHeaderView, QDialogButtonBox, QTreeWidgetItem
12 18
13 from E5Gui import E5MessageBox 19 from E5Gui import E5MessageBox
26 Constructor 32 Constructor
27 33
28 @param vcs reference to the vcs object 34 @param vcs reference to the vcs object
29 @param parent parent widget (QWidget) 35 @param parent parent widget (QWidget)
30 """ 36 """
31 super().__init__(parent) 37 super(SvnPropListDialog, self).__init__(parent)
32 self.setupUi(self) 38 self.setupUi(self)
33 39
34 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False) 40 self.buttonBox.button(QDialogButtonBox.Close).setEnabled(False)
35 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True) 41 self.buttonBox.button(QDialogButtonBox.Cancel).setDefault(True)
36 42

eric ide

mercurial