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 (self)
 Creates a header only list. More...
 
def createPopupMenu (self)
 
def add (self, transaction)
 Add a single smm.objects.Transaction object to the list. More...
 
def OnRemoveTransaction (self, unused)
 Delete the selected transaction. More...
 
- Public Member Functions inherited from gui.controls.BaseListSmall
def __init__ (self, control)
 Create the list header and enable the column sorter. More...
 
def add (self, element)
 Add a single objects object to the list. More...
 
def clean (self)
 Clean the list. More...
 
def createHeader (self)
 Creates a header only list. More...
 
def createPopupMenu (self)
 Create the popup menu. More...
 
def populate (self, element_list)
 Creates a list of smm.objects.Position objects. More...
 
def OnShowPopup (self, event)
 Display the pop-up menu. More...
 

Public Attributes

 popupmenu
 

Static Public Attributes

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

Detailed Description

Class to simpilfy creating and controlling of Transaction lists.

Wrapper class to consolidates code to maintain Transaction lists.

Member Function Documentation

◆ add()

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

References gui.controls.BaseListSmall.control.

◆ createHeader()

def gui.controls.TransactionListSmall.createHeader (   self)

Creates a header only list.

References gui.controls.BaseListSmall.control.

◆ createPopupMenu()

def gui.controls.TransactionListSmall.createPopupMenu (   self)

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

Here is the caller graph for this function:

◆ OnRemoveTransaction()

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

Delete the selected transaction.

References gui.controls.BaseListSmall.control.

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

Here is the caller graph for this function:

Member Data Documentation

◆ hasPopup

bool gui.controls.TransactionListSmall.hasPopup = True
static

◆ popupmenu

gui.controls.TransactionListSmall.popupmenu

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