Eneboo - Documentación para desarrolladores
|
#include <qwidgetinterface_p.h>
Métodos públicos | |
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 |
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 |
To add custom widgets to the Qt Designer, implement that interface in your custom widget plugin.
You also have to implement the function featureList() (
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
Implementado en QWidgetPluginPrivate.
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
Implementado en QWidgetPluginPrivate.
In the implementation return the name of the group of the widget widget
Implementado en QWidgetPluginPrivate.
In the implementation return the name of the group of the widget widget
Implementado en QWidgetPluginPrivate.
In the implementation return the iconset, which should be used in the Qt Designer menubar and toolbar to represent the widget widget
Implementado en QWidgetPluginPrivate.
In the implementation return the iconset, which should be used in the Qt Designer menubar and toolbar to represent the widget widget
Implementado en QWidgetPluginPrivate.
In the implementation return the include file which is needed for the widget widget in the generated code which uic generates.
Implementado en QWidgetPluginPrivate.
In the implementation return the include file which is needed for the widget widget in the generated code which uic generates.
Implementado en QWidgetPluginPrivate.
In the implementation return TRUE here, of the widget should be able to contain other widget in the Qt Designer, else FALSE.
Implementado en QWidgetPluginPrivate.
In the implementation return TRUE here, of the widget should be able to contain other widget in the Qt Designer, else FALSE.
Implementado en QWidgetPluginPrivate.
In the implementation return the text which should be displayed as tooltip for the widget widget
Implementado en QWidgetPluginPrivate.
In the implementation return the text which should be displayed as tooltip for the widget widget
Implementado en QWidgetPluginPrivate.
In the implementation return the text which should be used for what's this help for the widget widget.
Implementado en QWidgetPluginPrivate.
In the implementation return the text which should be used for what's this help for the widget widget.
Implementado en QWidgetPluginPrivate.