KReport
KReportItemLabel.cpp
41 m_horizontalAlignment->setValue(element.toElement().attribute(QLatin1String("report:horizontal-align")));
42 m_verticalAlignment->setValue(element.toElement().attribute(QLatin1String("report:vertical-align")));
104 m_font = new KProperty("font", QFontDatabase::systemFont(QFontDatabase::GeneralFont), tr("Font"), tr("Font"));
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);
179int KReportItemLabel::renderSimpleData(OROPage *page, OROSection *section, const QPointF &offset,
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 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
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
GeneralFont
QFont systemFont(SystemFont type)
QString tr(const char *sourceText, const char *disambiguation, int n)
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 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.