Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

QWidgetFactoryInterface Struct Reference

#include </home/clem/local/src/opie/qmake/include/private/qwidgetinterface_p.h>

Inheritance diagram for QWidgetFactoryInterface:

Inheritance graph
[legend]
Collaboration diagram for QWidgetFactoryInterface:

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual QWidget * create (const QString &widget, QWidget *parent=0, const char *name=0)=0
virtual QString group (const QString &widget) const =0
virtual QIconSet iconSet (const QString &widget) const =0
virtual QString includeFile (const QString &widget) const =0
virtual QString toolTip (const QString &widget) const =0
virtual QString whatsThis (const QString &widget) const =0
virtual bool isContainer (const QString &widget) const =0

Detailed Description

To add custom widgets to the Qt Designer, implement that interface in your custom widget plugin.

You also have to implement the function featureList() (

See also:
QFeatureListInterface) and return there all widgets (names of it) which this interface provides.

Definition at line 73 of file qwidgetinterface_p.h.


Member Function Documentation

virtual QWidget* QWidgetFactoryInterface::create const QString widget,
QWidget *  parent = 0,
const char *  name = 0
[pure virtual]
 

In the implementation create and return the widget widget here, use parent and name when creating the widget

virtual QString QWidgetFactoryInterface::group const QString widget  )  const [pure virtual]
 

In the implementation return the name of the group of the widget widget

virtual QIconSet QWidgetFactoryInterface::iconSet const QString widget  )  const [pure virtual]
 

In the implementation return the iconset, which should be used in the Qt Designer menubar and toolbar to represent the widget widget

virtual QString QWidgetFactoryInterface::includeFile const QString widget  )  const [pure virtual]
 

In the implementation return the include file which is needed for the widget widget in the generated code which uic generates.

virtual bool QWidgetFactoryInterface::isContainer const QString widget  )  const [pure virtual]
 

In the implementation return TRUE here, of the widget should be able to contain other widget in the Qt Designer, else FALSE.

virtual QString QWidgetFactoryInterface::toolTip const QString widget  )  const [pure virtual]
 

In the implementation return the text which should be displayed as tooltip for the widget widget

virtual QString QWidgetFactoryInterface::whatsThis const QString widget  )  const [pure virtual]
 

In the implementation return the text which should be used for what's this help for the widget widget.


The documentation for this struct was generated from the following file:
Generated on Sat Nov 5 17:50:31 2005 for OPIE by  doxygen 1.4.2