4 # |
4 # |
5 |
5 |
6 """ |
6 """ |
7 Module implementing the synchronization shared directory settings wizard page. |
7 Module implementing the synchronization shared directory settings wizard page. |
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 QWizardPage |
13 from PyQt4.QtGui import QWizardPage |
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(SyncDirectorySettingsPage, self).__init__(parent) |
32 self.setupUi(self) |
34 self.setupUi(self) |
33 |
35 |
34 self.directoryEdit.setText(Preferences.getHelp("SyncDirectoryPath")) |
36 self.directoryEdit.setText(Preferences.getHelp("SyncDirectoryPath")) |
35 |
37 |
36 self.directoryEdit.textChanged.connect(self.completeChanged) |
38 self.directoryEdit.textChanged.connect(self.completeChanged) |