karbon

VTextTool Class Reference

Inheritance diagram for VTextTool:

VTool VVisitor List of all members.

Detailed Description

Definition at line 151 of file vtexttool.h.


Public Member Functions

 VTextTool (KarbonView *view)
 ~VTextTool ()
virtual void setup (KActionCollection *collection)
virtual QString uiname ()
virtual QString contextHelp ()
virtual bool showDialog () const
virtual void activate ()
virtual void deactivate ()
virtual void mouseButtonPress ()
virtual void mouseButtonRelease ()
virtual void mouseDrag ()
virtual void mouseDragRelease ()
virtual void textChanged ()
virtual void accept ()
virtual void cancel ()
virtual void editBasePath ()
virtual void convertToShapes ()
virtual void visitVPath (VPath &composite)
virtual void visitVDocument (VDocument &)
virtual void visitVGroup (VGroup &)
virtual void visitVLayer (VLayer &)
virtual void visitVSubpath (VSubpath &path)
virtual void visitVText (VText &text)
virtual void draw (VPainter *painter)

Protected Member Functions

virtual void mouseDragShiftPressed ()
virtual void mouseDragShiftReleased ()

Member Function Documentation

void VTextTool::setup ( KActionCollection *  collection  )  [virtual]

Called after tool creation.

A tool is supposed to hook its associated action into the specified action collection here.

Reimplemented from VTool.

Definition at line 1145 of file vtexttool.cc.

virtual QString VTextTool::uiname (  )  [inline, virtual]

The name of the tool.

Reimplemented from VTool.

Definition at line 158 of file vtexttool.h.

QString VTextTool::contextHelp (  )  [virtual]

The context help of the tool.

Reimplemented from VTool.

Definition at line 603 of file vtexttool.cc.

bool VTextTool::showDialog (  )  const [virtual]

Shows the tools option dialog.

Reimplemented from VTool.

Definition at line 1111 of file vtexttool.cc.

void VTextTool::activate (  )  [virtual]

Called during the tool activation.

A tool is supposed to set a mouse cursor and/or the statusbar properly here.

Reimplemented from VTool.

Definition at line 615 of file vtexttool.cc.

void VTextTool::deactivate (  )  [virtual]

Deactivates the tool.

Reimplemented from VTool.

Definition at line 628 of file vtexttool.cc.

void VTextTool::mouseButtonPress (  )  [virtual]

Left mouse button press.

Reimplemented from VTool.

Definition at line 664 of file vtexttool.cc.

void VTextTool::mouseButtonRelease (  )  [virtual]

Left mouse button release.

The mouse wasn't moved.

Reimplemented from VTool.

Definition at line 672 of file vtexttool.cc.

void VTextTool::mouseDrag (  )  [virtual]

Mouse drag.

Reimplemented from VTool.

Definition at line 703 of file vtexttool.cc.

void VTextTool::mouseDragRelease (  )  [virtual]

Mouse button release.

The mouse was moved before.

Reimplemented from VTool.

Definition at line 741 of file vtexttool.cc.

void VTextTool::accept (  )  [virtual]

Terminates the current tool drawing (if any).

This event is invoked when Enter/Return is pressed.

Reimplemented from VTool.

Definition at line 816 of file vtexttool.cc.

void VTextTool::cancel (  )  [virtual]

Cancels all tool operations.

This event is invoked when ESC is pressed.

Reimplemented from VTool.

Definition at line 861 of file vtexttool.cc.

void VTextTool::visitVPath ( VPath composite  )  [virtual]

Visit method for a VPath.

Pass a composite path to this function. This is a virtual function so you need to implement it in the subclass if you want to use it.

Reimplemented from VVisitor.

Definition at line 909 of file vtexttool.cc.

virtual void VTextTool::visitVDocument ( VDocument  )  [inline, virtual]

Visit method for a VDocument.

Pass a document to this function. This is a virtual function so you need to implement it in the subclass if you want to use it.

Reimplemented from VVisitor.

Definition at line 177 of file vtexttool.h.

virtual void VTextTool::visitVGroup ( VGroup  )  [inline, virtual]

Visit method for a VGroup.

Pass a group of objects to this function. This is a virtual function so you need to implement it in the subclass if you want to use it.

Reimplemented from VVisitor.

Definition at line 180 of file vtexttool.h.

virtual void VTextTool::visitVLayer ( VLayer  )  [inline, virtual]

Visit method for a VLayer.

Pass a layer to this function. This is a virtual function so you need to implement it in the subclass if you want to use it.

Reimplemented from VVisitor.

Definition at line 183 of file vtexttool.h.

void VTextTool::visitVSubpath ( VSubpath path  )  [virtual]

Visit method for a VSubpath.

Pass a path to this function. This is a virtual function so you need to implement it in the subclass if you want to use it.

Reimplemented from VVisitor.

Definition at line 919 of file vtexttool.cc.

void VTextTool::visitVText ( VText text  )  [virtual]

Visit method for a VText.

Pass some text to this function. This is a virtual function so you need to implement it in the subclass if you want to use it.

Reimplemented from VVisitor.

Definition at line 926 of file vtexttool.cc.

void VTextTool::draw ( VPainter painter  )  [virtual]

Draws the actual tool state.

Parameters:
painter the painter on which to paint

Reimplemented from VTool.

Definition at line 633 of file vtexttool.cc.

void VTextTool::mouseDragShiftPressed (  )  [protected, virtual]

Mouse drag with "Shift" key pressed at the same time.

Reimplemented from VTool.

Definition at line 1131 of file vtexttool.cc.

void VTextTool::mouseDragShiftReleased (  )  [protected, virtual]

"Shift" key released while mouse drag.

Reimplemented from VTool.

Definition at line 1138 of file vtexttool.cc.


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