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

Part of stoqlib.gui.printing View In Hierarchy

Undocumented
Method __init__ A base class for editor slaves inheritance
Method get_printer_name Undocumented
Method get_filename Undocumented
Method get_report_file Undocumented
Method _setup_printer_combo Undocumented
Method _get_available_printers Undocumented
Method _setup_widgets Undocumented
Method _update_view Undocumented
Method create_model Creates a new model for the editor.
Method get_title Undocumented
Method setup_proxies A subclass can override this
Method on_printer_radio__toggled Undocumented
Method on_file_selection_button__clicked Undocumented
Method on_print_preview_button__clicked 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, report_class, *args, **kwargs):
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_printer_name(self):
Undocumented
def get_filename(self):
Undocumented
def get_report_file(self):
Undocumented
def _setup_printer_combo(self):
Undocumented
def _get_available_printers(self):
Undocumented
def _setup_widgets(self):
Undocumented
def _update_view(self):
Undocumented
def create_model(self, dummy):
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 get_title(self, dummy):
Undocumented
def setup_proxies(self):
A subclass can override this
def on_printer_radio__toggled(self, widget):
Undocumented
def on_file_selection_button__clicked(self, *args):
Undocumented
def on_print_preview_button__clicked(self, *args):
Undocumented
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.