Class s.g.t.p._PersonEditorTemplate(BaseEditorSlave):

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

Undocumented
Method create_model Creates a new model for the editor.
Method setup_proxies A subclass can override this
Method setup_slaves A subclass can override this
Method on_confirm This is a hook method which must be redefined when some
Method set_phone_number Undocumented
Method attach_custom_slave Undocumented
Method attach_role_slave Undocumented
Method attach_extra_slave Undocumented
Method attach_model_slave Undocumented
Method on_address_button__clicked Undocumented
Method on_contacts_button__clicked Undocumented
Method _setup_widgets Undocumented

Inherited from BaseEditorSlave:

Method __init__ A base class for editor slaves inheritance
Method _setup_visual_mode Undocumented
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 create_model(self, conn):
Creates a new model for the editor. After this method is called, the model can be accessed as self.model. The default behavior is to raise a TypeError, which can be overridden in a subclass.
Parameterstransa database transaction
def setup_proxies(self):
A subclass can override this
def setup_slaves(self):
A subclass can override this
def on_confirm(self):
This is a hook method which must be redefined when some action needs to be executed when confirming in the dialog.
def set_phone_number(self, phone_number):
Undocumented
def attach_custom_slave(self, slave, tab_label):
Undocumented
def attach_role_slave(self, slave):
Undocumented
def attach_extra_slave(self, slave, tab_label):
Undocumented
def attach_model_slave(self, name, slave_type, slave_model):
Undocumented
def on_address_button__clicked(self, button):
Undocumented
def on_contacts_button__clicked(self, button):
Undocumented
def _setup_widgets(self):
Undocumented
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.