Krita Source Code Documentation
Loading...
Searching...
No Matches
KoShapeTemplate Struct Reference

#include <KoShapeFactoryBase.h>

Public Member Functions

 KoShapeTemplate ()
 

Public Attributes

QString family
 The family of the shape (possible values are: "funny","arrow")
 
QString iconName
 Icon name.
 
QString id
 The id of the shape.
 
QString name
 The name to be shown for this template.
 
const KoProperties * properties
 
QString templateId
 The id of this particular template - only has to be unique with the shape.
 
QString toolTip
 The tooltip text for the template.
 

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 35 of file KoShapeFactoryBase.h.

Constructor & Destructor Documentation

◆ KoShapeTemplate()

KoShapeTemplate::KoShapeTemplate ( )
inline

Definition at line 36 of file KoShapeFactoryBase.h.

36 {
37 properties = 0;
38 }
const KoProperties * properties

Member Data Documentation

◆ family

QString KoShapeTemplate::family

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

Definition at line 42 of file KoShapeFactoryBase.h.

◆ iconName

QString KoShapeTemplate::iconName

Icon name.

Definition at line 44 of file KoShapeFactoryBase.h.

◆ id

QString KoShapeTemplate::id

The id of the shape.

Definition at line 39 of file KoShapeFactoryBase.h.

◆ name

QString KoShapeTemplate::name

The name to be shown for this template.

Definition at line 41 of file KoShapeFactoryBase.h.

◆ properties

const KoProperties* KoShapeTemplate::properties

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

Definition at line 49 of file KoShapeFactoryBase.h.

◆ templateId

QString KoShapeTemplate::templateId

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

Definition at line 40 of file KoShapeFactoryBase.h.

◆ toolTip

QString KoShapeTemplate::toolTip

The tooltip text for the template.

Definition at line 43 of file KoShapeFactoryBase.h.


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