KReportDesignerItemBase

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.

Constructor & Destructor Documentation

◆ ~KReportDesignerItemBase()

KReportDesignerItemBase::~KReportDesignerItemBase ( )
virtual

Definition at line 47 of file KReportDesignerItemBase.cpp.

◆ KReportDesignerItemBase()

KReportDesignerItemBase::KReportDesignerItemBase ( KReportDesigner * r,
KReportItemBase * b )
explicitprotected

Definition at line 52 of file KReportDesignerItemBase.cpp.

Member Function Documentation

◆ addPropertyAsAttribute()

void KReportDesignerItemBase::addPropertyAsAttribute ( QDomElement * e,
KProperty * p )
static

Definition at line 90 of file KReportDesignerItemBase.cpp.

◆ buildXML()

void KReportDesignerItemBase::buildXML ( QGraphicsItem * item,
QDomDocument * doc,
QDomElement * parent )
static

Definition at line 59 of file KReportDesignerItemBase.cpp.

◆ buildXMLLineStyle()

void KReportDesignerItemBase::buildXMLLineStyle ( QDomDocument * doc,
QDomElement * entity,
const KReportLineStyle & ls )
static

Definition at line 79 of file KReportDesignerItemBase.cpp.

◆ buildXMLRect()

void KReportDesignerItemBase::buildXMLRect ( QDomDocument * doc,
QDomElement * entity,
KReportItemBase * i )
static

Definition at line 68 of file KReportDesignerItemBase.cpp.

◆ buildXMLTextStyle()

void KReportDesignerItemBase::buildXMLTextStyle ( QDomDocument * doc,
QDomElement * entity,
const KReportTextStyleData & ts )
static

Definition at line 74 of file KReportDesignerItemBase.cpp.

◆ dataSourceAndObjectTypeName()

QString KReportDesignerItemBase::dataSourceAndObjectTypeName ( const QString & dataSource,
const QString & objectTypeName ) const
protected

Definition at line 84 of file KReportDesignerItemBase.cpp.

◆ designer()

KReportDesigner * KReportDesignerItemBase::designer ( ) const

Definition at line 95 of file KReportDesignerItemBase.cpp.

◆ item()

KReportItemBase * KReportDesignerItemBase::item ( ) const
protected

Definition at line 105 of file KReportDesignerItemBase.cpp.

◆ move()

virtual void KReportDesignerItemBase::move ( const QPointF & )
pure virtual

Implemented in KReportDesignerItemRectBase.

◆ renderText()

QString KReportDesignerItemBase::renderText ( ) const
protected

Definition at line 110 of file KReportDesignerItemBase.cpp.

◆ setDesigner()

void KReportDesignerItemBase::setDesigner ( KReportDesigner * rd)

Definition at line 100 of file KReportDesignerItemBase.cpp.

◆ setRenderText()

void KReportDesignerItemBase::setRenderText ( const QString & text)
protected

Definition at line 115 of file KReportDesignerItemBase.cpp.

◆ updateRenderText()

void KReportDesignerItemBase::updateRenderText ( const QString & itemDataSource,
const QString & itemStaticValue,
const QString & itemType )
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
itemDataSourcesource field property
itemStaticValuevalue property
itemTypetype of item
Returns
void

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-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.