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

kig

Public Member Functions | Protected Types | Protected Member Functions | List of all members
TextLabelModeBase Class Referenceabstract

#include <label.h>

Inheritance diagram for TextLabelModeBase:
Inheritance graph
[legend]

Public Member Functions

void cancelPressed ()
 
bool canFinish ()
 
void enterTextPageEntered ()
 
void finishPressed ()
 
void linkClicked (int)
 
bool percentCountChanged (uint percentcount)
 
void redrawScreen (KigWidget *w)
 
void selectArgumentsPageEntered ()
 
- Public Member Functions inherited from KigMode
virtual ~KigMode ()
 
virtual void browseHistory ()
 
virtual void deleteObjects ()
 
virtual void deselectAll ()
 
virtual void editTypes ()
 
QEventLoop * eventLoop () const
 
virtual void invertSelection ()
 
virtual void leftMouseMoved (QMouseEvent *, KigWidget *)
 
virtual void midClicked (QMouseEvent *, KigWidget *)
 
virtual void midMouseMoved (QMouseEvent *, KigWidget *)
 
virtual void midReleased (QMouseEvent *, KigWidget *)
 
virtual void newMacro ()
 
virtual void rightClicked (QMouseEvent *, KigWidget *)
 
virtual void rightMouseMoved (QMouseEvent *, KigWidget *)
 
virtual void rightReleased (QMouseEvent *, KigWidget *)
 
virtual void selectAll ()
 
void setEventLoop (QEventLoop *e)
 
virtual void showHidden ()
 
virtual StdConstructionMode * toStdConstructionMode ()
 

Protected Types

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

Protected Member Functions

 TextLabelModeBase (KigPart &d)
 
 ~TextLabelModeBase ()
 
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)
 
- Protected Member Functions inherited from KigMode
 KigMode (KigPart &d)
 

Additional Inherited Members

- Protected Attributes inherited from KigMode
KigPart & mdoc
 

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.

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 93 of file label.cc.

TextLabelModeBase::~TextLabelModeBase ( )
protected

Definition at line 87 of file label.cc.

Member Function Documentation

void TextLabelModeBase::cancelPressed ( )

Definition at line 294 of file label.cc.

bool TextLabelModeBase::canFinish ( )

Definition at line 314 of file label.cc.

void TextLabelModeBase::enterTextPageEntered ( )

Definition at line 285 of file label.cc.

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

Implemented in TextLabelConstructionMode.

void TextLabelModeBase::finishPressed ( )

Definition at line 336 of file label.cc.

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

Definition at line 128 of file label.cc.

void TextLabelModeBase::linkClicked ( int  i)

Definition at line 425 of file label.cc.

bool TextLabelModeBase::percentCountChanged ( uint  percentcount)

Definition at line 345 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 438 of file label.cc.

void TextLabelModeBase::selectArgumentsPageEntered ( )

Definition at line 289 of file label.cc.

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

Definition at line 444 of file label.cc.

void TextLabelModeBase::setFrame ( bool  f)
protected

Definition at line 615 of file label.cc.

void TextLabelModeBase::setLocationParent ( ObjectCalcer *  o)
protected

Definition at line 620 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 459 of file label.cc.

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

Definition at line 454 of file label.cc.


The documentation for this class was generated from the following files:
  • label.h
  • label.cc
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:35:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kig

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

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal