|
ACF $AcfVersion:0$
|
#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_ADD , MPM_LAST } |
| Defines possible states of mouse pointer. More... | |
| enum | EditMode { EM_NONE = 0 , EM_MOVE = 1 , EM_ADD = 2 , EM_REMOVE = 3 , EM_LAST = 100 } |
| Describes standard edit modes. More... | |
| enum | DisplayMode { DM_DEFAULT = 0 } |
| Describes standard display modes. More... | |
| typedef QSet< IInteractiveShape * > | SelectedShapes |
Public Types inherited from iview::ITouchable | |
| enum | TouchState { TS_NONE , TS_INACTIVE , TS_TICKER , TS_DRAGGABLE , TS_AREA , 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 int | GetDisplayMode () const =0 |
| Get actual display 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. | |
Public Member Functions inherited from iview::ITouchable | |
| 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. | |
| virtual QString | GetToolTipAt (istd::CIndex2d position) const =0 |
| Get tooltip at specified position. | |
Public Member Functions inherited from istd::IPolymorphic | |
| virtual | ~IPolymorphic () |
Definition at line 20 of file ISelectable.h.
| typedef QSet<IInteractiveShape*> iview::ISelectable::SelectedShapes |
Definition at line 23 of file ISelectable.h.
Describes standard edit modes.
| Enumerator | |
|---|---|
| EM_NONE | |
| EM_MOVE | |
| EM_ADD | |
| EM_REMOVE | |
| EM_LAST | |
Definition at line 46 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_ADD | |
| MPM_LAST | |
Definition at line 28 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 display mode.
Implemented in iview::CInteractiveViewLayer, iview::CToolsViewLayer, and iview::CViewBase.
Referenced by iview::CInteractiveShapeBase::GetDisplayMode(), and iview::CInteractiveViewLayer::GetDisplayMode().
|
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::CViewBase, iview::CInteractiveViewLayer, and iview::CToolsViewLayer.
|
pure virtual |
Called when shape get focus.
Implemented in iview::CViewBase, iview::CInteractiveViewLayer, and iview::CToolsViewLayer.
|
pure virtual |
It is called after change shape selection state.
Implemented in iview::CInteractiveViewLayer, iview::CToolsViewLayer, and iview::CViewBase.