kivio
KivioGradient Class Reference
List of all members.Detailed Description
Definition at line 27 of file kivio_gradient.h.
Public Types | |
| enum | KivioGradientType { kgtNone = 0, kgtLinear, kgtBiLinear, kgtRadial, kgtSquare, kgtConicalSymmetric, kgtConicalAsymmetric, kgtLast } |
Public Member Functions | |
| KivioGradient () | |
| KivioGradient (const KivioGradient &) | |
| virtual | ~KivioGradient () |
| void | copyInto (KivioGradient *pTarget) const |
| bool | loadXML (const QDomElement &) |
| QDomElement | saveXML (QDomDocument &) |
| QPtrList< QColor > * | colors () const |
| QPtrList< KivioPoint > * | points () const |
| KivioGradientType | gradientType () const |
| void | setGradientType (KivioGradientType t) |
Protected Attributes | |
| QPtrList< QColor > * | m_pColors |
| QPtrList< KivioPoint > * | m_pPoints |
| KivioGradientType | m_gradientType |
Constructor & Destructor Documentation
|
|
Default constructor. Allocates a new list of colors, and a new list of points for the gradient. Also, sets the gradient type to none. Definition at line 27 of file kivio_gradient.cpp. |
|
|
Copy constructor.
Definition at line 72 of file kivio_gradient.cpp. |
|
|
Destructor. Deletes the color and point lists. Definition at line 48 of file kivio_gradient.cpp. |
Member Function Documentation
|
|
Copy all attributes of this into pTarget.
Definition at line 111 of file kivio_gradient.cpp. |
|
|
Load this object from an XML element. FIXME: Implement this Definition at line 166 of file kivio_gradient.cpp. |
|
|
Save this object to an XML element. FIXME: Implement this Definition at line 177 of file kivio_gradient.cpp. |
The documentation for this class was generated from the following files:

