Part of stoqlib.gui.editors.baseeditor View In Hierarchy
Known subclasses: stoqlib.gui.base.slaves.NoteSlave, stoqlib.gui.base.wizards.WizardEditorStep, stoqlib.gui.editors.addresseditor.AddressSlave, stoqlib.gui.editors.baseeditor.BaseEditor, stoqlib.gui.editors.producteditor.ProductComponentSlave, stoqlib.gui.editors.tilleditor.BaseCashSlave, stoqlib.gui.printing.PrintDialogSlave, stoqlib.gui.slaves.branchslave.BranchDetailsSlave, stoqlib.gui.slaves.cashchangeslave.CashChangeSlave, stoqlib.gui.slaves.clientslave.ClientStatusSlave, stoqlib.gui.slaves.commissionslave.CommissionSlave, stoqlib.gui.slaves.credproviderslave.CreditProviderDetailsSlave, stoqlib.gui.slaves.employeeslave.EmployeeDetailsSlave, stoqlib.gui.slaves.employeeslave.EmployeeRoleSlave, stoqlib.gui.slaves.employeeslave.EmployeeStatusSlave, stoqlib.gui.slaves.imageslaveslave.ImageSlave, stoqlib.gui.slaves.paymentslave.BankDataSlave, stoqlib.gui.slaves.paymentslave.BasePaymentMethodSlave, stoqlib.gui.slaves.paymentslave.BillDataSlave, stoqlib.gui.slaves.paymentslave.CardMethodSlave, stoqlib.gui.slaves.paymentslave.MultipleMethodSlave, stoqlib.gui.slaves.paymentslave.PaymentListSlave, stoqlib.gui.slaves.productslave.ProductInformationSlave, stoqlib.gui.slaves.purchaseslave.PurchasePaymentSlave, stoqlib.gui.slaves.receivingslave.ReceivingInvoiceSlave, stoqlib.gui.slaves.saleslave.SaleDiscountSlave, stoqlib.gui.slaves.saleslave.SaleReturnSlave, stoqlib.gui.slaves.sellableslave.OnSaleInfoSlave, stoqlib.gui.slaves.sellableslave.SellableDetailsSlave, stoqlib.gui.slaves.sellableslave.TributarySituationSlave, stoqlib.gui.slaves.supplierslave.SupplierDetailsSlave, stoqlib.gui.slaves.transporterslave.TransporterDataSlave, stoqlib.gui.slaves.userslave.PasswordEditorSlave, stoqlib.gui.slaves.userslave.UserDetailsSlave, stoqlib.gui.slaves.userslave.UserStatusSlave, stoqlib.gui.templates.companytemplate.CompanyDocumentsSlave, stoqlib.gui.templates.companytemplate.CompanyEditorTemplate, stoqlib.gui.templates.individualtemplate._IndividualDetailsSlave, stoqlib.gui.templates.individualtemplate._IndividualDocuments, stoqlib.gui.templates.individualtemplate.IndividualEditorTemplate, stoqlib.gui.templates.persontemplate._PersonEditorTemplate
Class Variables | gladefile | |
model_type | ||
model_iface |
Method | __init__ | A base class for editor slaves inheritance |
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 |
Parameters | trans | a database transaction |