Package application :: Package dialogs :: Module AccountPreferences :: Class AccountPreferencesDialog
[hide private]
[frames] | no frames]

Class AccountPreferencesDialog

source code

     object --+                    
              |                    
wx._core.Object --+                
                  |                
wx._core.EvtHandler --+            
                      |            
        wx._core.Window --+        
                          |        
 wx._windows.TopLevelWindow --+    
                              |    
             wx._windows.Dialog --+
                                  |
                                 AccountPreferencesDialog

Instance Methods [hide private]
 
__init__(self, title, size=wx.Size(-1, -1), pos=wx.Point(-1, -1), style=536877056, resources=<Locale: en_US>, account=<Locale: en_US>, rv=<Locale: en_US>, modal=True, create=<Locale: en_US>)
__init__(self, Window parent, int id=-1, String title=EmptyString, ...
source code
 
getPlatformBorderSize(self) source code
 
isDefaultAccount(self, item) source code
 
getDefaultAccounts(self) source code
 
selectAccount(self, accountIndex) source code
 
__PopulateAccountsList(self, account)
Find all account items and put them in the list; also build up a data structure with the applicable attribute values we'll be editing.
source code
 
__ApplyChanges(self)
Take the data from the list and apply the values to the items.
source code
 
__ApplyDeletions(self) source code
 
__ApplyCancellations(self) source code
 
__Validate(self) source code
 
__GetIndexDisplayName(self, index) source code
 
__SwapDetailPanel(self, index)
Given an index into the account list, store the current panel's (if any) contents to the data list, destroy current panel, determine type of panel to pull in, load it, populate it.
source code
 
__StoreFormData(self, panelType, panel, data) source code
 
__FetchFormData(self, panelType, panel, data) source code
 
OnOk(self, evt) source code
 
debugAccountSaving(self) source code
 
OnCancel(self, evt) source code
 
OnIncomingFolders(self, evt) source code
 
OnFolderCreation(self, result) source code
 
OnFolderRemoval(self, result) source code
 
OnAutoDiscovery(self, account) source code
 
OnToggleIncomingProtocol(self, evt) source code
 
getButtonVerbage(self, hasFolders) source code
 
initIncomingPanel(self) source code
 
toggleIncomingFolders(self, show=True, resize=True) source code
 
OnNewAccount(self, evt) source code
 
CreateNewAccount(self, accountType) source code
 
getSelectedAccount(self) source code
 
OnDeleteAccount(self, evt) source code
 
OnTestAccount(self, evt) source code
 
OnIncomingDiscovery(self, evt) source code
 
OnOutgoingDiscovery(self, evt) source code
 
getIncomingAccount(self) source code
 
incomingAccountValid(self) source code
 
OnTestIncoming(self) source code
 
outgoingAccountValid(self) source code
 
OnTestOutgoing(self) source code
 
OnTestSharingDAV(self) source code
 
OnTestSharingMorsecode(self) source code
 
OnTestSharingHub(self, account) source code
 
OnAccountSel(self, evt) source code
 
OnFocusGained(self, evt)
Select entire text field contents when focus is gained.
source code
 
OnFocusLostIncomingEmail(self, evt) source code
 
OnFocusLostOutgoingEmail(self, evt) source code
 
incomingEmailChange(self, email) source code
 
outgoingEmailChange(self, email) source code
 
OnLinkedControl(self, evt) source code
 
getIncomingProtocol(self) source code
 
OnExclusiveRadioButton(self, evt)
When an exclusive attribute (like default) is set on one account, set that attribute to False on all other accounts of the same kind.
source code
 
resizeLayout(self) source code
 
hasChandlerFolders(self, account) source code
 
addChandlerFolders(self, account, folderNames) source code
 
removeChandlerFolders(self, account) source code

Inherited from wx._windows.Dialog: Create, CreateButtonSizer, CreateSeparatedButtonSizer, CreateStdDialogButtonSizer, CreateTextSizer, EndModal, GetAffirmativeId, GetEscapeId, GetReturnCode, IsModal, SetAffirmativeId, SetEscapeId, SetReturnCode, ShowModal

Inherited from wx._windows.Dialog (private): _CreateButtonSizer

Inherited from wx._windows.TopLevelWindow: CenterOnScreen, CentreOnScreen, EnableCloseButton, GetDefaultItem, GetIcon, GetTitle, GetTmpDefaultItem, Iconize, IsActive, IsAlwaysMaximized, IsFullScreen, IsIconized, IsMaximized, MacGetMetalAppearance, MacGetUnifiedAppearance, MacSetMetalAppearance, Maximize, RequestUserAttention, Restore, SetDefaultItem, SetIcon, SetIcons, SetShape, SetTitle, SetTmpDefaultItem, ShowFullScreen, __repr__

Inherited from wx._core.Window: AcceptsFocus, AcceptsFocusFromKeyboard, AddChild, AdjustForLayoutDirection, AssociateHandle, CacheBestSize, CanSetTransparent, CaptureMouse, Center, CenterOnParent, Centre, CentreOnParent, ClearBackground, ClientToScreen, ClientToScreenXY, Close, ConvertDialogPointToPixels, ConvertDialogSizeToPixels, ConvertPixelPointToDialog, ConvertPixelSizeToDialog, DLG_PNT, DLG_SZE, Destroy, DestroyChildren, Disable, DissociateHandle, DragAcceptFiles, Enable, FindWindowById, FindWindowByName, Fit, FitInside, Freeze, GetAcceleratorTable, GetAdjustedBestSize, GetAutoLayout, GetBackgroundColour, GetBackgroundStyle, GetBestFittingSize, GetBestSize, GetBestSizeTuple, GetBestVirtualSize, GetBorder, GetCaret, GetCharHeight, GetCharWidth, GetChildren, GetClientAreaOrigin, GetClientRect, GetClientSize, GetClientSizeTuple, GetConstraints, GetContainingSizer, GetCursor, GetDefaultAttributes, GetDropTarget, GetEffectiveMinSize, GetEventHandler, GetExtraStyle, GetFont, GetForegroundColour, GetFullTextExtent, GetGrandParent, GetHandle, GetHelpText, GetHelpTextAtPoint, GetId, GetLabel, GetLayoutDirection, GetMaxHeight, GetMaxSize, GetMaxWidth, GetMinHeight, GetMinSize, GetMinWidth, GetName, GetParent, GetPosition, GetPositionTuple, GetRect, GetScreenPosition, GetScreenPositionTuple, GetScreenRect, GetScrollPos, GetScrollRange, GetScrollThumb, GetSize, GetSizeTuple, GetSizer, GetTextExtent, GetThemeEnabled, GetToolTip, GetTopLevelParent, GetUpdateClientRect, GetUpdateRegion, GetValidator, GetVirtualSize, GetVirtualSizeTuple, GetWindowBorderSize, GetWindowStyle, GetWindowStyleFlag, GetWindowVariant, HasCapture, HasFlag, HasMultiplePages, HasScrollbar, HasTransparentBackground, Hide, HitTest, HitTestXY, InheritAttributes, InheritsBackgroundColour, InitDialog, InvalidateBestSize, IsBeingDeleted, IsDoubleBuffered, IsEnabled, IsExposed, IsExposedPoint, IsExposedRect, IsFrozen, IsRetained, IsShown, IsShownOnScreen, IsTopLevel, Layout, LineDown, LineUp, Lower, MakeModal, Move, MoveAfterInTabOrder, MoveBeforeInTabOrder, MoveXY, Navigate, PageDown, PageUp, PopEventHandler, PopupMenu, PopupMenuXY, PostCreate, PrepareDC, PushEventHandler, Raise, RaiseAboveAll, Refresh, RefreshRect, RegisterHotKey, ReleaseMouse, RemoveChild, RemoveEventHandler, Reparent, ScreenToClient, ScreenToClientXY, ScrollLines, ScrollPages, ScrollWindow, SendSizeEvent, SetAcceleratorTable, SetAutoLayout, SetBackgroundColour, SetBackgroundStyle, SetBestFittingSize, SetCaret, SetClientRect, SetClientSize, SetClientSizeWH, SetConstraints, SetContainingSizer, SetCursor, SetDimensions, SetDoubleBuffered, SetDropTarget, SetEventHandler, SetExtraStyle, SetFocus, SetFocusFromKbd, SetFont, SetForegroundColour, SetHelpText, SetHelpTextForId, SetId, SetInitialSize, SetLabel, SetLayoutDirection, SetMaxSize, SetMinSize, SetName, SetOwnBackgroundColour, SetOwnFont, SetOwnForegroundColour, SetPosition, SetRect, SetScrollPos, SetScrollbar, SetSize, SetSizeHints, SetSizeHintsSz, SetSizeWH, SetSizer, SetSizerAndFit, SetThemeEnabled, SetToolTip, SetToolTipString, SetTransparent, SetValidator, SetVirtualSize, SetVirtualSizeHints, SetVirtualSizeHintsSz, SetVirtualSizeWH, SetWindowStyle, SetWindowStyleFlag, SetWindowVariant, ShouldInheritColours, Show, Thaw, ToggleWindowStyle, TransferDataFromWindow, TransferDataToWindow, UnregisterHotKey, Update, UpdateWindowUI, UseBgCol, Validate, WarpPointer

Inherited from wx._core.EvtHandler: AddPendingEvent, Bind, Connect, Disconnect, GetEvtHandlerEnabled, GetNextHandler, GetPreviousHandler, ProcessEvent, ProcessPendingEvents, SetEvtHandlerEnabled, SetNextHandler, SetPreviousHandler, Unbind

Inherited from wx._core.EvtHandler (private): _setOORInfo

Inherited from wx._core.Object: GetClassName, IsSameAs

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Static Methods [hide private]

Inherited from wx._windows.Dialog: GetClassDefaultAttributes

Inherited from wx._core.Window: FindFocus, GetCapture, NewControlId, NextControlId, PrevControlId

Class Variables [hide private]

Inherited from wx._windows.Dialog: ButtonSizerFlags

Properties [hide private]

Inherited from wx._windows.Dialog: AffirmativeId, EscapeId, ReturnCode, thisown

Inherited from wx._windows.TopLevelWindow: DefaultItem, Icon, Title, TmpDefaultItem

Inherited from wx._core.Window: AcceleratorTable, AutoLayout, BackgroundColour, BackgroundStyle, BestSize, BestVirtualSize, Border, Caret, CharHeight, CharWidth, Children, ClientAreaOrigin, ClientRect, ClientSize, Constraints, ContainingSizer, Cursor, DefaultAttributes, DropTarget, EffectiveMinSize, Enabled, EventHandler, ExtraStyle, Font, ForegroundColour, GrandParent, Handle, HelpText, Id, Label, LayoutDirection, MaxHeight, MaxSize, MaxWidth, MinHeight, MinSize, MinWidth, Name, Parent, Position, Rect, ScreenPosition, ScreenRect, Shown, Size, Sizer, ThemeEnabled, ToolTip, TopLevel, TopLevelParent, UpdateClientRect, UpdateRegion, Validator, VirtualSize, WindowStyle, WindowStyleFlag, WindowVariant

Inherited from wx._core.EvtHandler: EvtHandlerEnabled, NextHandler, PreviousHandler

Inherited from wx._core.Object: ClassName

Inherited from object: __class__

Method Details [hide private]

__init__(self, title, size=wx.Size(-1, -1), pos=wx.Point(-1, -1), style=536877056, resources=<Locale: en_US>, account=<Locale: en_US>, rv=<Locale: en_US>, modal=True, create=<Locale: en_US>)
(Constructor)

source code 

__init__(self, Window parent, int id=-1, String title=EmptyString, 
    Point pos=DefaultPosition, Size size=DefaultSize, 
    long style=DEFAULT_DIALOG_STYLE, String name=DialogNameStr) -> Dialog

Overrides: wx._windows.Dialog.__init__
(inherited documentation)

__PopulateAccountsList(self, account)

source code 
Find all account items and put them in the list; also build up a data structure with the applicable attribute values we'll be editing. If account is passed in, show its details.