CompositionModePlugin Class Reference

Inheritance diagram for CompositionModePlugin:

Inheritance graph
[legend]
Collaboration diagram for CompositionModePlugin:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 182 of file plugin.cpp.

Public Member Functions

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


Constructor & Destructor Documentation

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

Definition at line 186 of file plugin.cpp.

00186 : QObject(parent) { }


Member Function Documentation

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

Implements QDesignerCustomWidgetInterface.

Definition at line 187 of file plugin.cpp.

00187 { return "composition.h"; }

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

Implements QDesignerCustomWidgetInterface.

Definition at line 188 of file plugin.cpp.

00188 { return "CompositionRenderer"; }

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

Implements QDesignerCustomWidgetInterface.

Definition at line 190 of file plugin.cpp.

References QObject::parent(), and CompositionRenderer::setAnimationEnabled().

00191     {
00192         CompositionRenderer *renderer = new CompositionRenderer(parent);
00193         renderer->setAnimationEnabled(false);
00194         return renderer;
00195     }

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:49:12 2007 for Qt 4.2 User's Guide by  doxygen 1.5.1