Class s.g.t.i.IndividualEditorTemplate(BaseEditorSlave):

Part of stoqlib.gui.templates.individualtemplate View In Hierarchy

No class docstring
Method __init__ Creates a new IndividualEditorTemplate object
Method get_person_slave Undocumented
Method attach_person_slave Undocumented
Method setup_slaves A subclass can override this
Method on_confirm This is a hook method which must be redefined when some

Inherited from BaseEditorSlave:

Method _setup_visual_mode Undocumented
Method create_model Creates a new model for the editor.
Method setup_proxies A subclass can override this
Method on_cancel This is a hook method which must be redefined when some
Method update_visual_mode This method must be overwritten on child if some addition task in
Method validate_confirm Must be redefined by childs and will perform some validations
def __init__(self, conn, model=None, person_slave=None, visual_mode=False):
Creates a new IndividualEditorTemplate object
Parametersconna database connnection
modelmodel
person_slavethe person slave
visual_model
def get_person_slave(self):
Undocumented
def attach_person_slave(self, slave):
Undocumented
def setup_slaves(self):
A subclass can override this
def on_confirm(self, confirm_person=True):
This is a hook method which must be redefined when some action needs to be executed when confirming in the dialog.
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.