Helpviewer/Sync/SyncAssistantDialog.py

changeset 1626
a77c8ea8582c
child 1628
52cf35f6b26a
equal deleted inserted replaced
1625:4f03e45703e9 1626:a77c8ea8582c
1 # -*- coding: utf-8 -*-
2
3 # Copyright (c) 2012 Detlev Offenbach <detlev@die-offenbachs.de>
4 #
5
6 """
7 Module implementing a wizard dialog to enter the synchronization data.
8 """
9
10 from PyQt4.QtGui import QWizard
11
12 from .SyncDataPage import SyncDataPage
13 from .SyncHostTypePage import SyncHostTypePage
14 from .SyncFtpSettingsPage import SyncFtpSettingsPage
15 from .SyncCheckPage import SyncCheckPage
16
17 from . import SyncGlobals
18
19 import UI.PixmapCache
20
21
22 class SyncAssistantDialog(QWizard):
23 """
24 Class implementing a wizard dialog to enter the synchronization data.
25 """
26 def __init__(self, parent=None):
27 """
28 Constructor
29
30 @param parent reference to the parent widget (QWidget)
31 """
32 super().__init__(parent)
33
34 self.setPage(SyncGlobals.PageData, SyncDataPage(self))
35 self.setPage(SyncGlobals.PageType, SyncHostTypePage(self))
36 self.setPage(SyncGlobals.PageFTPSettings, SyncFtpSettingsPage(self))
37 self.setPage(SyncGlobals.PageCheck, SyncCheckPage(self))
38
39 self.setPixmap(QWizard.LogoPixmap, UI.PixmapCache.getPixmap("ericWeb48.png"))
40
41 self.resize(600, 400)

eric ide

mercurial