OROSection
#include <KReportRenderObjects.h>
Public Member Functions | |
OROSection (ORODocument *doc=nullptr) | |
void | addPrimitive (OROPrimitive *primitive) |
QColor | backgroundColor () const |
ORODocument * | document () |
const ORODocument * | document () const |
int | height () const |
OROPrimitive * | primitive (int index) |
const OROPrimitive * | primitive (int index) const |
int | primitiveCount () const |
void | setBackgroundColor (const QColor &color) |
void | setDocument (ORODocument *doc) |
void | setHeight (int) |
void | setType (KReportSectionData::Type type) |
void | sortPrimitives (Qt::Orientation orientation) |
KReportSectionData::Type | type () const |
Detailed Description
Represents a single a single row in a document and may contain zero or more OROPrimitives.
Definition at line 197 of file KReportRenderObjects.h.
Constructor & Destructor Documentation
◆ OROSection()
|
explicit |
Definition at line 311 of file KReportRenderObjects.cpp.
◆ ~OROSection()
OROSection::~OROSection | ( | ) |
Definition at line 316 of file KReportRenderObjects.cpp.
Member Function Documentation
◆ addPrimitive()
void OROSection::addPrimitive | ( | OROPrimitive * | primitive | ) |
Definition at line 335 of file KReportRenderObjects.cpp.
◆ backgroundColor()
QColor OROSection::backgroundColor | ( | ) | const |
Definition at line 358 of file KReportRenderObjects.cpp.
◆ document() [1/2]
ORODocument * OROSection::document | ( | ) |
Definition at line 370 of file KReportRenderObjects.cpp.
◆ document() [2/2]
const ORODocument * OROSection::document | ( | ) | const |
Definition at line 375 of file KReportRenderObjects.cpp.
◆ height()
int OROSection::height | ( | ) | const |
Definition at line 348 of file KReportRenderObjects.cpp.
◆ primitive() [1/2]
OROPrimitive * OROSection::primitive | ( | int | index | ) |
Definition at line 325 of file KReportRenderObjects.cpp.
◆ primitive() [2/2]
const OROPrimitive * OROSection::primitive | ( | int | index | ) | const |
Definition at line 330 of file KReportRenderObjects.cpp.
◆ primitiveCount()
int OROSection::primitiveCount | ( | ) | const |
Definition at line 381 of file KReportRenderObjects.cpp.
◆ setBackgroundColor()
void OROSection::setBackgroundColor | ( | const QColor & | color | ) |
Definition at line 353 of file KReportRenderObjects.cpp.
◆ setDocument()
void OROSection::setDocument | ( | ORODocument * | doc | ) |
Definition at line 396 of file KReportRenderObjects.cpp.
◆ setHeight()
void OROSection::setHeight | ( | int | h | ) |
Definition at line 343 of file KReportRenderObjects.cpp.
◆ setType()
void OROSection::setType | ( | KReportSectionData::Type | type | ) |
Definition at line 386 of file KReportRenderObjects.cpp.
◆ sortPrimitives()
void OROSection::sortPrimitives | ( | Qt::Orientation | orientation | ) |
Definition at line 363 of file KReportRenderObjects.cpp.
◆ type()
KReportSectionData::Type OROSection::type | ( | ) | const |
Definition at line 391 of file KReportRenderObjects.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.