KReport
KReportItemCheck.cpp
44 m_foregroundColor->setValue(QColor(element.toElement().attribute(QLatin1String("fo:foreground-color"))));
46 m_staticValue->setValue(QVariant(element.toElement().attribute(QLatin1String("report:value"))).toBool());
84 m_foregroundColor = new KProperty("foreground-color", QColor(Qt::black), tr("Foreground Color"));
89 m_lineStyle = new KProperty("line-style", static_cast<int>(Qt::SolidLine), tr("Line Style"), QString(), KProperty::LineStyle);
90 m_staticValue = new KProperty("value", QVariant(false), tr("Value"), tr("Value used if not bound to a field"));
115int KReportItemCheckBox::renderSimpleData(OROPage *page, OROSection *section, const QPointF &offset,
153 if (str == QLatin1String("t") || str == QLatin1String("y") || str == QLatin1String("true") || str == QLatin1String("1"))
void addProperty(KProperty *property, const QByteArray &group="common")
QVariant value() const
bool setValue(const QVariant &value, ValueOptions options=ValueOptions())
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
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)
bool isEmpty() const const
QString left(qsizetype n) const const
QString mid(qsizetype position, qsizetype n) const const
QString toLower() const const
black
SolidLine
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 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.