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

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

Known subclasses: stoqlib.gui.slaves.paymentslave._MoneyData, stoqlib.gui.slaves.paymentslave._StoreCreditData, stoqlib.gui.slaves.paymentslave.CheckDataSlave

A slave to set payment information of bill payment method.
Method __init__ A base class for editor slaves inheritance
Method _setup_widgets Undocumented
Method set_frame_label Undocumented
Method get_payment_value Undocumented
Method create_model Creates a new model for the editor.
Method setup_proxies A subclass can override this
Method after_value__changed Undocumented
Method on_due_date__validate 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 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, payment_group, due_date, value, method_iface, model=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 _setup_widgets(self):
Undocumented
def set_frame_label(self, label_name):
Undocumented
def get_payment_value(self):
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 setup_proxies(self):
A subclass can override this
def after_value__changed(self, *args):
Undocumented
def on_due_date__validate(self, widget, value):
Undocumented
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.