![]() |
ICF 3.0.5.47
Technical documentation of ICF Libraries
|
Interface for GUI objects managing scene. More...
#include <ISceneProvider.h>
Public Types | |
enum | SceneFlags { SF_FIXED_SIZE = 1 , SF_ALIGNED = 2 } |
Public Member Functions | |
virtual int | GetSceneId () const =0 |
Get ID indentifing this scene. | |
virtual QGraphicsScene * | GetScene () const =0 |
Called when items should be removed from specified scene. | |
virtual bool | GetSceneAlignment (double &distance) const =0 |
Get parameters of grid alignment. | |
virtual int | GetSceneFlags () const =0 |
Get scene's paremeter info. | |
Interface for GUI objects managing scene.
Definition at line 25 of file ISceneProvider.h.
Enumerator | |
---|---|
SF_FIXED_SIZE | Scene has a fixed size and cannot be resized by user. |
SF_ALIGNED | Scene has a grid alignment.
|
Definition at line 29 of file ISceneProvider.h.
|
pure virtual |
Called when items should be removed from specified scene.
Implemented in icmpstr::CSceneProviderGuiComp.
|
pure virtual |
Get parameters of grid alignment.
distance | distance between nearest alignment positions. |
Implemented in icmpstr::CSceneProviderGuiComp.
|
pure virtual |
|
pure virtual |
Get ID indentifing this scene.
Typically this ID is 0 for first scene, 1 for the second etc.
Implemented in icmpstr::CSceneProviderGuiComp.
© Witold Gantzke and Kirill Lepskiy