--- a/src/eric7/WebBrowser/Sync/SyncAssistantDialog.py Wed Jul 13 11:16:20 2022 +0200 +++ b/src/eric7/WebBrowser/Sync/SyncAssistantDialog.py Wed Jul 13 14:55:47 2022 +0200 @@ -17,14 +17,15 @@ """ Class implementing a wizard dialog to enter the synchronization data. """ + def __init__(self, parent=None): """ Constructor - + @param parent reference to the parent widget (QWidget) """ super().__init__(parent) - + from . import SyncGlobals from .SyncDataPage import SyncDataPage @@ -38,19 +39,21 @@ self.setPage(SyncGlobals.PageEncryption, SyncEncryptionPage(self)) self.setPage(SyncGlobals.PageType, SyncHostTypePage(self)) self.setPage(SyncGlobals.PageFTPSettings, SyncFtpSettingsPage(self)) - self.setPage(SyncGlobals.PageDirectorySettings, - SyncDirectorySettingsPage(self)) + self.setPage(SyncGlobals.PageDirectorySettings, SyncDirectorySettingsPage(self)) self.setPage(SyncGlobals.PageCheck, SyncCheckPage(self)) - - self.setPixmap(QWizard.WizardPixmap.LogoPixmap, - UI.PixmapCache.getPixmap("ericWeb48")) - self.setPixmap(QWizard.WizardPixmap.WatermarkPixmap, - UI.PixmapCache.getPixmap("eric256")) - self.setPixmap(QWizard.WizardPixmap.BackgroundPixmap, - UI.PixmapCache.getPixmap("eric256")) - + + self.setPixmap( + QWizard.WizardPixmap.LogoPixmap, UI.PixmapCache.getPixmap("ericWeb48") + ) + self.setPixmap( + QWizard.WizardPixmap.WatermarkPixmap, UI.PixmapCache.getPixmap("eric256") + ) + self.setPixmap( + QWizard.WizardPixmap.BackgroundPixmap, UI.PixmapCache.getPixmap("eric256") + ) + self.setMinimumSize(650, 450) if Globals.isWindowsPlatform(): self.setWizardStyle(QWizard.WizardStyle.ModernStyle) - + self.setOption(QWizard.WizardOption.NoCancelButtonOnLastPage, True)