Module gui :: Class frmMain_class
[hide private]
[frames] | no frames]

Class frmMain_class

source code


Instance Methods [hide private]
EvtHandler
__init__(self, *args, **kwds)
__init__(self, Window parent, int id=-1, String title=EmptyString, ...
source code
 
__set_properties(self) source code
 
__do_layout(self) source code
 
LoadConfig(self) source code
 
UpdateRoots(self) source code
 
RootsSelectAll(self) source code
 
RootsSelectDefault(self) source code
 
RootsUnselectAll(self) source code
 
clboxRoots_toggled(self, event) source code
 
mnuFileCompare_handler(self, event) source code
 
mnuFileSync_handler(self, event) source code
 
mnuFileAdd_handler(self, event) source code
 
mnuFileRemove_handler(self, event) source code
 
mnuFileDist_handler(self, event) source code
 
mnuFileSaveOut_handler(self, event) source code
 
mnuFileExit_handler(self, event) source code
 
mnuViewOut_handler(self, event) source code
 
mnuViewLogging_handler(self, event) source code
 
mnuViewDebug_handler(self, event) source code
 
mnuViewVerbNo_handler(self, event) source code
 
mnuViewVerb0_handler(self, event) source code
 
mnuViewVerb1_handler(self, event) source code
 
mnuViewVerb2_handler(self, event) source code
 
mnuViewVerb3_handler(self, event) source code
 
mnuViewVerb4_handler(self, event) source code
 
mnuViewVerb5_handler(self, event) source code
 
mnuOptionsPrefs_handler(self, event) source code
 
mnuHelpAbout_handler(self, event) source code
 
mnuHelpUsage_handler(self, event) source code
 
tBarCompare_handler(self, event) source code
 
tBarSync_handler(self, event) source code
 
tBarAddRoot_handler(self, event) source code
 
tBarForceUnchanged_handler(self, event) source code
 
tBarForceBag_handler(self, event) source code
 
tBarForceOrig_handler(self, event) source code
 
tBarForceDel_handler(self, event) source code
 
tBarForceRestore_handler(self, event) source code
 
cboxAutoAction_handler(self, event) source code
 
cboxVerbosity_handler(self, event) source code
 
chboxDebug_handler(self, event) source code
 
mnuViewEmul_handler(self, event) source code
 
chboxEmul_handler(self, event) source code
 
chboxLogging_handler(self, event) source code
 
spinMDDELTA_handler(self, event) source code
 
frmMain_Close_handler(self, event) source code
 
btnClear_handler(self, event) source code
 
mnuViewClearout_handler(self, event) source code
 
mnuViewDebug_updateui(self, event) source code
 
mnuViewEmul_updateui(self, event) source code
 
mnuViewLogging_updateui(self, event) source code
 
mnuViewOut_updateui(self, event) source code
 
mnuAction_updateui(self, event) source code
 
mnuFilterOk_updateui(self, event) source code
 
mnuFilterWarn_updateui(self, event) source code
 
mnuFilterConf_updateui(self, event) source code
 
mnuFilterErr_updateui(self, event) source code
 
mnuFilterBag_updateui(self, event) source code
 
mnuFilterOrig_updateui(self, event) source code
 
mnuFilterNew_updateui(self, event) source code
 
mnuFilterDel_updateui(self, event) source code
 
mnuFilterIgn_updateui(self, event) source code
 
mnuFilterCh_updateui(self, event) source code
 
mnuFilterUnch_updateui(self, event) source code
 
mnuFilterForced_updateui(self, event) source code
 
mnuFilterFile_updateui(self, event) source code
 
mnuFilterDir_updateui(self, event) source code
 
mnuFilterSym_updateui(self, event) source code
 
mnuFilterUnk_updateui(self, event) source code
 
mnuFilterTs_updateui(self, event) source code
 
mnuViewVerbNo_updateui(self, event) source code
 
mnuViewVerb0_updateui(self, event) source code
 
mnuViewVerb1_updateui(self, event) source code
 
mnuViewVerb2_updateui(self, event) source code
 
mnuViewVerb3_updateui(self, event) source code
 
mnuViewVerb4_updateui(self, event) source code
 
mnuViewVerb5_updateui(self, event) source code
 
chboxDebug_updateui(self, event) source code
 
chboxEmul_updateui(self, event) source code
 
chboxLogging_updateui(self, event) source code
 
lblTs_updateui(self, event=None) source code
 
cboxVerbosity_updateui(self) source code
 
mnuFileRead_handler(self, event) source code
 
mnuOptionsStat_handler(self, event) source code
 
mnuAboutLicense_handler(self, event) source code
 
mnuFileRelocate_handler(self, event) source code
 
Splitter_dclick_handler(self, event) source code
 
listFiles_item_selected_handler(self, event) source code
 
listFiles_col_rclick_handler(self, event) source code
 
listFiles_col_click_handler(self, event) source code
 
mnuActionBag_handler(self, event) source code
 
mnuActionOrig_handler(self, event) source code
 
mnuActionDel_handler(self, event) source code
 
mnuActionUnch_handler(self, event) source code
 
mnuActionRestore_handler(self, event) source code
 
mnuActionTsbag_handler(self, event) source code
 
mnuActionTsorig_handler(self, event) source code
 
TSReset(self) source code
 
mnuActionTsreset_handler(self, event) source code
 
mnuFilterOk_handler(self, event) source code
 
mnuFilterWarn_handler(self, event) source code
 
mnuFilterConf_handler(self, event) source code
 
mnuFilterErr_handler(self, event) source code
 
mnuFilterBag_handler(self, event) source code
 
mnuFilterOrig_handler(self, event) source code
 
mnuFilterNew_handler(self, event) source code
 
mnuFilterCh_handler(self, event) source code
 
mnuFilterDel_handler(self, event) source code
 
mnuFilterIgn_handler(self, event) source code
 
mnuFilterUnch_handler(self, event) source code
 
mnuFilterForced_handler(self, event) source code
 
mnuFilterFile_handler(self, event) source code
 
mnuFilterDir_handler(self, event) source code
 
mnuFilterSym_handler(self, event) source code
 
mnuFilterUnk_handler(self, event) source code
 
mnuFilterTs_handler(self, event) source code
 
txtFilter_enter_handler(self, event) source code
 
txtFilter_text_handler(self, event) source code
 
chboxBackupMode_handler(self, event) source code
 
btnFilterRefresh_handler(self, event) source code
 
listFiles_item_rclick_handler(self, event) source code
 
mnuViewProp_handler(self, event) source code
 
listFiles_item_activated_handler(self, event) source code
 
mnuctxrcolLeft_handler(self, event) source code
 
mnuctxrcolRight_handler(self, event) source code
 
mnuctxrcolErr_handler(self, event) source code
 
mnuctxrcolErr_updateui(self, event) source code
 
mnuctxrcolStateicon_handler(self, event) source code
 
mnuctxrcolStateicon_updateui(self, event) source code
 
mnuctxrcolActionicon_handler(self, event) source code
 
mnuctxrcolActionicon_updateui(self, event) source code
 
mnuctxrcolForced_handler(self, event) source code
 
mnuctxrcolForced_updateui(self, event) source code
 
mnuctxrcolDir_handler(self, event) source code
 
mnuctxrcolDir_updateui(self, event) source code
 
mnuctxrcolPath_handler(self, event) source code
 
mnuctxrcolPath_updateui(self, event) source code
 
mnuctxrcolDesc_handler(self, event) source code
 
mnuctxrcolDesc_updateui(self, event) source code
 
mnuctxrcolType_handler(self, event) source code
 
mnuctxrcolType_updateui(self, event) source code
 
mnuctxrcolMdatedb_handler(self, event) source code
 
mnuctxrcolMdatedb_updateui(self, event) source code
 
mnuctxrcolGMdatedb_handler(self, event) source code
 
mnuctxrcolGMdatedb_updateui(self, event) source code
 
mnuctxrcolLMdatedb_handler(self, event) source code
 
mnuctxrcolLMdatedb_updateui(self, event) source code
 
mnuctxrcolCrc32db_handler(self, event) source code
 
mnuctxrcolCrc32db_updateui(self, event) source code
 
mnuctxrcolSizedb_handler(self, event) source code
 
mnuctxrcolSizedb_updateui(self, event) source code
 
mnuctxrcolMdatebag_handler(self, event) source code
 
mnuctxrcolMdatebag_updateui(self, event) source code
 
mnuctxrcolGMdatebag_handler(self, event) source code
 
mnuctxrcolGMdatebag_updateui(self, event) source code
 
mnuctxrcolLMdatebag_handler(self, event) source code
 
mnuctxrcolLMdatebag_updateui(self, event) source code
 
mnuctxrcolCrc32bag_handler(self, event) source code
 
mnuctxrcolCrc32bag_updateui(self, event) source code
 
mnuctxrcolSizebag_handler(self, event) source code
 
mnuctxrcolSizebag_updateui(self, event) source code
 
mnuctxrcolMdateorig_handler(self, event) source code
 
mnuctxrcolMdateorig_updateui(self, event) source code
 
mnuctxrcolGMdateorig_handler(self, event) source code
 
mnuctxrcolGMdateorig_updateui(self, event) source code
 
mnuctxrcolLMdateorig_handler(self, event) source code
 
mnuctxrcolLMdateorig_updateui(self, event) source code
 
mnuctxrcolCrc32orig_handler(self, event) source code
 
mnuctxrcolCrc32orig_updateui(self, event) source code
 
mnuctxrcolSizeorig_handler(self, event) source code
 
mnuctxrcolSizeorig_updateui(self, event) source code
 
mnuctxrcolSymlinkdb_handler(self, event) source code
 
mnuctxrcolSymlinkdb_updateui(self, event) source code
 
mnuctxrcolSymlinkbag_handler(self, event) source code
 
mnuctxrcolSymlinkbag_updateui(self, event) source code
 
mnuctxrcolSymlinkorigin_handler(self, event) source code
 
mnuctxrcolSymlinkorigin_updateui(self, event) source code
 
mnuctxrcolTs_handler(self, event) source code
 
mnuctxrcolTs_updateui(self, event) source code
 
mnuctxrcolDefault_handler(self, event) source code
 
mnuFileTips_handler(self, event) source code
 
listFiles_col_end_drag_handler(self, event) source code
 
mnuRootsSelall_handler(self, event) source code
 
mnuRootsUnselall_handler(self, event) source code
 
btnSelectRoots_handler(self, event) source code
 
mnuRootsSeldef_hundler(self, event) source code
 
mnuFileCleanDB_handler(self, event) source code
 
UpdateColMnuUI(self, event, idx) source code
 
ToggleCol(self, event, idx) source code
 
PattCMP(self)
Try compile from txtFilter.
source code
 
timer_handler(self, event) source code
 
set_force(self)
Thread function.
source code
 
set_force2(self) source code
 
do_stat(self)
Calculate statistics.
source code
 
do_stat2(self) source code
 
do_cleandb(self)
Calculate statistics.
source code
 
do_cleandb2(self) source code
 
do_read(self)
Thread function.
source code
 
do_read2(self) source code
 
do_compare(self)
Compare files in GUI.
source code
 
do_compare2(self) source code
 
do_sync(self)
Synchronize.
source code
 
do_sync2(self) source code
 
StartWork(self, fun, fun2=None)
Launch "fun" as working thread.
source code

Inherited from wx._windows.Frame: Command, Create, CreateStatusBar, CreateToolBar, DoGiveHelp, DoMenuUpdates, GetMenuBar, GetStatusBar, GetStatusBarPane, GetToolBar, PopStatusText, ProcessCommand, PushStatusText, SendSizeEvent, SetMenuBar, SetStatusBar, SetStatusBarPane, SetStatusText, SetStatusWidths, SetToolBar

Inherited from wx._windows.TopLevelWindow: CenterOnScreen, CentreOnScreen, EnableCloseButton, GetDefaultItem, GetIcon, GetTitle, GetTmpDefaultItem, Iconize, IsActive, IsAlwaysMaximized, IsFullScreen, IsIconized, IsMaximized, MacGetMetalAppearance, MacGetTopLevelWindowRef, 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, ClientToWindowSize, Close, ConvertDialogPointToPixels, ConvertDialogSizeToPixels, ConvertPixelPointToDialog, ConvertPixelSizeToDialog, DLG_PNT, DLG_SZE, Destroy, DestroyChildren, Disable, DissociateHandle, DragAcceptFiles, Enable, FindWindowById, FindWindowByLabel, 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, GetGtkWidget, 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, OnPaint, PageDown, PageUp, PopEventHandler, PopupMenu, PopupMenuXY, PostCreate, PrepareDC, PushEventHandler, Raise, Refresh, RefreshRect, RegisterHotKey, ReleaseMouse, RemoveChild, RemoveEventHandler, Reparent, ScreenToClient, ScreenToClientXY, ScrollLines, ScrollPages, ScrollWindow, 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, WindowToClientSize

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__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]

