ACF $AcfVersion:0$
Public Types | Public Member Functions | List of all members
iview::ITouchable Class Referenceabstract

This interface describes all untransparent GUI objects, which can be touched. More...

#include <ITouchable.h>

Inheritance diagram for iview::ITouchable:
istd::IPolymorphic iview::ISelectable iview::IShape iview::IViewLayer iview::ISelectableLayer iview::IShapeView iview::CShapeBase iview::IInteractiveShape iview::CViewLayer iview::ISelectableLayer iview::CInteractiveViewLayer iview::CToolsViewLayer iview::CViewBase iview::CDistanceToolShape iview::CImageShape iview::CInteractiveShapeBase iview::CPolypointShape iview::CDistanceToolShape iview::CInteractiveShapeBase iview::CInteractiveViewLayer iview::CToolsViewLayer iview::CInteractiveViewLayer iview::CToolsViewLayer

Public Types

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 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 ()
 

Detailed Description

This interface describes all untransparent GUI objects, which can be touched.

Definition at line 17 of file ITouchable.h.

Member Enumeration Documentation

◆ TouchState

Enumeration for possible shape touch states.

Enumerator
TS_NONE 

Nothing is touched.

TS_INACTIVE 

Inactive element is touched.

TS_TICKER 

Ticker is touched.

TS_DRAGGABLE 

Draggable element is touched.

TS_AREA 

Area is touched.

TS_OTHER 

Other element is touched.

TS_LAST 

Last value in this enum.

Definition at line 24 of file ITouchable.h.

Member Function Documentation

◆ GetShapeDescriptionAt()

virtual QString iview::ITouchable::GetShapeDescriptionAt ( istd::CIndex2d  position) const
pure virtual

◆ GetToolTipAt()

virtual QString iview::ITouchable::GetToolTipAt ( istd::CIndex2d  position) const
pure virtual

Get tooltip at specified position.

Implemented in iview::CInteractiveViewLayer, iview::CShapeBase, iview::CViewLayer, and iview::CViewBase.

◆ IsTouched()

virtual TouchState iview::ITouchable::IsTouched ( istd::CIndex2d  position) const
pure virtual

The documentation for this class was generated from the following file: