KD Reports  1.8
Public Member Functions | List of all members
KDReports::HLineElement Class Reference

#include <KDReportsHLineElement.h>

Inheritance diagram for KDReports::HLineElement:
Inheritance graph
Collaboration diagram for KDReports::HLineElement:
Collaboration graph

Public Member Functions

 HLineElement ()
virtual ~HLineElement ()
 HLineElement (const HLineElement &other)
HLineElementoperator= (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
- Public Member Functions inherited from KDReports::Element
virtual ~Element ()
void setBackground (const QBrush &brush)
QBrush background () const

Additional Inherited Members

- Protected Member Functions inherited from KDReports::Element
 Element ()
 Element (const Element &other)
Elementoperator= (const Element &other)

Detailed Description

The KDReports::HLineElement class represents an horizontal line in the report.


Constructor & Destructor Documentation

KDReports::HLineElement::HLineElement ( )

Creates a hline element.

virtual KDReports::HLineElement::~HLineElement ( )

Destroys this hline element.

KDReports::HLineElement::HLineElement ( const HLineElement other)

Copies a hline element. The settings are copied over.

Member Function Documentation

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

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

Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"