Class s.g.s.i._InstallmentConfirmationSlave(BaseEditor):

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

Known subclasses: stoqlib.gui.slaves.installmentslave.PurchaseInstallmentConfirmationSlave, stoqlib.gui.slaves.installmentslave.SaleInstallmentConfirmationSlave

This slave is responsible for confirming a list of payments and applying the necessary interests and fines.
Method __init__ Creates a new _InstallmentConfirmationSlave
Method run_details_dialog This can be overriden to provide a custom dialog when the
Method _get_columns Undocumented
Method _setup_widgets Undocumented
Method _update_interest Undocumented
Method _update_penalty Undocumented
Method _update_total_value Undocumented
Method setup_proxies A subclass can override this
Method on_confirm This is a hook method which must be redefined when some
Method on_close_date__validate Undocumented
Method after_penalty__content_changed Undocumented
Method on_penalty__validate Undocumented
Method after_interest__content_changed Undocumented
Method on_interest__validate Undocumented
Method after_discount__content_changed Undocumented
Method on_discount__validate Undocumented
Method on_pay_penalty__toggled Undocumented
Method on_pay_interest__toggled Undocumented
Method on_details_button__clicked Undocumented

Inherited from BaseEditor:

Method _get_title_format Undocumented
Method get_title Undocumented
Method enable_window_controls Enables the window controls
Method set_description Sets the description of the model object which is used by the editor
Method refresh_ok Refreshes ok button sensitivity according to widget validators
Method add_button Adds a button to editor. The added button is returned which you
Method cancel Cancel the dialog.
Method confirm Confirm the dialog.
Method enable_ok Enable the ok button of the dialog, eg makes it possible
Method enable_normal_window Enable the dialog as a normal window.
Method set_confirm_widget Make a widget confirmable, eg activating that widget would

Inherited from BaseEditorSlave (via BaseEditor):

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 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, payments):
Creates a new _InstallmentConfirmationSlave
Parametersconna database connection
paymentsa list of payments
def run_details_dialog(self):
This can be overriden to provide a custom dialog when the user click in the details button.
def _get_columns(self):
Undocumented
def _setup_widgets(self):
Undocumented
def _update_interest(self, pay_interest):
Undocumented
def _update_penalty(self, pay_penalty):
Undocumented
def _update_total_value(self):
Undocumented
def setup_proxies(self):
A subclass can override this
def on_confirm(self):
This is a hook method which must be redefined when some action needs to be executed when confirming in the dialog.
def on_close_date__validate(self, widget, date):
Undocumented
def after_penalty__content_changed(self, proxy_entry):
Undocumented
def on_penalty__validate(self, entry, value):
Undocumented
def after_interest__content_changed(self, proxy_entry):
Undocumented
def on_interest__validate(self, entry, value):
Undocumented
def after_discount__content_changed(self, proxy_entry):
Undocumented
def on_discount__validate(self, entry, value):
Undocumented
def on_pay_penalty__toggled(self, toggle):
Undocumented
def on_pay_interest__toggled(self, toggle):
Undocumented
def on_details_button__clicked(self, widget):
Undocumented
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.