4 # |
4 # |
5 |
5 |
6 """ |
6 """ |
7 Module implementing a dialog to enter data to be used for a fetch operation. |
7 Module implementing a dialog to enter data to be used for a fetch 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 |
13 from PyQt4.QtGui import QDialog |
12 |
14 |
13 from .Ui_HgFetchDialog import Ui_HgFetchDialog |
15 from .Ui_HgFetchDialog import Ui_HgFetchDialog |
23 """ |
25 """ |
24 Constructor |
26 Constructor |
25 |
27 |
26 @param parent reference to the parent widget (QWidget) |
28 @param parent reference to the parent widget (QWidget) |
27 """ |
29 """ |
28 super().__init__(parent) |
30 super(HgFetchDialog, self).__init__(parent) |
29 self.setupUi(self) |
31 self.setupUi(self) |
30 |
32 |
31 self.recentCommitMessages = Preferences.toList( |
33 self.recentCommitMessages = Preferences.toList( |
32 Preferences.Prefs.settings.value('Mercurial/Commits')) |
34 Preferences.Prefs.settings.value('Mercurial/Commits')) |
33 self.recentComboBox.clear() |
35 self.recentComboBox.clear() |