Plugins/VcsPlugins/vcsMercurial/QueuesExtension/HgQueuesFoldDialog.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 to fold patches. 7 Module implementing a dialog to enter data to fold patches.
8 """ 8 """
9
10 from __future__ import unicode_literals # __IGNORE_WARNING__
9 11
10 from PyQt4.QtCore import pyqtSlot, Qt 12 from PyQt4.QtCore import pyqtSlot, Qt
11 from PyQt4.QtGui import QDialog, QDialogButtonBox, QTreeWidgetItem 13 from PyQt4.QtGui import QDialog, QDialogButtonBox, QTreeWidgetItem
12 14
13 from .Ui_HgQueuesFoldDialog import Ui_HgQueuesFoldDialog 15 from .Ui_HgQueuesFoldDialog import Ui_HgQueuesFoldDialog
24 Constructor 26 Constructor
25 27
26 @param patchesList list of patches to select from (list of strings) 28 @param patchesList list of patches to select from (list of strings)
27 @param parent reference to the parent widget (QWidget) 29 @param parent reference to the parent widget (QWidget)
28 """ 30 """
29 super().__init__(parent) 31 super(HgQueuesFoldDialog, self).__init__(parent)
30 self.setupUi(self) 32 self.setupUi(self)
31 33
32 self.addButton.setIcon(UI.PixmapCache.getIcon("1downarrow.png")) 34 self.addButton.setIcon(UI.PixmapCache.getIcon("1downarrow.png"))
33 self.removeButton.setIcon(UI.PixmapCache.getIcon("1uparrow.png")) 35 self.removeButton.setIcon(UI.PixmapCache.getIcon("1uparrow.png"))
34 self.upButton.setIcon(UI.PixmapCache.getIcon("1uparrow.png")) 36 self.upButton.setIcon(UI.PixmapCache.getIcon("1uparrow.png"))

eric ide

mercurial