Part of stoqlib.gui.slaves.employeeslave View In Hierarchy
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 |
Parameters | conn | a connection |
model | the object model tied with the proxy widgets | |
visual_mode | does this slave must be opened in visual mode? if so, all the proxy widgets will be disable |
Parameters | trans | a database transaction |