DeformPlugin Class Reference

Inheritance diagram for DeformPlugin:

Inheritance graph
[legend]
Collaboration diagram for DeformPlugin:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 69 of file plugin.cpp.

Public Member Functions

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


Constructor & Destructor Documentation

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

Definition at line 73 of file plugin.cpp.

00073 : QObject(parent) { }


Member Function Documentation

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

Implements QDesignerCustomWidgetInterface.

Definition at line 75 of file plugin.cpp.

00075 { return "deform.h"; }

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

Implements QDesignerCustomWidgetInterface.

Definition at line 76 of file plugin.cpp.

00076 { return "PathDeformRendererEx"; }

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

Implements QDesignerCustomWidgetInterface.

Definition at line 78 of file plugin.cpp.

References QObject::parent(), PathDeformRenderer::setAnimated(), PathDeformRenderer::setFontSize(), PathDeformRenderer::setRadius(), and PathDeformRenderer::setText().

00079     {
00080         PathDeformRenderer *deform = new PathDeformRendererEx(parent);
00081         deform->setRadius(70);
00082         deform->setAnimated(false);
00083         deform->setFontSize(20);
00084         deform->setText("Arthur Widgets Demo");
00085 
00086         return deform;
00087     }

Here is the call graph for this function:


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