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

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

A slave to set payment information of check payment method.
Method __init__ A base class for editor slaves inheritance
Method get_payment_value Undocumented
Method create_model Creates a new model for the editor.
Method setup_slaves A subclass can override this
Method setup_proxies A subclass can override this

Inherited from BillDataSlave:

Method _setup_widgets Undocumented
Method set_frame_label Undocumented
Method after_value__changed Undocumented
Method on_due_date__validate Undocumented

Inherited from BaseEditorSlave (via BillDataSlave):

Method _setup_visual_mode Undocumented
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, is_sale_payment, model=None, default_bank=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_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_slaves(self):
A subclass can override this
def setup_proxies(self):
A subclass can override this
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.