Share and Money Management  0.16
Public Member Functions | Static Public Attributes | Private Member Functions | List of all members
gui.dialogs.DlgShare Class Reference

Dialog to add and change shares. More...

Inheritance diagram for gui.dialogs.DlgShare:

Public Member Functions

def __init__ (self, parent, share=None)
 Initialise dialog. More...
def setFixedShareKind (self, kind)
 Set the specified share kind and disable changing the kind. More...
- Public Member Functions inherited from gui.UIShare.UIShare
def __init__ (self, args, kwds)
- Public Member Functions inherited from gui.controls.BaseDialog
def __init__ (self, args, kwargs)
 Initialise dialog. More...
def installOwnOKEventHandler (self)
 Bind own event handler for pressiong OK to allow a proper validation. More...
def OnOK (self, event)
 Own OK button handler to validate the dialog logically using validateDialog() More...
def ShowModal (self)
 Show the dialog modal and process dialogs input. More...

Static Public Attributes

 share = None
 Reference to a share. More...

Private Member Functions

def _setShare (self, share)
 Fill dialogs fields with share data. More...
def _validateInput (self)
 Validate dialog input in a logical way. More...
def _processInput (self)
 Update existing share or create a new one. More...

Additional Inherited Members

- Public Attributes inherited from gui.UIShare.UIShare

Detailed Description

Dialog to add and change shares.

Constructor & Destructor Documentation

◆ __init__()

def gui.dialogs.DlgShare.__init__ (   self,
  share = None 

Initialise dialog.

selfThe object pointer
parentThe parent object
shareA Share object

References gui.dialogs.DlgShare._setShare(), gui.UIShare.UIShare.cc_Source, and gui.controls.BaseDialog.installOwnOKEventHandler().

Here is the call graph for this function:

Member Function Documentation

◆ _processInput()

def gui.dialogs.DlgShare._processInput (   self)

◆ _setShare()

def gui.dialogs.DlgShare._setShare (   self,

◆ _validateInput()

def gui.dialogs.DlgShare._validateInput (   self)

◆ setFixedShareKind()

def gui.dialogs.DlgShare.setFixedShareKind (   self,

Set the specified share kind and disable changing the kind.

selfThe object pointer
kindA share kind

References gui.UIShare.UIShare.cc_Kind, and gui.controls.ShareDetailsPanel.cc_Kind.

Member Data Documentation

◆ share

gui.dialogs.DlgShare.share = None

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