kivio
ConnectorTool Class Reference
Inheritance diagram for ConnectorTool:

Detailed Description
Definition at line 38 of file kivioconnectortool/tool_connector.h.
Public Slots | |
| void | setActivated (bool a) |
Signals | |
| void | operationDone () |
Public Member Functions | |
| ConnectorTool (KivioView *parent) | |
| ~ConnectorTool () | |
| virtual bool | processEvent (QEvent *e) |
| void | connector (QRect) |
Protected Types | |
| enum | { stmNone, stmDrawRubber } |
| enum | { StraightConnector, PolyLineConnector } |
Protected Slots | |
| void | activateStraight () |
| void | activatePolyline () |
| 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 ConnectorTool::processEvent | ( | QEvent * | e | ) | [virtual] |
Event delegation.
- Parameters:
-
e The event to be identified and processed
Implements Kivio::MouseTool.
Definition at line 91 of file kivioconnectortool/tool_connector.cpp.
| bool ConnectorTool::startRubberBanding | ( | QMouseEvent * | ) | [protected] |
Tests if we should start rubber banding (always returns true).
Definition at line 219 of file kivioconnectortool/tool_connector.cpp.
The documentation for this class was generated from the following files:

