40 self.setPage(SyncGlobals.PageFTPSettings, SyncFtpSettingsPage(self)) |
40 self.setPage(SyncGlobals.PageFTPSettings, SyncFtpSettingsPage(self)) |
41 self.setPage(SyncGlobals.PageDirectorySettings, |
41 self.setPage(SyncGlobals.PageDirectorySettings, |
42 SyncDirectorySettingsPage(self)) |
42 SyncDirectorySettingsPage(self)) |
43 self.setPage(SyncGlobals.PageCheck, SyncCheckPage(self)) |
43 self.setPage(SyncGlobals.PageCheck, SyncCheckPage(self)) |
44 |
44 |
45 self.setPixmap(QWizard.LogoPixmap, |
45 self.setPixmap(QWizard.WizardPixmap.LogoPixmap, |
46 UI.PixmapCache.getPixmap("ericWeb48")) |
46 UI.PixmapCache.getPixmap("ericWeb48")) |
47 self.setPixmap(QWizard.WatermarkPixmap, |
47 self.setPixmap(QWizard.WizardPixmap.WatermarkPixmap, |
48 UI.PixmapCache.getPixmap("eric256")) |
48 UI.PixmapCache.getPixmap("eric256")) |
49 self.setPixmap(QWizard.BackgroundPixmap, |
49 self.setPixmap(QWizard.WizardPixmap.BackgroundPixmap, |
50 UI.PixmapCache.getPixmap("eric256")) |
50 UI.PixmapCache.getPixmap("eric256")) |
51 |
51 |
52 self.setMinimumSize(650, 450) |
52 self.setMinimumSize(650, 450) |
53 if Globals.isWindowsPlatform(): |
53 if Globals.isWindowsPlatform(): |
54 self.setWizardStyle(QWizard.ModernStyle) |
54 self.setWizardStyle(QWizard.WizardStyle.ModernStyle) |
55 |
55 |
56 self.setOption(QWizard.NoCancelButtonOnLastPage, True) |
56 self.setOption(QWizard.WizardOption.NoCancelButtonOnLastPage, True) |