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. More... | |
virtual QGraphicsScene * | GetScene () const =0 |
Called when items should be removed from specified scene. More... | |
virtual bool | GetSceneAlignment (double &distance) const =0 |
Get parameters of grid alignment. More... | |
virtual int | GetSceneFlags () const =0 |
Get scene's paremeter info. More... | |
Interface for GUI objects managing scene.
Definition at line 27 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 31 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.
© 2007-2017 Witold Gantzke and Kirill Lepskiy