KD Reports
1.8
|
#include <KDReportsElement.h>
Public Member Functions | |
virtual | ~Element () |
void | setBackground (const QBrush &brush) |
QBrush | background () const |
Protected Member Functions | |
Element () | |
Element (const Element &other) | |
Element & | operator= (const Element &other) |
The KDReports::Element class is the base for all elements.
An element defines what is to be added to the report. Calling Report::addElement or Report::addInlineElement leads to new content in the report. The report doesn't store the element, though. For this reason, any changes to the element after insertion will have no effect on the report. Set all settings in the element before calling addElement.
|
virtual |
Destroys this element.
|
protected |
Constructor - used by subclasses.
|
protected |
Copy constructor - used by subclasses.
QBrush KDReports::Element::background | ( | ) | const |
Returns the background color for this element.
Assignment operator - used by subclasses.
void KDReports::Element::setBackground | ( | const QBrush & | brush | ) |
Sets the background color for this element.