Class s.g.s.p.MultipleMethodSlave(BaseEditorSlave):

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

A base payment method slave for multiple payments.
Method __init__ A base class for editor slaves inheritance
Method setup_proxies A subclass can override this
Method update_view Undocumented
Method finish Undocumented
Method _get_total_amount Undocumented
Method _setup_widgets Undocumented
Method _update_values Undocumented
Method _update_missing_or_change_value Undocumented
Method _get_columns Undocumented
Method _add_method Undocumented
Method _can_add_payment Undocumented
Method _add_payment Undocumented
Method _setup_cash_payment Undocumented
Method _update_payment_list Undocumented
Method _run_payment_editor Undocumented
Method _on_method__toggled Undocumented
Method on_add_button__clicked Undocumented
Method on_base_value__validate Undocumented

Inherited from BaseEditorSlave:

Method _setup_visual_mode Undocumented
Method create_model Creates a new model for the editor.
Method setup_slaves A subclass can override this
Method on_cancel This is a hook method which must be redefined when some
Method on_confirm 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, wizard, parent, conn, sale_obj, payment_method, outstanding_value=currency(0)):
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_proxies(self):
A subclass can override this
def update_view(self):
Undocumented
def finish(self):
Undocumented
def _get_total_amount(self):
Undocumented
def _setup_widgets(self):
Undocumented
def _update_values(self):
Undocumented
def _update_missing_or_change_value(self):
Undocumented
def _get_columns(self):
Undocumented
def _add_method(self, payment_method):
Undocumented
def _can_add_payment(self):
Undocumented
def _add_payment(self):
Undocumented
def _setup_cash_payment(self):
Undocumented
def _update_payment_list(self):
Undocumented
def _run_payment_editor(self):
Undocumented
def _on_method__toggled(self, radio):
Undocumented
def on_add_button__clicked(self, widget):
Undocumented
def on_base_value__validate(self, entry, value):
Undocumented
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.