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