|
Share and Money Management 0.18devel
|
Choice widget to select a position. More...
Public Member Functions | |
| def | __init__ (self, *args, **kwargs) |
| Constructor. More... | |
Public Member Functions inherited from gui.controls.BaseChoice | |
| def | __init__ (self, *args, **kwargs) |
| Constructor. More... | |
| def | addEmptyChoice (self) |
| Add an empty choice to the widget. More... | |
| def | GetSelection (self) |
Returns the selected object or None. More... | |
| def | SetSelection (self, obj) |
| Select another object. More... | |
| def | SelectFirst (self) |
| Select the first (non-empty) element. More... | |
| def | Select (self, obj) |
| Selecting an element specified by the given object. More... | |
Static Public Attributes | |
| open_pos = None | |
Flag to list open, closed or all positions. More... | |
Static Public Attributes inherited from gui.controls.BaseChoice | |
| bool | addEmpty = False |
| Add an empty entry to the widget during initialisation. More... | |
Private Member Functions | |
| def | _formatElement (self, obj) |
| Function to format a single object. More... | |
| def | _getElements (self) |
| Function to query all objects of unique type. More... | |
Additional Inherited Members | |
Public Attributes inherited from gui.controls.BaseChoice | |
| addEmpty | |
| idx_obj | |
| Dictionary to lookup relations between position and object. More... | |
Choice widget to select a position.
| def gui.controls.PositionChoice.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs | ||
| ) |
Constructor.
open_pos Flag to list open, closed or all positionsReimplemented from gui.controls.BaseChoice.
References gui.controls.PositionChoice.open_pos.
|
private |
Function to format a single object.
Reimplemented from gui.controls.BaseChoice.
|
private |
Function to query all objects of unique type.
Reimplemented from gui.controls.BaseChoice.
References gui.controls.PositionChoice.open_pos.
|
static |
Flag to list open, closed or all positions.
Referenced by gui.controls.PositionChoice.__init__(), and gui.controls.PositionChoice._getElements().