Share and Money Management  0.16
Public Member Functions | Static Public Attributes | Private Member Functions | List of all members
gui.panel.PanelExchange Class Reference

Panel to show and maintain all exchanges. More...

Inheritance diagram for gui.panel.PanelExchange:

Public Member Functions

def __init__
 Initialise widget.
def createListHeader
 Create the header of a list.
def populateList
 Fill the exchange list.
def psAddExchange
 Add a new exchange to the list.
def psChangeExchange
 A listed exchange has been changed.
- Public Member Functions inherited from gui.controls.SortedListPanel
def createList
 Create list, add header and enable sorting.
def removeEntry
 Remove a listed entry.
- Public Member Functions inherited from gui.controls.GeneralPanelConfig
def OnClose
 Save the current configuration before the panel is closed.
def restoreConfig
 Restore saved settings.
def saveConfig
 Save current settings.
def restoreListCtrl
 Restore saved settings.
def saveListCtrl
 Save current settings.

Static Public Attributes

string config_section = 'panel_exchange'
int initiallySort = 1
- Static Public Attributes inherited from gui.controls.SortedListPanel
 config_section = None
 Section in the configuration that contains the current look.
 listStyle = wx.LC_REPORT|wx.SUNKEN_BORDER
 Style of the ListCtrl.
 list = None
 Reference to the used SortedListCtrl.
- Static Public Attributes inherited from gui.controls.GeneralPanelConfig
 config_section = None
 Section in the configuration that contains the current look.
dictionary config_items
 Dictionary with all elements to save/restore.

Private Member Functions

def _addExchange
 Add a smm.objects.Exchange object to the list control.

Detailed Description

Panel to show and maintain all exchanges.

Lists all smm.objects.Exchange objects.

Constructor & Destructor Documentation

def gui.panel.PanelExchange.__init__ (   self,
  args,
  kwargs 
)

Initialise widget.

Reimplemented from gui.controls.SortedListPanel.

References gui.panel.PanelExchange.psAddExchange(), and gui.panel.PanelExchange.psChangeExchange().

Here is the call graph for this function:

Member Function Documentation

def gui.panel.PanelExchange._addExchange (   self,
  exchange 
)
private

Add a smm.objects.Exchange object to the list control.

Parameters
selfThe object instance itself
exchangeThe smm.objects.Exchange object

Referenced by gui.panel.PanelExchange.populateList(), and gui.panel.PanelExchange.psAddExchange().

Here is the caller graph for this function:

def gui.panel.PanelExchange.createListHeader (   self)

Create the header of a list.

Reimplemented from gui.controls.SortedListPanel.

def gui.panel.PanelExchange.populateList (   self)

Fill the exchange list.

Reimplemented from gui.controls.SortedListPanel.

References gui.panel.PanelExchange._addExchange().

Here is the call graph for this function:

def gui.panel.PanelExchange.psAddExchange (   self,
  obj 
)

Add a new exchange to the list.

Parameters
selfThe object instance itself
objExchange to add

References gui.panel.PanelExchange._addExchange().

Referenced by gui.panel.PanelExchange.__init__(), and gui.panel.PanelExchange.psChangeExchange().

Here is the call graph for this function:

Here is the caller graph for this function:

def gui.panel.PanelExchange.psChangeExchange (   self,
  obj 
)

A listed exchange has been changed.

Parameters
selfThe object instance itself
objExchange to change

References gui.panel.PanelExchange.psAddExchange(), and gui.controls.SortedListPanel.removeEntry().

Referenced by gui.panel.PanelExchange.__init__().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

string gui.panel.PanelExchange.config_section = 'panel_exchange'
static
int gui.panel.PanelExchange.initiallySort = 1
static

The documentation for this class was generated from the following file: