Ejemplo n.º 1
0
    def __init__(self, parent, jumpTo=None):
        self.model = ZAccountManagerModel()
        self.model.getService().addListener(self)
        jumpToPageId = self._resolveJumpTo(jumpTo)

        ZPreferencesDialog.__init__(self, parent, jumpToPageId)
        ZPersistentPrefsDialogMixin.__init__(self, IZAppUserPrefsKeys.ACCOUNT_MANAGER_DIALOG, False)
Ejemplo n.º 2
0
    def _bindWidgetEvents(self):
        ZPreferencesDialog._bindWidgetEvents(self)

        self.Bind(wx.EVT_BUTTON, self.onAddAccount, self.addAccountButton)
        self.Bind(wx.EVT_BUTTON, self.onRemoveAccount, self.removeAccountButton)

        self.Bind(wx.EVT_TREE_DELETE_ITEM, self.onAccountTreeItemDeleted, self.prefsTreeView)
        self.Bind(wx.EVT_TREE_SEL_CHANGED, self.onAccountTreeItemChanged, self.prefsTreeView)
Ejemplo n.º 3
0
    def __init__(self, parent, jumpTo=None):
        self.model = ZAccountManagerModel()
        self.model.getService().addListener(self)
        jumpToPageId = self._resolveJumpTo(jumpTo)

        ZPreferencesDialog.__init__(self, parent, jumpToPageId)
        ZPersistentPrefsDialogMixin.__init__(
            self, IZAppUserPrefsKeys.ACCOUNT_MANAGER_DIALOG, False)
Ejemplo n.º 4
0
    def _bindWidgetEvents(self):
        ZPreferencesDialog._bindWidgetEvents(self)

        self.Bind(wx.EVT_BUTTON, self.onAddAccount, self.addAccountButton)
        self.Bind(wx.EVT_BUTTON, self.onRemoveAccount,
                  self.removeAccountButton)

        self.Bind(wx.EVT_TREE_DELETE_ITEM, self.onAccountTreeItemDeleted,
                  self.prefsTreeView)
        self.Bind(wx.EVT_TREE_SEL_CHANGED, self.onAccountTreeItemChanged,
                  self.prefsTreeView)
Ejemplo n.º 5
0
    def _destroy(self):
        ZPreferencesDialog._destroy(self)

        self.model.getService().removeListener(self)
Ejemplo n.º 6
0
 def __init__(self, parent, jumpToPageId = None):
     self.model = ZPreferencesModel()
     
     ZPreferencesDialog.__init__(self, parent, jumpToPageId)
     ZPersistentPrefsDialogMixin.__init__(self, IZAppUserPrefsKeys.USERPREFS_DIALOG, False)
Ejemplo n.º 7
0
    def __init__(self, parent, jumpToPageId=None):
        self.model = ZPreferencesModel()

        ZPreferencesDialog.__init__(self, parent, jumpToPageId)
        ZPersistentPrefsDialogMixin.__init__(
            self, IZAppUserPrefsKeys.USERPREFS_DIALOG, False)
Ejemplo n.º 8
0
    def _destroy(self):
        ZPreferencesDialog._destroy(self)

        self.model.getService().removeListener(self)