![]() |
Carousel
|
It is an extended version of the IOperation with IInputReceiver aggregation. More...
#include <ITool.h>
Inherits IOperation, and IInputReceiver.
Inherited by ToolBase.
Additional Inherited Members | |
Public Member Functions inherited from IOperation | |
| virtual QString | category () const =0 |
| virtual void | execute ()=0 |
| virtual void | executingStopped ()=0 |
| virtual void | initialize (IServiceLocator *serviceLocator)=0 |
| virtual QString | name () const =0 |
| virtual void | stopExecuting ()=0 |
Public Member Functions inherited from IInputReceiver | |
| virtual bool | onContextMenu (QContextMenuEvent *event)=0 |
| virtual void | onDoubleClick (QMouseEvent *event)=0 |
| virtual void | onKeyDown (QKeyEvent *event)=0 |
| virtual void | onKeyUp (QKeyEvent *event)=0 |
| virtual void | onMouseDown (QMouseEvent *event)=0 |
| virtual void | onMouseMove (QMouseEvent *event)=0 |
| virtual void | onMouseUp (QMouseEvent *event)=0 |
It is an extended version of the IOperation with IInputReceiver aggregation.
Tools are similar to operations but they also require interaction with the application's workplace widget.
Note, that when implement the ITool you should set QAction::checkable() property to the true.
1.8.5