Part of stoqlib.gui.slaves.paymentslave View In Hierarchy
A basic payment list slave. Each element of this list is a payment method slave which hold informations about payments. Available slaves are: BillDataSlave and CheckDataSlave
Notes:
Method | __init__ | A base class for editor slaves inheritance |
Method | _remove_payment_slave | Undocumented |
Method | _remove_last_payment_slave | Undocumented |
Method | get_total_difference | Get the difference for the total of check payments invoiced. If |
Method | update_view | Undocumented |
Method | update_total_label | Undocumented |
Method | get_children_number | Undocumented |
Method | register_max_installments | Undocumented |
Method | clear_list | Undocumented |
Method | update_payment_list | Undocumented |
Method | add_slave | Undocumented |
Method | is_all_due_dates_valid | Undocumented |
Method | on_add_button__clicked | Undocumented |
Method | on_remove_button__clicked | 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 |
Parameters | conn | a connection |
model | the object model tied with the proxy widgets | |
visual_mode | does this slave must be opened in visual mode? if so, all the proxy widgets will be disable |