Plugins/VcsPlugins/vcsMercurial/HgPhaseDialog.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 data for the Mercurial Phase operation. 7 Module implementing a dialog to enter data for the Mercurial Phase operation.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 from PyQt4.QtCore import pyqtSlot 12 from PyQt4.QtCore import pyqtSlot
11 from PyQt4.QtGui import QDialog, QDialogButtonBox 13 from PyQt4.QtGui import QDialog, QDialogButtonBox
12 14
13 from .Ui_HgPhaseDialog import Ui_HgPhaseDialog 15 from .Ui_HgPhaseDialog import Ui_HgPhaseDialog
21 """ 23 """
22 Constructor 24 Constructor
23 25
24 @param parent reference to the parent widget (QWidget) 26 @param parent reference to the parent widget (QWidget)
25 """ 27 """
26 super().__init__(parent) 28 super(HgPhaseDialog, self).__init__(parent)
27 self.setupUi(self) 29 self.setupUi(self)
28 30
29 self.phaseCombo.addItem("", "") 31 self.phaseCombo.addItem("", "")
30 self.phaseCombo.addItem(self.trUtf8("Public"), "p") 32 self.phaseCombo.addItem(self.trUtf8("Public"), "p")
31 self.phaseCombo.addItem(self.trUtf8("Draft"), "d") 33 self.phaseCombo.addItem(self.trUtf8("Draft"), "d")

eric ide

mercurial