|
Share and Money Management 0.18devel
|
Panel to show and maintain all exchanges. More...
Public Member Functions | |
| def | __init__ (self, *args, **kwargs) |
| Initialise widget. More... | |
| def | createListHeader (self) |
| Create the header of a list. More... | |
| 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 an 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... | |
Panel to show and maintain all exchanges.
Lists all smm.objects.Exchange objects.
| 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().
|
private |
Add a smm.objects.Exchange object to the list control.
| self | The object instance itself |
| exchange | The smm.objects.Exchange object |
References gui.controls.SortedListPanel.list.
Referenced by gui.panel.PanelExchange.populateList(), and gui.panel.PanelExchange.psAddExchange().
| def gui.panel.PanelExchange.createListHeader | ( | self | ) |
Create the header of a list.
Reimplemented from gui.controls.SortedListPanel.
References gui.controls.SortedListPanel.list.
Referenced by gui.controls.SortedListPanel.createList().
| def gui.panel.PanelExchange.populateList | ( | self | ) |
Fill the exchange list.
Reimplemented from gui.controls.SortedListPanel.
References gui.panel.PanelExchange._addExchange().
Referenced by gui.controls.SortedListPanel.__init__().
| def gui.panel.PanelExchange.psAddExchange | ( | self, | |
| obj | |||
| ) |
Add a new exchange to the list.
| self | The object instance itself |
| obj | Exchange to add |
References gui.panel.PanelExchange._addExchange(), and gui.controls.SortedListPanel.list.
Referenced by gui.panel.PanelExchange.__init__(), and gui.panel.PanelExchange.psChangeExchange().
| def gui.panel.PanelExchange.psChangeExchange | ( | self, | |
| obj | |||
| ) |
A listed exchange has been changed.
| self | The object instance itself |
| obj | Exchange to change |
References gui.panel.PanelExchange.psAddExchange(), and gui.controls.SortedListPanel.removeEntry().
Referenced by gui.panel.PanelExchange.__init__().
|
static |
|
static |