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)
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)
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)
def _destroy(self): ZPreferencesDialog._destroy(self) self.model.getService().removeListener(self)
def __init__(self, parent, jumpToPageId = None): self.model = ZPreferencesModel() ZPreferencesDialog.__init__(self, parent, jumpToPageId) ZPersistentPrefsDialogMixin.__init__(self, IZAppUserPrefsKeys.USERPREFS_DIALOG, False)
def __init__(self, parent, jumpToPageId=None): self.model = ZPreferencesModel() ZPreferencesDialog.__init__(self, parent, jumpToPageId) ZPersistentPrefsDialogMixin.__init__( self, IZAppUserPrefsKeys.USERPREFS_DIALOG, False)