Class s.g.e.p.ProductComponentSlave(BaseEditorSlave):

Part of stoqlib.gui.editors.producteditor View In Hierarchy

Undocumented
Method __init__ A base class for editor slaves inheritance
Method _get_columns Undocumented
Method _setup_widgets Undocumented
Method _get_products Undocumented
Method _update_widgets Undocumented
Method _populate_component_tree Undocumented
Method _get_components Undocumented
Method _add_to_component_tree Undocumented
Method _can_add_component Undocumented
Method _run_product_component_dialog Undocumented
Method _edit_component Undocumented
Method _totally_remove_component Undocumented
Method _remove_component Undocumented
Method create_model Creates a new model for the editor.
Method on_confirm This is a hook method which must be redefined when some
Method on_component_combo__content_changed Undocumented
Method on_component_tree__selection_changed Undocumented
Method on_component_tree__row_activated Undocumented
Method on_component_tree__row_expanded Undocumented
Method on_add_button__clicked Undocumented
Method on_edit_button__clicked Undocumented
Method on_remove_button__clicked Undocumented
Method on_sort_components_check__toggled Undocumented

Inherited from BaseEditorSlave:

Method _setup_visual_mode Undocumented
Method setup_proxies A subclass can override this
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, product=None):
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 _get_columns(self):
Undocumented
def _setup_widgets(self):
Undocumented
def _get_products(self, sort_by_name=True):
Undocumented
def _update_widgets(self):
Undocumented
def _populate_component_tree(self):
Undocumented
def _get_components(self, product):
Undocumented
def _add_to_component_tree(self, component=None):
Undocumented
def _can_add_component(self, component):
Undocumented
def _run_product_component_dialog(self, product_component=None):
Undocumented
def _edit_component(self):
Undocumented
def _totally_remove_component(self, component):
Undocumented
def _remove_component(self, component):
Undocumented
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 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 on_component_combo__content_changed(self, widget):
Undocumented
def on_component_tree__selection_changed(self, widget, value):
Undocumented
def on_component_tree__row_activated(self, widget, selected):
Undocumented
def on_component_tree__row_expanded(self, widget, value):
Undocumented
def on_add_button__clicked(self, widget):
Undocumented
def on_edit_button__clicked(self, widget):
Undocumented
def on_remove_button__clicked(self, widget):
Undocumented
def on_sort_components_check__toggled(self, widget):
Undocumented
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.