kivio

TextTool Class Reference

Inheritance diagram for TextTool:

Kivio::MouseTool Kivio::Plugin List of all members.

Detailed Description

Definition at line 36 of file tool_text.h.


Public Slots

virtual void setActivated (bool a)
virtual void applyToolAction (QPtrList< KivioStencil > *stencils)
virtual void applyToolAction (KivioStencil *stencil, const KoPoint &pos)

Signals

void operationDone ()

Public Member Functions

 TextTool (KivioView *parent)
 ~TextTool ()
virtual bool processEvent (QEvent *e)
void text (QRect)

Protected Types

enum  { stmNone, stmDrawRubber }

Protected Slots

void makePermanent ()

Protected Member Functions

void mousePress (QMouseEvent *)
void mouseMove (QMouseEvent *)
void mouseRelease (QMouseEvent *)
bool startRubberBanding (QMouseEvent *)
void continueRubberBanding (QMouseEvent *)
void endRubberBanding (QMouseEvent *)

Protected Attributes

QPoint m_startPoint
QPoint m_releasePoint

Member Function Documentation

bool TextTool::processEvent ( QEvent *  e  )  [virtual]

Event delegation.

Parameters:
e The event to be identified and processed

Implements Kivio::MouseTool.

Definition at line 74 of file tool_text.cpp.

void TextTool::applyToolAction ( QPtrList< KivioStencil > *  stencils  )  [virtual, slot]

This function should apply a change to stencils done by the tool.

Reimplemented from Kivio::MouseTool.

Definition at line 249 of file tool_text.cpp.

bool TextTool::startRubberBanding ( QMouseEvent *   )  [protected]

Tests if we should start rubber banding (always returns true).

Definition at line 185 of file tool_text.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys