kivio
KivioShapeData Class Reference
#include <kivio_shape_data.h>
Detailed Description
A class containing all the data for a KivioShape.
Definition at line 51 of file kivio_shape_data.h.
Public Types | |
| enum | KivioShapeType { kstNone = 0, kstArc, kstPie, kstLineArray, kstPolyline, kstPolygon, kstBezier, kstRectangle, kstRoundRectangle, kstEllipse, kstOpenPath, kstClosedPath, kstTextBox } |
Public Member Functions | |
| KivioShapeData () | |
| KivioShapeData (const KivioShapeData &) | |
| virtual | ~KivioShapeData () |
| virtual void | copyInto (KivioShapeData *pTarget) const |
| virtual bool | loadXML (const QDomElement &) |
| virtual QDomElement | saveXML (QDomDocument &) |
| KivioShapeType | shapeType () const |
| void | setShapeType (KivioShapeType st) |
| QPtrList< KivioPoint > * | pointList () |
| KivioFillStyle * | fillStyle () const |
| KivioLineStyle * | lineStyle () const |
| void | setLineStyle (KivioLineStyle ls) |
| const QString & | name () const |
| void | setName (const QString &newName) |
| KivioPoint * | position () |
| KivioPoint * | dimensions () |
| double | x () |
| double | y () |
| double | w () |
| double | h () |
| QString | text () |
| void | setText (const QString &newText) |
| bool | isHtml () const |
| void | setIsHtml (bool b) |
| int | hTextAlign () const |
| void | setHTextAlign (int i) |
| int | vTextAlign () const |
| void | setVTextAlign (int i) |
| QFont | textFont () |
| void | setTextFont (const QFont &f) |
| QColor | textColor () |
| void | setTextColor (QColor c) |
| void | setTextStyle (KivioTextStyle *) |
Static Public Member Functions | |
| static KivioShapeType | shapeTypeFromString (const QString &) |
Protected Attributes | |
| QPtrList< KivioPoint > * | m_pOriginalPointList |
| KivioShapeType | m_shapeType |
| KivioPoint | m_position |
| KivioPoint | m_dimensions |
| KivioFillStyle * | m_pFillStyle |
| KivioLineStyle * | m_pLineStyle |
| QString | m_name |
| KivioTextStyle * | m_pTextData |
Friends | |
| class | KivioShape |
Member Enumeration Documentation
Member Function Documentation
| bool KivioShapeData::loadXML | ( | const QDomElement & | ) | [virtual] |
| QDomElement KivioShapeData::saveXML | ( | QDomDocument & | ) | [virtual] |
The documentation for this class was generated from the following files:

