24 """ |
26 """ |
25 Constructor |
27 Constructor |
26 |
28 |
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(SyncHostTypePage, self).__init__(parent) |
30 self.setupUi(self) |
32 self.setupUi(self) |
31 |
33 |
32 if Preferences.getHelp("SyncType") == SyncGlobals.SyncTypeFtp: |
34 if Preferences.getHelp("SyncType") == SyncGlobals.SyncTypeFtp: |
33 self.ftpRadioButton.setChecked(True) |
35 self.ftpRadioButton.setChecked(True) |
34 elif Preferences.getHelp("SyncType") == SyncGlobals.SyncTypeDirectory: |
36 elif Preferences.getHelp("SyncType") == SyncGlobals.SyncTypeDirectory: |