Plugins/VcsPlugins/vcsSubversion/SvnCommitDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3057
10516539f238
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module implementing a dialog to enter the commit message. 7 Module implementing a dialog to enter the commit message.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 from PyQt4.QtCore import pyqtSignal, Qt, pyqtSlot 12 from PyQt4.QtCore import pyqtSignal, Qt, pyqtSlot
11 from PyQt4.QtGui import QWidget, QDialogButtonBox 13 from PyQt4.QtGui import QWidget, QDialogButtonBox
12 14
13 from .Ui_SvnCommitDialog import Ui_SvnCommitDialog 15 from .Ui_SvnCommitDialog import Ui_SvnCommitDialog
30 Constructor 32 Constructor
31 33
32 @param vcs reference to the vcs object 34 @param vcs reference to the vcs object
33 @param parent parent widget (QWidget) 35 @param parent parent widget (QWidget)
34 """ 36 """
35 super().__init__(parent, Qt.WindowFlags(Qt.Window)) 37 super(SvnCommitDialog, self).__init__(parent, Qt.WindowFlags(Qt.Window))
36 self.setupUi(self) 38 self.setupUi(self)
37 39
38 if vcs.version < (1, 5, 0): 40 if vcs.version < (1, 5, 0):
39 self.changeListsGroup.hide() 41 self.changeListsGroup.hide()
40 else: 42 else:

eric ide

mercurial