karbon
VSelectTool Class Reference
Inheritance diagram for VSelectTool:

Detailed Description
Definition at line 44 of file vselecttool.h.
Public Member Functions | |
VSelectTool (KarbonView *view) | |
virtual | ~VSelectTool () |
virtual void | setup (KActionCollection *collection) |
virtual bool | showDialog () const |
virtual QString | uiname () |
virtual enumToolType | toolType () |
virtual QString | statusText () |
virtual uint | priority () |
virtual QString | contextHelp () |
virtual void | refreshUnit () |
virtual void | activate () |
Protected Slots | |
void | updateStatusBar () const |
Protected Member Functions | |
virtual void | draw () |
virtual void | setCursor () const |
virtual void | mouseButtonPress () |
virtual void | rightMouseButtonPress () |
virtual void | mouseButtonRelease () |
virtual void | rightMouseButtonRelease () |
virtual void | mouseDrag () |
virtual void | mouseDragRelease () |
virtual void | mouseDragCtrlPressed () |
virtual void | mouseDragCtrlReleased () |
virtual void | mouseDragShiftPressed () |
virtual void | mouseDragShiftReleased () |
virtual void | arrowKeyReleased (Qt::Key) |
virtual bool | keyReleased (Qt::Key) |
virtual void | cancel () |
Member Function Documentation
void VSelectTool::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 600 of file vselecttool.cc.
bool VSelectTool::showDialog | ( | ) | const [virtual] |
Shows the tools option dialog.
Reimplemented from VTool.
Definition at line 588 of file vselecttool.cc.
virtual QString VSelectTool::uiname | ( | ) | [inline, virtual] |
virtual enumToolType VSelectTool::toolType | ( | ) | [inline, virtual] |
QString VSelectTool::statusText | ( | ) | [virtual] |
virtual uint VSelectTool::priority | ( | ) | [inline, virtual] |
Position in toolbox.
Zero means no preferred position, other values indicate the true position.
Reimplemented from VTool.
Definition at line 57 of file vselecttool.h.
QString VSelectTool::contextHelp | ( | ) | [virtual] |
The context help of the tool.
Reimplemented from VTool.
Definition at line 104 of file vselecttool.cc.
void VSelectTool::refreshUnit | ( | ) | [virtual] |
This function is called when the documents unit setting were changed.
Reimplemented from VTool.
Definition at line 594 of file vselecttool.cc.
void VSelectTool::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 86 of file vselecttool.cc.
void VSelectTool::setCursor | ( | ) | const [protected, virtual] |
This function is called on each mouse event the tool receives.
Reimplemented from VTool.
Definition at line 147 of file vselecttool.cc.
void VSelectTool::mouseButtonPress | ( | ) | [protected, virtual] |
void VSelectTool::rightMouseButtonPress | ( | ) | [protected, virtual] |
void VSelectTool::mouseButtonRelease | ( | ) | [protected, virtual] |
Left mouse button release.
The mouse wasn't moved.
Reimplemented from VTool.
Definition at line 253 of file vselecttool.cc.
void VSelectTool::rightMouseButtonRelease | ( | ) | [protected, virtual] |
Right mouse button release.
The mouse wasn't moved.
Reimplemented from VTool.
Definition at line 228 of file vselecttool.cc.
void VSelectTool::mouseDrag | ( | ) | [protected, virtual] |
void VSelectTool::mouseDragRelease | ( | ) | [protected, virtual] |
Mouse button release.
The mouse was moved before.
Reimplemented from VTool.
Definition at line 310 of file vselecttool.cc.
void VSelectTool::mouseDragCtrlPressed | ( | ) | [protected, virtual] |
Mouse drag with "Ctrl" key pressed at the same time.
Reimplemented from VTool.
Definition at line 440 of file vselecttool.cc.
void VSelectTool::mouseDragCtrlReleased | ( | ) | [protected, virtual] |
"Ctrl" key released while mouse drag.
Reimplemented from VTool.
Definition at line 446 of file vselecttool.cc.
void VSelectTool::mouseDragShiftPressed | ( | ) | [protected, virtual] |
Mouse drag with "Shift" key pressed at the same time.
Reimplemented from VTool.
Definition at line 452 of file vselecttool.cc.
void VSelectTool::mouseDragShiftReleased | ( | ) | [protected, virtual] |
"Shift" key released while mouse drag.
Reimplemented from VTool.
Definition at line 462 of file vselecttool.cc.
void VSelectTool::arrowKeyReleased | ( | Qt::Key | key | ) | [protected, virtual] |
"Arrow" key released up, down, left, right
Reimplemented from VTool.
Definition at line 358 of file vselecttool.cc.
bool VSelectTool::keyReleased | ( | Qt::Key | key | ) | [protected, virtual] |
void VSelectTool::cancel | ( | ) | [protected, virtual] |
Cancels all tool operations.
This event is invoked when ESC is pressed.
Reimplemented from VTool.
Definition at line 472 of file vselecttool.cc.
The documentation for this class was generated from the following files: