KReportDesignerItemBase
#include <KReportDesignerItemBase.h>
Public Member Functions | |
virtual void | buildXML (QDomDocument *doc, QDomElement *parent)=0 |
virtual KReportDesignerItemBase * | clone ()=0 |
KReportDesigner * | designer () const |
virtual void | move (const QPointF &)=0 |
void | setDesigner (KReportDesigner *rd) |
Static Public Member Functions | |
static void | addPropertyAsAttribute (QDomElement *e, KProperty *p) |
static void | buildXML (QGraphicsItem *item, QDomDocument *doc, QDomElement *parent) |
static void | buildXMLLineStyle (QDomDocument *doc, QDomElement *entity, const KReportLineStyle &ls) |
static void | buildXMLRect (QDomDocument *doc, QDomElement *entity, KReportItemBase *i) |
static void | buildXMLTextStyle (QDomDocument *doc, QDomElement *entity, const KReportTextStyleData &ts) |
Protected Member Functions | |
KReportDesignerItemBase (KReportDesigner *r, KReportItemBase *) | |
QString | dataSourceAndObjectTypeName (const QString &dataSource, const QString &objectTypeName) const |
KReportItemBase * | item () const |
QString | renderText () const |
void | setRenderText (const QString &text) |
void | updateRenderText (const QString &itemDataSource, const QString &itemStaticValue, const QString &itemType) |
Detailed Description
Base class for report items used within the designer GUI.
Definition at line 39 of file KReportDesignerItemBase.h.
Constructor & Destructor Documentation
◆ ~KReportDesignerItemBase()
|
virtual |
Definition at line 47 of file KReportDesignerItemBase.cpp.
◆ KReportDesignerItemBase()
|
explicitprotected |
Definition at line 52 of file KReportDesignerItemBase.cpp.
Member Function Documentation
◆ addPropertyAsAttribute()
|
static |
Definition at line 90 of file KReportDesignerItemBase.cpp.
◆ buildXML()
|
static |
Definition at line 59 of file KReportDesignerItemBase.cpp.
◆ buildXMLLineStyle()
|
static |
Definition at line 79 of file KReportDesignerItemBase.cpp.
◆ buildXMLRect()
|
static |
Definition at line 68 of file KReportDesignerItemBase.cpp.
◆ buildXMLTextStyle()
|
static |
Definition at line 74 of file KReportDesignerItemBase.cpp.
◆ dataSourceAndObjectTypeName()
|
protected |
Definition at line 84 of file KReportDesignerItemBase.cpp.
◆ designer()
KReportDesigner * KReportDesignerItemBase::designer | ( | ) | const |
Definition at line 95 of file KReportDesignerItemBase.cpp.
◆ item()
|
protected |
Definition at line 105 of file KReportDesignerItemBase.cpp.
◆ move()
|
pure virtual |
Implemented in KReportDesignerItemRectBase.
◆ renderText()
|
protected |
Definition at line 110 of file KReportDesignerItemBase.cpp.
◆ setDesigner()
void KReportDesignerItemBase::setDesigner | ( | KReportDesigner * | rd | ) |
Definition at line 100 of file KReportDesignerItemBase.cpp.
◆ setRenderText()
|
protected |
Definition at line 115 of file KReportDesignerItemBase.cpp.
◆ updateRenderText()
|
protected |
Updates the text that is shown for the item in the report designer If itemDataSource is set then it is preferred over itemStaticValue itemType is appended to the end of the text.
- Parameters
-
itemDataSource source field property itemStaticValue value property itemType type of item
- Returns
- void
Definition at line 388 of file KReportDesignerItemRectBase.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:13:28 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.