• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

kig

TextLabelModeBase Class Reference

#include <label.h>

Inheritance diagram for TextLabelModeBase:

Inheritance graph
[legend]

List of all members.


Detailed Description

this is the base class for TextLabelConstructionMode and TextLabelRedefineMode.

. most of the work is done in this class, with some specific things delegated to the children.. Template method pattern, right ? :)

Definition at line 41 of file label.h.


Public Member Functions

void cancelPressed ()
bool canFinish ()
void enterTextPageEntered ()
void finishPressed ()
void linkClicked (int)
bool percentCountChanged (uint percentcount)
void redrawScreen (KigWidget *w)
void selectArgumentsPageEntered ()

Protected Types

typedef std::vector
< ObjectCalcer::shared_ptr > 
argvect

Protected Member Functions

virtual void finish (const Coordinate &c, const QString &s, const argvect &props, bool needframe, ObjectCalcer *locationparent)=0
void leftReleased (QMouseEvent *, KigWidget *, ObjectTypeCalcer *prevlabel=0)
void setCoordinate (const Coordinate &coord)
void setFrame (bool f)
void setLocationParent (ObjectCalcer *o)
void setPropertyObjects (const argvect &props)
void setText (const QString &s)
 TextLabelModeBase (KigPart &d)
 ~TextLabelModeBase ()

Member Typedef Documentation

typedef std::vector<ObjectCalcer::shared_ptr> TextLabelModeBase::argvect [protected]

Definition at line 59 of file label.h.


Constructor & Destructor Documentation

TextLabelModeBase::TextLabelModeBase ( KigPart &  d  )  [protected]

Definition at line 92 of file label.cc.

TextLabelModeBase::~TextLabelModeBase (  )  [protected]

Definition at line 86 of file label.cc.


Member Function Documentation

void TextLabelModeBase::cancelPressed (  ) 

Definition at line 293 of file label.cc.

bool TextLabelModeBase::canFinish (  ) 

Definition at line 313 of file label.cc.

void TextLabelModeBase::enterTextPageEntered (  ) 

Definition at line 284 of file label.cc.

virtual void TextLabelModeBase::finish ( const Coordinate &  c,
const QString &  s,
const argvect &  props,
bool  needframe,
ObjectCalcer *  locationparent 
) [protected, pure virtual]

void TextLabelModeBase::finishPressed (  ) 

Definition at line 337 of file label.cc.

void TextLabelModeBase::leftReleased ( QMouseEvent *  e,
KigWidget *  v,
ObjectTypeCalcer *  prevlabel = 0 
) [protected]

Definition at line 127 of file label.cc.

void TextLabelModeBase::linkClicked ( int  i  ) 

Definition at line 429 of file label.cc.

bool TextLabelModeBase::percentCountChanged ( uint  percentcount  ) 

Definition at line 349 of file label.cc.

void TextLabelModeBase::redrawScreen ( KigWidget *  w  )  [virtual]

Redraw the document on KigWidget w .

It's up to the mode to refresh the screen...

Reimplemented from KigMode.

Definition at line 442 of file label.cc.

void TextLabelModeBase::selectArgumentsPageEntered (  ) 

Definition at line 288 of file label.cc.

void TextLabelModeBase::setCoordinate ( const Coordinate &  coord  )  [protected]

Definition at line 448 of file label.cc.

void TextLabelModeBase::setFrame ( bool  f  )  [protected]

Definition at line 619 of file label.cc.

void TextLabelModeBase::setLocationParent ( ObjectCalcer *  o  )  [protected]

Definition at line 624 of file label.cc.

void TextLabelModeBase::setPropertyObjects ( const argvect &  props  )  [protected]

objects you pass here, should be newly created property objects, that have no children.

Definition at line 463 of file label.cc.

void TextLabelModeBase::setText ( const QString &  s  )  [protected]

Definition at line 458 of file label.cc.


The documentation for this class was generated from the following files:
  • label.h
  • label.cc

kig

Skip menu "kig"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
  •   stepcore
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal