2523:139f182b72f6 | 2525:8b507a9a2d40 |
---|---|
4 # | 4 # |
5 | 5 |
6 """ | 6 """ |
7 Module implementing a dialog to enter data for the Mercurial import command. | 7 Module implementing a dialog to enter data for the Mercurial import command. |
8 """ | 8 """ |
9 | |
10 from __future__ import unicode_literals # __IGNORE_WARNING__ | |
9 | 11 |
10 from PyQt4.QtCore import pyqtSlot, QDateTime | 12 from PyQt4.QtCore import pyqtSlot, QDateTime |
11 from PyQt4.QtGui import QDialog, QDialogButtonBox | 13 from PyQt4.QtGui import QDialog, QDialogButtonBox |
12 | 14 |
13 from E5Gui import E5FileDialog | 15 from E5Gui import E5FileDialog |
26 """ | 28 """ |
27 Constructor | 29 Constructor |
28 | 30 |
29 @param parent reference to the parent widget (QWidget) | 31 @param parent reference to the parent widget (QWidget) |
30 """ | 32 """ |
31 super().__init__(parent) | 33 super(HgImportDialog, self).__init__(parent) |
32 self.setupUi(self) | 34 self.setupUi(self) |
33 | 35 |
34 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False) | 36 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(False) |
35 | 37 |
36 self.__patchFileCompleter = E5FileCompleter(self.patchFileEdit) | 38 self.__patchFileCompleter = E5FileCompleter(self.patchFileEdit) |