KReport
KReportItemField.cpp
46 m_horizontalAlignment->setValue(element.toElement().attribute(QLatin1String("report:horizontal-align")));
47 m_verticalAlignment->setValue(element.toElement().attribute(QLatin1String("report:vertical-align")));
90 m_itemValue = new KProperty("value", QString(), tr("Value"), tr("Value used if not bound to a field"));
106 m_backgroundColor = new KProperty("background-color", QColor(Qt::white), tr("Background Color"));
107 m_foregroundColor = new KProperty("foreground-color", QColor(Qt::black), tr("Foreground Color"));
109 m_backgroundOpacity = new KProperty("background-opacity", QVariant(0), tr("Background Opacity"));
117 m_lineStyle = new KProperty("line-style", static_cast<int>(Qt::NoPen), tr("Line Style"), QString(), KProperty::LineStyle);
125 m_trackBuiltinFormat = new KProperty("trackBuiltinFormat", QVariant(false), futureI18n("Track Builtin Format"));
127 _trackTotalFormat = new KProperty("trackTotalFormat", QString(), futureI18n("Track Total Format"));
200int KReportItemField::renderSimpleData(OROPage *page, OROSection *section, const QPointF &offset,
243 QRectF temp(tb->position().x(), tb->position().y(), tb->size().width(), 5000); // a large vertical height
248 QRectF temp(tb->position().x(), tb->position().y(), 5000, tb->size().height()); // a large vertical height
void addProperty(KProperty *property, const QByteArray &group="common")
QVariant value() const
LineStyle
void setOption(const char *name, const QVariant &val)
static QPointF scenePosition(const QPointF &ptPos)
Helper function mapping to screen units (pixels), ptPos is in points.
Definition KReportItemBase.cpp:235
static QSizeF sceneSize(const QSizeF &ptSize)
Helper function mapping to screen units (pixels), ptSize is in points.
Definition KReportItemBase.cpp:242
The KReportLineStyle class represents line style.
Definition KReportLineStyle.shared.h:27
Represents a single page in a document and may contain zero or more OROPrimitive objects all of which...
Definition KReportRenderObjects.h:168
Represents the basic primitive with a position and type. Other primitives are subclasses with a defin...
Definition KReportRenderObjects.h:234
Represents a single a single row in a document and may contain zero or more OROPrimitives.
Definition KReportRenderObjects.h:198
A text box primitive it defines a box region and text that will be rendered inside that region,...
Definition KReportRenderObjects.h:264
QFont font()
QString attribute(const QString &name, const QString &defValue) const const
QDomNodeList childNodes() const const
QString nodeName() const const
QDomElement toElement() const const
int count() const const
QDomNode item(int index) const const
QString tr(const char *sourceText, const char *disambiguation, int n)
qreal x() const const
qreal y() const const
QSizeF size() const const
qreal height() const const
qreal width() const const
bool contains(QChar ch, Qt::CaseSensitivity cs) const const
bool isEmpty() const const
QString left(qsizetype n) const const
QString mid(qsizetype position, qsizetype n) const const
AlignHCenter
white
NoPen
TextWordWrap
bool toBool() const const
int toInt(bool *ok) const const
qreal toReal(bool *ok) const const
QString toString() const const
T value() const const
This file is part of the KDE documentation.
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
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.