#include <mvcdiagram.h>
Inheritance diagram for MvcDiagram:

Public Types | |
| enum | ElementType { DE_Gesture = MvcCore::UserElement, DE_Polygon, DE_Polyline, DE_Shape, DE_Text, UserElement = MvcCore::UserElement + 1000 } |
| enum | ElementAttributeType { DEA_CiderInfo = MvcCore::UserElementAttribute, DEA_Comment, DEA_Ink, DEA_Label, DEA_Origin, DEA_Polygon, DEA_Pos, DEA_Rect, DEA_Shape, DEA_Size, UserElementAttribute = MvcCore::UserElementAttribute + 1000 } |
Static Public Member Functions | |
| static MvcModuleId_t | id () |
Reimplemented from MvcCore.
| DEA_CiderInfo | |
| DEA_Comment | |
| DEA_Ink | |
| DEA_Label | |
| DEA_Origin | |
| DEA_Polygon | |
| DEA_Pos | |
| DEA_Rect | |
| DEA_Shape | |
| DEA_Size | |
| UserElementAttribute |
Reimplemented from MvcCore.
| static MvcModuleId_t MvcDiagram::id | ( | ) | [inline, static] |
Returns the module's id().
This method must be re-implemented in every sub-class as:
inline static MvcModuleId_t id() { static s_id = generateNewId(); return s_id; }
The id() is very important when combining multiple MVC modules together, where event IDs may overlap. By checking the (unique) id() first, you can ensure that the events are sent and handled correctly.
Reimplemented from MvcCore.
1.5.2