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__ (self, args, kwargs)
 Initialise widget. More...
 
def createListHeader (self)
 
def populateList (self)
 Fill the exchange list. More...
 
def psAddExchange (self, obj)
 Add a new exchange to the list. More...
 
def psChangeExchange (self, obj)
 A listed exchange has been changed. More...
 
- Public Member Functions inherited from gui.controls.SortedListPanel
def __init__ (self, args, kwargs)
 Initialise widget. More...
 
def createListHeader (self)
 Create the header of a list. More...
 
def createList (self)
 Create list, add header and enable sorting. More...
 
def populateList (self)
 Fill a already created list. More...
 
def removeEntry (self, element_id)
 Remove a listed entry. More...
 
- Public Member Functions inherited from gui.controls.GeneralPanelConfig
def OnClose (self, event)
 Save the current configuration before the panel is closed. More...
 
def restoreConfig (self)
 Restore saved settings. More...
 
def saveConfig (self)
 Save current settings. More...
 
def restoreListCtrl (self, ctrl, section, prefix)
 Restore saved settings. More...
 
def saveListCtrl (self, ctrl, section, prefix)
 Save current settings. More...
 

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. More...
 
 listStyle = wx.LC_REPORT|wx.SUNKEN_BORDER
 Style of the ListCtrl. More...
 
 list = None
 Reference to the used SortedListCtrl. More...
 
- Static Public Attributes inherited from gui.controls.GeneralPanelConfig
 config_section = None
 Section in the configuration that contains the current look. More...
 
dictionary config_items
 Dictionary with all elements to save/restore. More...
 

Private Member Functions

def _addExchange (self, exchange)
 Add a smm.objects.Exchange object to the list control. More...
 

Detailed Description

Panel to show and maintain all exchanges.

Lists all smm.objects.Exchange objects.

Constructor & Destructor Documentation

◆ __init__()

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

Initialise widget.

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

Here is the call graph for this function:

Member Function Documentation

◆ _addExchange()

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

References gui.controls.SortedListPanel.list.

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

Here is the caller graph for this function:

◆ createListHeader()

def gui.panel.PanelExchange.createListHeader (   self)

◆ populateList()

def gui.panel.PanelExchange.populateList (   self)

Fill the exchange list.

References gui.panel.PanelExchange._addExchange().

Here is the call graph for this function:

◆ psAddExchange()

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(), and gui.controls.SortedListPanel.list.

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:

◆ psChangeExchange()

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

◆ config_section

string gui.panel.PanelExchange.config_section = 'panel_exchange'
static

◆ initiallySort

int gui.panel.PanelExchange.initiallySort = 1
static

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