WidgetRegistry Class Reference

central registry for widgets More...

#include <widget_registry.hh>


Public Member Functions

bool RegisterWidgetFactory (WidgetFactory *factory)
bool UnregisterWidgetFactory (const QString &id)
WidgetCreate (const QString &id, QWidget *parent)
QString GetFullName (const QString &id)

Static Public Member Functions

static WidgetRegistryInstance ()


Detailed Description

central registry for widgets

Definition at line 67 of file widget_registry.hh.


Member Function Documentation

Widget* Create ( const QString &  id,
QWidget *  parent 
)

create widget by id

QString GetFullName ( const QString &  id  ) 

static WidgetRegistry* Instance (  )  [static]

bool RegisterWidgetFactory ( WidgetFactory factory  ) 

register widget factory

The widget registry takes ownership of the widget factory

bool UnregisterWidgetFactory ( const QString &  id  ) 

unregister widget factory

The ownership of the widget factory is set to NULL


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

Generated on Fri Jul 2 14:23:06 2010 for OpenStructure by  doxygen 1.5.8