Class s.g.s.c.CashChangeSlave(BaseEditorSlave):

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

This slave is responsible to calculate paybacks
Method __init__ A base class for editor slaves inheritance
Method _setup_widgets Undocumented
Method _get_total_amount Undocumented
Method enable_cash_change Undocumented
Method disable_cash_change Undocumented
Method update_total_sale_amount Undocumented
Method get_received_value Undocumented
Method can_finish Undocumented
Method on_received_value__validate Undocumented
Method on_received_value__content_changed Undocumented

Inherited from BaseEditorSlave:

Method _setup_visual_mode 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_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, conn, model):
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_widgets(self):
Undocumented
def _get_total_amount(self):
Undocumented
def enable_cash_change(self):
Undocumented
def disable_cash_change(self):
Undocumented
def update_total_sale_amount(self):
Undocumented
def get_received_value(self):
Undocumented
def can_finish(self):
Undocumented
def on_received_value__validate(self, widget, value):
Undocumented
def on_received_value__content_changed(self, widget):
Undocumented
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.