Plugins/VcsPlugins/vcsMercurial/HgCommandDialog.py

branch
Py2 comp.
changeset 2525
8b507a9a2d40
parent 2302
f29e9405c851
child 3145
a9de05d4a22f
equal deleted inserted replaced
2523:139f182b72f6 2525:8b507a9a2d40
4 # 4 #
5 5
6 """ 6 """
7 Module implementing the Mercurial command dialog. 7 Module implementing the Mercurial command dialog.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 from PyQt4.QtGui import QDialog, QDialogButtonBox 12 from PyQt4.QtGui import QDialog, QDialogButtonBox
11 13
12 from .Ui_HgCommandDialog import Ui_HgCommandDialog 14 from .Ui_HgCommandDialog import Ui_HgCommandDialog
13 15
28 30
29 @param argvList history list of commandline arguments (list of strings) 31 @param argvList history list of commandline arguments (list of strings)
30 @param ppath pathname of the project directory (string) 32 @param ppath pathname of the project directory (string)
31 @param parent parent widget of this dialog (QWidget) 33 @param parent parent widget of this dialog (QWidget)
32 """ 34 """
33 super().__init__(parent) 35 super(HgCommandDialog, self).__init__(parent)
34 self.setupUi(self) 36 self.setupUi(self)
35 37
36 self.okButton = self.buttonBox.button(QDialogButtonBox.Ok) 38 self.okButton = self.buttonBox.button(QDialogButtonBox.Ok)
37 self.okButton.setEnabled(False) 39 self.okButton.setEnabled(False)
38 40

eric ide

mercurial