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"));
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 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
KCOREADDONS_EXPORT Result match(QStringView pattern, QStringView str)
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 y() const const
void setBottom(qreal y)
void setTop(qreal y)
QSizeF size() const const
qreal top() const const
QPointF topLeft() const const
const QChar at(qsizetype position) const const
bool isEmpty() const const
QString left(qsizetype n) const const
qsizetype length() const const
QString & remove(QChar ch, Qt::CaseSensitivity cs)
double toDouble(bool *ok) const const
typedef Alignment
white
NoPen
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 Sat Dec 21 2024 17:06:04 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:06:04 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.