kivio
KivioFillStyle Class Reference
List of all members.Detailed Description
Definition at line 28 of file kivio_fill_style.h.
Public Types | |
| enum | KivioColorStyle { kcsNone = 0, kcsSolid, kcsGradient, kcsPixmap } |
Public Member Functions | |
| KivioFillStyle () | |
| KivioFillStyle (const KivioFillStyle &) | |
| void | copyInto (KivioFillStyle *pTarget) const |
| bool | loadXML (const QDomElement &) |
| QDomElement | saveXML (QDomDocument &) |
| KivioColorStyle | colorStyle () const |
| void | setKivioColorStyle (KivioColorStyle k) |
| QColor | color () const |
| void | setColor (const QColor &c) |
| QColor | color2 () const |
| void | setColor2 (const QColor &c) |
| QBrush::BrushStyle | brushStyle () const |
| void | setBrushStyle (QBrush::BrushStyle b) |
| KImageEffect::GradientType | gradientType () const |
| void | setGradientType (KImageEffect::GradientType t) |
| QBrush | brush () |
Protected Attributes | |
| KivioColorStyle | m_colorStyle |
| QColor | m_color |
| QColor | m_color2 |
| QBrush::BrushStyle | m_brushStyle |
| KImageEffect::GradientType | m_gradientType |
Constructor & Destructor Documentation
| KivioFillStyle::KivioFillStyle | ( | ) |
Default constructor.
Sets the color style to solid, the color to white, and the brush to a a solid pattern. It also sets the gradient pointer to null.
Definition at line 30 of file kivio_fill_style.cpp.
| KivioFillStyle::KivioFillStyle | ( | const KivioFillStyle & | source | ) |
Copy constrcutor.
- Parameters:
-
source The source object to copy from.
Definition at line 48 of file kivio_fill_style.cpp.
Member Function Documentation
| void KivioFillStyle::copyInto | ( | KivioFillStyle * | pTarget | ) | const |
Copies this objects attributes into a target.
- Parameters:
-
pTarget The target object to copy into.
Definition at line 66 of file kivio_fill_style.cpp.
| bool KivioFillStyle::loadXML | ( | const QDomElement & | e | ) |
Load this object from an XML element.
- Parameters:
-
e The element to load from
Definition at line 84 of file kivio_fill_style.cpp.
| QDomElement KivioFillStyle::saveXML | ( | QDomDocument & | doc | ) |
Save this object to an XML element.
- Parameters:
-
doc The document to create nodes for.
- Returns:
- QDomElement is returned.
Definition at line 108 of file kivio_fill_style.cpp.
The documentation for this class was generated from the following files:

