Public Member Functions

Koo::Fields::FieldWidgetFactory::FieldWidgetFactory Class Reference

The FieldWidgetFactory class specializes in creating the appropiate widget for a given type. More...

List of all members.

Public Member Functions

def scan
 Scans for all available widgets.
def create
 Creates a new widget given type, parent and attributes.
def register
 Registers a new widget, given it's name (or type) and reference to the class.

Detailed Description

The FieldWidgetFactory class specializes in creating the appropiate widget for a given type.

Definition at line 34 of file FieldWidgetFactory.py.


Member Function Documentation

def Koo::Fields::FieldWidgetFactory::FieldWidgetFactory::create (   widgetType,
  parent,
  view,
  attributes 
)

Creates a new widget given type, parent and attributes.

Definition at line 48 of file FieldWidgetFactory.py.

def Koo::Fields::FieldWidgetFactory::FieldWidgetFactory::register (   name,
  widget 
)

Registers a new widget, given it's name (or type) and reference to the class.

Definition at line 60 of file FieldWidgetFactory.py.

def Koo::Fields::FieldWidgetFactory::FieldWidgetFactory::scan (  ) 

Scans for all available widgets.

Definition at line 39 of file FieldWidgetFactory.py.


The documentation for this class was generated from the following file:
Generated by Doxygen