Référence de la classe KoNoteVariable

#include <KoVariable.h>

Graphe d'héritage de KoNoteVariable:

[légende]
Graphe de collaboration de KoNoteVariable:
[légende]
Liste de tous les membres

Fonctions membres publiques

 KoNoteVariable (KoTextDocument *textdoc, const QString &_note, KoVariableFormat *varFormat, KoVariableCollection *_varColl)
virtual void drawCustomItem (QPainter *p, int x, int y, int wpix, int hpix, int ascentpix, int, int, int, int, const QColorGroup &cg, bool selected, int offset, bool drawingShadow)
virtual VariableType type () const
virtual QString fieldCode ()
virtual void saveVariable (QDomElement &parentElem)
virtual void load (QDomElement &elem)
virtual void loadOasis (const QDomElement &elem, KoOasisContext &context)
virtual void saveOasis (KoXmlWriter &writer, KoSavingContext &context) const
virtual QString text (bool realValue=false)
QString note () const
void setNote (const QString &_note)
virtual void recalc ()
QString createdNote () const

Fonctions membres publiques statiques

static QStringList actionTexts ()

Attributs protégés

QDate m_createdNoteDate

Description détaillée

Définition à la ligne 733 du fichier KoVariable.h.


Documentation des contructeurs et destructeur

KoNoteVariable::KoNoteVariable ( KoTextDocument textdoc,
const QString &  _note,
KoVariableFormat varFormat,
KoVariableCollection _varColl 
)

Définition à la ligne 2524 du fichier KoVariable.cpp.

Références KoVariable::m_varValue.


Documentation des fonctions membres

void KoNoteVariable::drawCustomItem ( QPainter *  p,
int  x,
int  y,
int  wpix,
int  hpix,
int  ascentpix,
int  ,
int  ,
int  ,
int  ,
const QColorGroup &  cg,
bool  selected,
int  offset,
bool  drawingShadow 
) [virtual]

All coordinates are in pixels.

Réimplémentée à partir de KoVariable.

Définition à la ligne 2617 du fichier KoVariable.cpp.

Références KoTextFormat::color(), KoVariableSettings::displayComment(), KoTextDocument::dontDrawingNoteVariable(), KoVariable::drawCustomItem(), KoTextCustomItem::format(), KoVariable::m_varColl, KoTextFormat::textBackgroundColor(), KoTextCustomItem::textDocument(), et KoVariableCollection::variableSetting().

Voici le graphe d'appel pour cette fonction :

virtual VariableType KoNoteVariable::type (  )  const [inline, virtual]

Implémente KoVariable.

Définition à la ligne 739 du fichier KoVariable.h.

Références VT_NOTE.

QStringList KoNoteVariable::actionTexts (  )  [static]

Définition à la ligne 2600 du fichier KoVariable.cpp.

QString KoNoteVariable::fieldCode (  )  [virtual]

Réimplémentée à partir de KoVariable.

Définition à la ligne 2531 du fichier KoVariable.cpp.

Référencé par text().

Voici le graphe d'appel pour cette fonction :

void KoNoteVariable::saveVariable ( QDomElement &  parentElem  )  [virtual]

Variable should reimplement this to implement saving.

Implémente KoVariable.

Définition à la ligne 2578 du fichier KoVariable.cpp.

Références KoVariable::m_varValue.

void KoNoteVariable::load ( QDomElement &  elem  )  [virtual]

Réimplémentée à partir de KoVariable.

Définition à la ligne 2585 du fichier KoVariable.cpp.

Références KoVariable::load(), et KoVariable::m_varValue.

Voici le graphe d'appel pour cette fonction :

void KoNoteVariable::loadOasis ( const QDomElement &  elem,
KoOasisContext context 
) [virtual]

Réimplémentée à partir de KoVariable.

Définition à la ligne 2541 du fichier KoVariable.cpp.

Références KoXmlNS::dc, localName, m_createdNoteDate, KoVariable::m_varValue, KoDom::namedItemNS(), note(), KoXmlNS::office, KoXmlNS::text, et text().

Voici le graphe d'appel pour cette fonction :

void KoNoteVariable::saveOasis ( KoXmlWriter writer,
KoSavingContext context 
) const [virtual]

Save to Oasis XML

Réimplémentée à partir de KoVariable.

Définition à la ligne 2562 du fichier KoVariable.cpp.

Références KoXmlWriter::addTextNode(), KoXmlWriter::endElement(), m_createdNoteDate, KoVariable::m_varValue, KoXmlWriter::startElement(), et text().

Voici le graphe d'appel pour cette fonction :

QString KoNoteVariable::text ( bool  realValue = false  )  [virtual]

Returns the text to be displayed for this variable It doesn't need to be cached, convert() is fast, and it's the actual value (date, time etc.) that is cached in the variable already.

Réimplémentée à partir de KoVariable.

Définition à la ligne 2605 du fichier KoVariable.cpp.

Références KoVariableSettings::displayComment(), KoVariableSettings::displayFieldCode(), fieldCode(), KoVariable::m_varColl, et KoVariableCollection::variableSetting().

Référencé par loadOasis(), et saveOasis().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

QString KoNoteVariable::note (  )  const [inline]

Définition à la ligne 751 du fichier KoVariable.h.

Référencé par KoTextView::copyTextOfComment(), loadOasis(), et KoTextViewIface::noteVariableText().

Voici le graphe d'appel pour cette fonction :

void KoNoteVariable::setNote ( const QString &  _note  )  [inline]

Définition à la ligne 752 du fichier KoVariable.h.

Référencé par KoTextViewIface::setNoteVariableText().

Voici le graphe d'appel pour cette fonction :

void KoNoteVariable::recalc (  )  [virtual]

Reimplemented by KoVariable to recalculate the value. It exists at the KoTextCustomItem level so that KoTextParag::setCustomItem can call it to set the initial value. This should call always resize().

Réimplémentée à partir de KoTextCustomItem.

Définition à la ligne 2595 du fichier KoVariable.cpp.

Références KoVariable::resize().

Voici le graphe d'appel pour cette fonction :

QString KoNoteVariable::createdNote (  )  const

Définition à la ligne 2536 du fichier KoVariable.cpp.

Références m_createdNoteDate.


Documentation des données membres

QDate KoNoteVariable::m_createdNoteDate [protected]

Définition à la ligne 757 du fichier KoVariable.h.

Référencé par createdNote(), loadOasis(), et saveOasis().


La documentation de cette classe a été générée à partir des fichiers suivants :
Généré le Wed Nov 22 23:46:42 2006 pour KPlato par  doxygen 1.5.1-p1