Référence de la classe KoPathShapeFactory

Factory for path shapes. Plus de détails...

#include <KoPathShapeFactory.h>

Graphe d'héritage de KoPathShapeFactory:

[légende]
Graphe de collaboration de KoPathShapeFactory:
[légende]
Liste de tous les membres

Fonctions membres publiques

 KoPathShapeFactory (QObject *parent, const QStringList &)
 constructor
 ~KoPathShapeFactory ()
KoShapecreateDefaultShape ()
KoShapecreateShape (const KoProperties *params) const

Description détaillée

Factory for path shapes.

Définition à la ligne 28 du fichier KoPathShapeFactory.h.


Documentation des contructeurs et destructeur

KoPathShapeFactory::KoPathShapeFactory ( QObject *  parent,
const QStringList &   
)

constructor

Définition à la ligne 26 du fichier KoPathShapeFactory.cpp.

Références KoShapeFactory::setIcon(), et KoShapeFactory::setToolTip().

Voici le graphe d'appel pour cette fonction :

KoPathShapeFactory::~KoPathShapeFactory (  )  [inline]

Définition à la ligne 33 du fichier KoPathShapeFactory.h.


Documentation des fonctions membres

KoShape * KoPathShapeFactory::createDefaultShape (  )  [virtual]

This method should be implemented by factories to create a shape that the user gets when doing a base insert. For example from a script. The created shape should have its values set to good defaults that the user can then adjust further if needed. Including the KoShape:setShapeId(), with the Id from this factory The default shape position is not relevant, it will be moved by the caller.

Renvoie:
a new shape

Implémente KoShapeFactory.

Définition à la ligne 33 du fichier KoPathShapeFactory.cpp.

Références KoPathShape::curveTo(), KoPathShape::moveTo(), KoPathShape::normalize(), KoShape::setBorder(), KoShape::setShapeId(), et KoShapeFactory::shapeId().

Voici le graphe d'appel pour cette fonction :

KoShape * KoPathShapeFactory::createShape ( const KoProperties params  )  const [virtual]

This method should be implemented by factories to create a shape based on a set of properties that are specifically made for this shape-type. This method should also set this factories shapeId on the shape using KoShape::setShapeId()

Renvoie:
a new shape
Voir également:
KoShapeTemplate::properties

Implémente KoShapeFactory.

Définition à la ligne 44 du fichier KoPathShapeFactory.cpp.


La documentation de cette classe a été générée à partir des fichiers suivants :
Généré le Wed Nov 22 23:47:52 2006 pour KPlato par  doxygen 1.5.1-p1