#include <KDReportsHLineElement.h>


Public Member Functions | |
| HLineElement () | |
| virtual | ~HLineElement () |
| HLineElement (const HLineElement &other) | |
| HLineElement & | operator= (const HLineElement &other) |
| void | setColor (const QColor &color) |
| QColor | color () const |
| void | setThickness (int w) |
| int | thickness () const |
| void | setMargin (int m) |
| int | margin () const |
The KDReports::HLineElement class represents an horizontal line in the report.
| KDReports::HLineElement::HLineElement | ( | ) |
Creates a hline element.
| virtual KDReports::HLineElement::~HLineElement | ( | ) | [virtual] |
Destroys this hline element.
| KDReports::HLineElement::HLineElement | ( | const HLineElement & | other ) |
Copies a hline element. The settings are copied over.
| QColor KDReports::HLineElement::color | ( | ) | const |
Returns the hline color
| int KDReports::HLineElement::margin | ( | ) | const |
Returns the margin (empty space) used above and below the line, in mm.
| HLineElement& KDReports::HLineElement::operator= | ( | const HLineElement & | other ) |
Copies the hline and settings from another hline element.
| void KDReports::HLineElement::setColor | ( | const QColor & | color ) |
Set the line color.
| void KDReports::HLineElement::setMargin | ( | int | m ) |
Sets the margin (empty space) used above and below the line, in mm.
| void KDReports::HLineElement::setThickness | ( | int | w ) |
Sets the line thickness
| int KDReports::HLineElement::thickness | ( | ) | const |
Returns the hline thickness