Share and Money Management  0.16
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
gui.controls.TransactionListSmall Class Reference

Class to simpilfy creating and controlling of Transaction lists. More...

Inheritance diagram for gui.controls.TransactionListSmall:

Public Member Functions

def createHeader
 Creates a header only list.
def createPopupMenu
 Create the popup menu.
def add
 Add a single smm.objects.Transaction object to the list.
def OnRemoveTransaction
 Delete the selected transaction.
- Public Member Functions inherited from gui.controls.BaseListSmall
def __init__
 Create the list header and enable the column sorter.
def clean
 Clean the list.
def populate
 Creates a list of smm.objects.Position objects.
def OnShowPopup
 Display the pop-up menu.

Public Attributes

 popupmenu

Static Public Attributes

 hasPopup = True
- Static Public Attributes inherited from gui.controls.BaseListSmall
 control = None
 Reference to a SortedListCtrl.
 hasPopup = False
 List has a popup menu.
 popupmenu = None
 Reference to the pop-up menu.

Detailed Description

Class to simpilfy creating and controlling of Transaction lists.

Wrapper class to consolidates code to maintain Transaction lists.

Member Function Documentation

def gui.controls.TransactionListSmall.add (   self,
  transaction 
)

Add a single smm.objects.Transaction object to the list.

Parameters
selfThe object instance itself
transactionA single transaction

Reimplemented from gui.controls.BaseListSmall.

def gui.controls.TransactionListSmall.createHeader (   self)

Creates a header only list.

Reimplemented from gui.controls.BaseListSmall.

def gui.controls.TransactionListSmall.createPopupMenu (   self)

Create the popup menu.

Reimplemented from gui.controls.BaseListSmall.

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

Here is the caller graph for this function:

def gui.controls.TransactionListSmall.OnRemoveTransaction (   self,
  unused 
)

Delete the selected transaction.

Referenced by gui.panel.PanelTransaction.createPopupMenu().

Here is the caller graph for this function:

Member Data Documentation

gui.controls.TransactionListSmall.hasPopup = True
static
gui.controls.TransactionListSmall.popupmenu

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