Module ringers :: Class RingerView
[hide private]
[frames] | no frames]

Class RingerView

source code

     object --+                    
              |                    
wx._core.Object --+                
                  |                
wx._core.EvtHandler --+            
                      |            
        wx._core.Window --+        
                          |        
          wx._windows.Panel --+    
                              |    
       widgets.BitPimWidget --+    
                              |    
              fileview.FileView --+
                                  |
                                 RingerView

Instance Methods [hide private]
EvtHandler
__init__(self, mainwindow, parent, media_root, id=-1)
__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, ...
source code
 
updateprofilevariables(self, profile) source code
 
OnListRequest(self, msg=None) source code
 
OnDictRequest(self, msg=None) source code
 
GetDeleteInfo(self) source code
 
GetAddInfo(self) source code
 
OnAdd(self, evt=None) source code
 
GetItemThumbnail(self, item, w, h) source code
 
GetSections(self) source code
 
GetItemsFromSection(self, sectionnumber, sectionheader) source code
 
organizeby_Origin(self, items) source code
 
GetItemSize(self, sectionnumber, sectionheader) source code
 
GetFileInfoString(self, string) source code
 
GetFileInfo(self, filename) source code
 
ReplaceContents(self, name, origin, new_file_name)
Replace the contents of 'file_name' by the contents of 'new_file_name' by going through the image converter dialog
source code
 
OnAddFiles(*args, **kwargs) source code
 
ConvertFormat(self, file, convertinfo) source code
 
versionupgrade(self, dict, version)
Upgrade old data format read from disk
source code

Inherited from fileview.FileView: AddToIndex, CanAdd, CanCopy, CanDelete, CanPaste, CanRename, CanSelectAll, CompareItems, GetAllItems, GetColumnNames, GetHelpID, GetRightClickMenuItems, GetSelectedItems, MakeMoveMenu, OnCopy, OnDelete, OnDropFiles, OnIdle, OnKeyDown, OnKeyUp, OnLaunch, OnListView, OnMediaInfo, OnMediaOpen, OnMouseEvent, OnMoveItem, OnPaste, OnRefresh, OnRefreshList, OnRename, OnReplace, OnRightClick, OnRightClickMenuExit, OnSave, OnSelectAll, OnSelected, OnSize, OnStartDrag, OnThumbnailView, OnTooltipTimer, convert_to_dict, delete_old_media, get_media_data, get_media_name_from_filename, getdata, getfromfs, legacygetfromfs, log, populate, populatefs, updateindex

Inherited from wx._windows.Panel: Create, SetFocusIgnoringChildren, __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, 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, 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__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__

Inherited from widgets.BitPimWidget: ActivateSelf, AddNode, AddSubPage, CanPrint, GetWidgetName, HasColumnSelector, HasHistoricalData, HasPreviewPane, InitialiseWidget, IsPreviewPaneEnabled, OnHistoricalData, OnInit, OnPopupMenu, OnPostActivate, OnPreActivate, OnPrintDialog, OnViewColumnSelector, OnViewPreview

Static Methods [hide private]

Inherited from wx._windows.Panel: GetClassDefaultAttributes

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

Class Variables [hide private]
  CURRENTFILEVERSION = 2
  __publisher = pubsub.Publisher
  media_notification_type = 'ringtone'
  database_key = 'ringtone-index'
  media_key = 'ringtone'
  default_origin = 'ringers'

Inherited from fileview.FileView: ALL, NONE, SELECTED, filenamechars, helpid, item_guardspace, item_line_font, item_selection_brush, item_selection_pen, item_term, maxlen, skiplist

Inherited from widgets.BitPimWidget: MENU_CHECK, MENU_NORMAL, MENU_SPACER

Properties [hide private]

Inherited from wx._windows.Panel: thisown

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, mainwindow, parent, media_root, id=-1)
(Constructor)

source code 

__init__(self, Window parent, int id=-1, Point pos=DefaultPosition, 
    Size size=DefaultSize, long style=wxTAB_TRAVERSAL|wxNO_BORDER, 
    String name=PanelNameStr) -> Panel

Returns: EvtHandler
Overrides: widgets.BitPimWidget.__init__

GetDeleteInfo(self)

source code 
Overrides: widgets.BitPimWidget.GetDeleteInfo

GetAddInfo(self)

source code 
Overrides: widgets.BitPimWidget.GetAddInfo

OnAdd(self, evt=None)

source code 
Overrides: widgets.BitPimWidget.OnAdd

OnAddFiles(*args, **kwargs)

source code 
Decorators:
  • @guihelper.BusyWrapper
Overrides: fileview.FileView.OnAddFiles

versionupgrade(self, dict, version)

source code 

Upgrade old data format read from disk

Parameters:
  • dict - The dict that was read in
  • version - version number of the data on disk