![]() |
ICF 3.0.5.47
Technical documentation of ICF Libraries
|
#include <ISelectable.h>
Public Types | |
enum | MousePointerMode { MPM_NONE , MPM_DEFAULT , MPM_DESELECT , MPM_POINTER , MPM_WAIT , MPM_CROSS , MPM_HAND , MPM_DRAG , MPM_SCREEN_MOVE , MPM_LAST = MPM_SCREEN_MOVE } |
Defines possible states of mouse pointer. More... | |
enum | EditMode { EM_NONE = 0 , EM_MOVE = 1 , EM_ADD = 2 , EM_REMOVE = 3 } |
Describes standard edit modes. More... | |
typedef QSet< IInteractiveShape * > | SelectedShapes |
![]() | |
enum | TouchState { TS_NONE , TS_TRANSPARENT , TS_INACTIVE , TS_TICKER , TS_DRAGGABLE , TS_OTHER , TS_LAST = TS_OTHER } |
Enumeration for possible shape touch states. More... | |
Public Member Functions | |
virtual int | GetSelectedShapesCount () const =0 |
Get count of selected shapes. | |
virtual void | InsertSelectedShapes (SelectedShapes &result) const =0 |
Get set of selected shapes. | |
virtual void | DeselectAllShapes ()=0 |
Set all shapes to be deselected. | |
virtual int | GetKeysState () const =0 |
Get state of system keys. | |
virtual int | GetEditMode () const =0 |
Get actual edit mode. | |
virtual void | OnShapeFocused (IInteractiveShape *shapePtr)=0 |
Called when shape get focus. | |
virtual void | OnShapeDefocused (IInteractiveShape *shapePtr)=0 |
Called when shape loose focus. | |
virtual void | OnShapeSelected (IInteractiveShape &shape, bool state=true)=0 |
It is called after change shape selection state. | |
![]() | |
virtual TouchState | IsTouched (istd::CIndex2d position) const =0 |
Check, if any shape is touched. | |
virtual QString | GetShapeDescriptionAt (istd::CIndex2d position) const =0 |
Get description to shape at specified position. | |
Definition at line 26 of file ISelectable.h.
Definition at line 29 of file ISelectable.h.
Describes standard edit modes.
Enumerator | |
---|---|
EM_NONE | |
EM_MOVE | |
EM_ADD | |
EM_REMOVE |
Definition at line 51 of file ISelectable.h.
Defines possible states of mouse pointer.
Enumerator | |
---|---|
MPM_NONE | |
MPM_DEFAULT | |
MPM_DESELECT | |
MPM_POINTER | |
MPM_WAIT | |
MPM_CROSS | |
MPM_HAND | |
MPM_DRAG | |
MPM_SCREEN_MOVE | |
MPM_LAST |
Definition at line 34 of file ISelectable.h.
|
pure virtual |
Set all shapes to be deselected.
Implemented in iview::CInteractiveViewLayer, iview::CToolsViewLayer, and iview::CViewBase.
|
pure virtual |
Get actual edit mode.
Implemented in iview::CInteractiveViewLayer, iview::CToolsViewLayer, and iview::CViewBase.
Referenced by iview::CInteractiveShapeBase::GetEditMode(), and iview::CInteractiveViewLayer::GetEditMode().
|
pure virtual |
Get state of system keys.
Implemented in iview::CInteractiveViewLayer, iview::CToolsViewLayer, and iview::CViewBase.
Referenced by iview::CInteractiveShapeBase::GetKeysState(), and iview::CInteractiveViewLayer::GetKeysState().
|
pure virtual |
Get count of selected shapes.
Implemented in iview::CInteractiveViewLayer, iview::CToolsViewLayer, and iview::CViewBase.
|
pure virtual |
Get set of selected shapes.
Implemented in iview::CInteractiveViewLayer, iview::CToolsViewLayer, and iview::CViewBase.
|
pure virtual |
Called when shape loose focus.
Implemented in iview::CInteractiveViewLayer, iview::CToolsViewLayer, and iview::CViewBase.
|
pure virtual |
Called when shape get focus.
Implemented in iview::CInteractiveViewLayer, iview::CToolsViewLayer, and iview::CViewBase.
|
pure virtual |
It is called after change shape selection state.
Implemented in iview::CInteractiveViewLayer, iview::CToolsViewLayer, and iview::CViewBase.
© Witold Gantzke and Kirill Lepskiy