KReport
18#ifndef KReportItemLabel_H
19#define KReportItemLabel_H
21#include "KReportItemBase.h"
39 explicit KReportItemLabel(
const QDomNode & element);
40 ~KReportItemLabel()
override;
42 QString typeName()
const override;
43 int renderSimpleData(OROPage *page, OROSection *section,
const QPointF &offset,
const QVariant &data, KReportScriptHandler *script)
override;
48 KProperty *m_horizontalAlignment;
49 KProperty *m_verticalAlignment;
51 KProperty *m_foregroundColor;
52 KProperty *m_backgroundColor;
53 KProperty *m_backgroundOpacity;
54 KProperty *m_lineColor;
55 KProperty *m_lineWeight;
56 KProperty *m_lineStyle;
60 return m_font->value().value<QFont>();
63 void setText(
const QString&);
64 KReportTextStyleData textStyle()
const;
65 KReportLineStyle lineStyle()
const;
68 void createProperties()
override;
70 friend class Scripting::Label;
Base class for items that are drawn syncronously.
Field item script interface.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:54:26 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.