Search for usage in LXR

#include <KReportDesignerItemBase.h>

Inheritance diagram for KReportDesignerItemBase:

Public Member Functions

virtual void buildXML (QDomDocument *doc, QDomElement *parent)=0
virtual KReportDesignerItemBaseclone ()=0
KReportDesignerdesigner () 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
KReportItemBaseitem () 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.

Member Function Documentation

◆ updateRenderText()

void KReportDesignerItemBase::updateRenderText ( const QString itemDataSource,
const QString itemStaticValue,
const QString itemType 

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.

itemDataSourcesource field property
itemStaticValuevalue property
itemTypetype of item

Definition at line 388 of file KReportDesignerItemRectBase.cpp.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Tue Jun 6 2023 04:07:39 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.