Class s.g.e.d.DeviceSettingsEditor(BaseEditor):

Part of stoqlib.gui.editors.deviceseditor View In Hierarchy

Undocumented
Method __init__ A base class for editor slaves inheritance
Method refresh_ok Refreshes ok button sensitivity according to widget validators
Method setup_station_combo Undocumented
Method setup_device_port_combo Undocumented
Method setup_device_types_combo Undocumented
Method setup_widgets Undocumented
Method _get_supported_types Undocumented
Method _get_supported_brands Undocumented
Method _get_supported_models Undocumented
Method update_brand_combo Undocumented
Method update_model_combo Undocumented
Method setup_proxies A subclass can override this
Method create_model Creates a new model for the editor.
Method get_title Undocumented
Method validate_confirm Must be redefined by childs and will perform some validations
Method on_confirm This is a hook method which must be redefined when some
Method on_brand_combo__changed Undocumented
Method on_type_combo__changed Undocumented
Method on_brand_combo__state_changed Undocumented
Method on_model_combo__changed Undocumented
Method on_device_combo__changed Undocumented

Inherited from BaseEditor:

Method _get_title_format 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 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 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
def __init__(self, conn, model=None, station=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 refresh_ok(self, *args):
Refreshes ok button sensitivity according to widget validators status
def setup_station_combo(self):
Undocumented
def setup_device_port_combo(self):
Undocumented
def setup_device_types_combo(self):
Undocumented
def setup_widgets(self):
Undocumented
def _get_supported_types(self):
Undocumented
def _get_supported_brands(self):
Undocumented
def _get_supported_models(self):
Undocumented
def update_brand_combo(self):
Undocumented
def update_model_combo(self):
Undocumented
def setup_proxies(self):
A subclass can override this
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 get_title(self, *args):
Undocumented
def validate_confirm(self):
Must be redefined by childs and will perform some validations after the click of ok_button. It is interesting to use with some special validators that provide some tasks over more than one widget value
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_brand_combo__changed(self, *args):
Undocumented
def on_type_combo__changed(self, *args):
Undocumented
def on_brand_combo__state_changed(self, *args):
Undocumented
def on_model_combo__changed(self, *args):
Undocumented
def on_device_combo__changed(self, *args):
Undocumented
API Documentation for Stoqlib, generated by pydoctor at 2009-07-14 16:00:32.