GradientRendererPlugin Class Reference

Inheritance diagram for GradientRendererPlugin:

Inheritance graph
[legend]
Collaboration diagram for GradientRendererPlugin:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 142 of file plugin.cpp.

Public Member Functions

 GradientRendererPlugin (QObject *parent=0)
QString includeFile () const
QString name () const
QWidgetcreateWidget (QWidget *parent)


Constructor & Destructor Documentation

GradientRendererPlugin::GradientRendererPlugin ( QObject parent = 0  )  [inline]

Definition at line 146 of file plugin.cpp.

00146 : QObject(parent) { }


Member Function Documentation

QString GradientRendererPlugin::includeFile (  )  const [inline, virtual]

Implements QDesignerCustomWidgetInterface.

Definition at line 147 of file plugin.cpp.

00147 { return "gradients.h"; }

QString GradientRendererPlugin::name (  )  const [inline, virtual]

Implements QDesignerCustomWidgetInterface.

Definition at line 148 of file plugin.cpp.

00148 { return "GradientRendererEx"; }

QWidget* GradientRendererPlugin::createWidget ( QWidget parent  )  [inline, virtual]

Implements QDesignerCustomWidgetInterface.

Definition at line 150 of file plugin.cpp.

References QObject::parent(), and GradientRenderer::setConicalGradient().

00151     {
00152         GradientRenderer *renderer = new GradientRendererEx(parent);
00153         renderer->setConicalGradient();
00154         return renderer;
00155     }

Here is the call graph for this function:


The documentation for this class was generated from the following file:
Generated on Thu Mar 15 15:02:00 2007 for Qt 4.2 User's Guide by  doxygen 1.5.1