Class s.g.s.e.EmployeeRoleSlave(BaseEditorSlave):

Part of stoqlib.gui.slaves.employeeslave View In Hierarchy

Undocumented
Method __init__ A base class for editor slaves inheritance
Method _setup_entry_completion Undocumented
Method _setup_widgets Undocumented
Method _get_active_role_history Undocumented
Method _is_default_salesperson_role Undocumented
Method on_confirm This is a hook method which must be redefined when some
Method create_model Creates a new model for the editor.
Method setup_proxies A subclass can override this
Method on_role_editor_button__clicked Undocumented
Method on_salary__validate Undocumented
Method after_role__content_changed Undocumented
Method _update_sensitivity Undocumented

Inherited from BaseEditorSlave:

Method _setup_visual_mode Undocumented
Method setup_slaves 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, employee, edit_mode, visual_mode=False):
A base class for editor slaves inheritance
Parametersconna connection
modelthe object model tied with the proxy widgets
visual_modedoes this slave must be opened in visual mode? if so, all the proxy widgets will be disable
def _setup_entry_completion(self):
Undocumented
def _setup_widgets(self):
Undocumented
def _get_active_role_history(self):
Undocumented
def _is_default_salesperson_role(self):
Undocumented
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 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 on_role_editor_button__clicked(self, *args):
Undocumented
def on_salary__validate(self, widget, value):
Undocumented
def after_role__content_changed(self, widget):
Undocumented
def _update_sensitivity(self):
Undocumented
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.