kivio
SMLConnector Class Reference
Inheritance diagram for SMLConnector:

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