7 Module implementing a wizard dialog to enter the synchronization data. |
7 Module implementing a wizard dialog to enter the synchronization data. |
8 """ |
8 """ |
9 |
9 |
10 from PyQt6.QtWidgets import QWizard |
10 from PyQt6.QtWidgets import QWizard |
11 |
11 |
12 import UI.PixmapCache |
12 from eric7.EricGui import EricPixmapCache |
13 import Globals |
13 from eric7 import Globals |
14 |
14 |
15 |
15 |
16 class SyncAssistantDialog(QWizard): |
16 class SyncAssistantDialog(QWizard): |
17 """ |
17 """ |
18 Class implementing a wizard dialog to enter the synchronization data. |
18 Class implementing a wizard dialog to enter the synchronization data. |
41 self.setPage(SyncGlobals.PageFTPSettings, SyncFtpSettingsPage(self)) |
41 self.setPage(SyncGlobals.PageFTPSettings, SyncFtpSettingsPage(self)) |
42 self.setPage(SyncGlobals.PageDirectorySettings, SyncDirectorySettingsPage(self)) |
42 self.setPage(SyncGlobals.PageDirectorySettings, SyncDirectorySettingsPage(self)) |
43 self.setPage(SyncGlobals.PageCheck, SyncCheckPage(self)) |
43 self.setPage(SyncGlobals.PageCheck, SyncCheckPage(self)) |
44 |
44 |
45 self.setPixmap( |
45 self.setPixmap( |
46 QWizard.WizardPixmap.LogoPixmap, UI.PixmapCache.getPixmap("ericWeb48") |
46 QWizard.WizardPixmap.LogoPixmap, EricPixmapCache.getPixmap("ericWeb48") |
47 ) |
47 ) |
48 self.setPixmap( |
48 self.setPixmap( |
49 QWizard.WizardPixmap.WatermarkPixmap, UI.PixmapCache.getPixmap("eric256") |
49 QWizard.WizardPixmap.WatermarkPixmap, EricPixmapCache.getPixmap("eric256") |
50 ) |
50 ) |
51 self.setPixmap( |
51 self.setPixmap( |
52 QWizard.WizardPixmap.BackgroundPixmap, UI.PixmapCache.getPixmap("eric256") |
52 QWizard.WizardPixmap.BackgroundPixmap, EricPixmapCache.getPixmap("eric256") |
53 ) |
53 ) |
54 |
54 |
55 self.setMinimumSize(650, 450) |
55 self.setMinimumSize(650, 450) |
56 if Globals.isWindowsPlatform(): |
56 if Globals.isWindowsPlatform(): |
57 self.setWizardStyle(QWizard.WizardStyle.ModernStyle) |
57 self.setWizardStyle(QWizard.WizardStyle.ModernStyle) |