KReport
KReportItemText.cpp
48 m_horizontalAlignment->setValue(element.toElement().attribute(QLatin1String("report:horizontal-align")));
49 m_verticalAlignment->setValue(element.toElement().attribute(QLatin1String("report:vertical-align")));
50 m_bottomPadding = element.toElement().attribute(QLatin1String("report:bottom-padding")).toDouble();
115 m_itemValue = new KProperty("value", QString(), tr("Value"), tr("Value used if not bound to a field"));
131 m_backgroundColor = new KProperty("background-color", QColor(Qt::white), tr("Background Color"));
132 m_foregroundColor = new KProperty("foreground-color", QColor(Qt::black), tr("Foreground Color"));
137 m_lineStyle = new KProperty("line-style", static_cast<int>(Qt::NoPen), tr("Line Style"), QString(), KProperty::LineStyle);
138 m_backgroundOpacity = new KProperty("background-opacity", QVariant(0), tr("Background Opacity"));
193 int KReportItemText::renderSimpleData(OROPage *page, OROSection *section, const QPointF &offset,
typedef Alignment
int count() const const
QDomElement toElement() const const
A text box primitive it defines a box region and text that will be rendered inside that region,...
Definition: KReportRenderObjects.h:263
The KReportLineStyle class represents line style.
Definition: KReportLineStyle.shared.h:26
Represents a single page in a document and may contain zero or more OROPrimitive objects all of which...
Definition: KReportRenderObjects.h:167
void setBottom(qreal y)
QDomNode item(int index) const const
QPointF topLeft() const const
bool isEmpty() const const
int length() const const
int value() const const
QDomNodeList childNodes() const const
LineStyle
QString nodeName() const const
double toDouble(bool *ok) const const
QString & remove(int position, int n)
qreal top() const const
qreal y() const const
Represents a single a single row in a document and may contain zero or more OROPrimitives.
Definition: KReportRenderObjects.h:197
QString left(int n) const const
KCOREADDONS_EXPORT Result match(QStringView pattern, QStringView str)
QFont font()
const QChar at(int position) const const
QSizeF size() const const
void setTop(qreal y)
QString attribute(const QString &name, const QString &defValue) const const
NoPen
white
QString toString() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Feb 7 2023 04:17:37 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Feb 7 2023 04:17:37 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.