Inherited from wx._windows.Frame: GetClassDefaultAttributes

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

Instance Variables [hide private]
  colidrclicked
Last column clicked right button
  _outstream
Output stream.
  _sys_stdout
Default out stream.
  progress
Progress dialog.
  ForceDir
Direction for force.
  readdur
Reading duration.
  read_ign
Ignored items while read.
  cmpdur
Comparing duration.
  syncdur
Synchronization duration.
  SplitPos
Splitter position.
  _imgList
Image list for listFiles.
  InfoDlg
Information dialog.
  dlgAddRoot
Add root dialog.
  dlgPrefs
Preference dialog.
  dlgTips
Tips dialog.
Properties [hide private]

Inherited from wx._windows.Frame: MenuBar, StatusBar, StatusBarPane, ToolBar, 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, GtkWidget, 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, *args, **kwds)
(Constructor)

source code 

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

Returns: EvtHandler
Overrides: object.__init__
(inherited documentation)

PattCMP(self)

source code 

Try compile from txtFilter. If Ok return True and set cfg.REPORTPATTCMP to compiled regexp, otherwise return False and do not change cfg.REPORTPATTCMP.

do_stat(self)

source code 

Calculate statistics.

Resultat save into self._stat_info variable.

do_cleandb(self)

source code 

Calculate statistics.

Resultat save into self._stat_info variable.

do_compare(self)

source code 

Compare files in GUI.

Thread function.

do_sync(self)

source code 

Synchronize.

Thread function.

StartWork(self, fun, fun2=None)

source code 

Launch "fun" as working thread. Return True for success, False otherwise. "fun2" will be running after thread exited.