libs/flake

KoShapeTemplate Struct Reference

Contains a KoProperties object that describes the settings of a particular variant of a shape object, together with a name, a description and an icon for use in the user interface. More...

#include <KoShapeFactory.h>

List of all members.

Public Member Functions

 KoShapeTemplate ()

Public Attributes

QString family
QString icon
QString id
QString name
KoProperties * properties
QString templateId
QString toolTip

Detailed Description

Contains a KoProperties object that describes the settings of a particular variant of a shape object, together with a name, a description and an icon for use in the user interface.

Definition at line 49 of file KoShapeFactory.h.


Constructor & Destructor Documentation

KoShapeTemplate::KoShapeTemplate (  )  [inline]

Definition at line 50 of file KoShapeFactory.h.


Member Data Documentation

The family of the shape (possible values are: "funny","arrow").

Definition at line 56 of file KoShapeFactory.h.

Icon name.

Definition at line 58 of file KoShapeFactory.h.

The id of the shape.

Definition at line 53 of file KoShapeFactory.h.

The name to be shown for this template.

Definition at line 55 of file KoShapeFactory.h.

The properties which, when passed to the KoShapeFactory::createShape() method result in the shape this template represents.

Definition at line 63 of file KoShapeFactory.h.

The id of this particular template - only has to be unique with the shape.

Definition at line 54 of file KoShapeFactory.h.

The tooltip text for the template.

Definition at line 57 of file KoShapeFactory.h.


The documentation for this struct was generated from the following file: