An Annotation definition allows annotation types to be defined which is necessary for generic instantiation. More...
Collaboration diagram for MAKLogger::DtLgrAnnotationDefinition:Public Types | |
| typedef DtLgrAnnotation *(* | AnnotationCreator )(QWidget *, DtLgrGuiModel *) |
| Annotation Creator function. | |
| typedef void(* | AnnotationModifier )(QWidget *, DtLgrAnnotation *, DtLgrGuiModel *) |
| Annotation modifier function. | |
| typedef DtLgrAnnotation *(* | AnnotationLoader )(const DtEnvObject *object) |
| Annotation loader function. | |
|
typedef DtLgrAnnotationSliderBar *(* | AnnotationBarCreator )(DtLgrAnnotation *annotation) |
| Create a sliderBar for the annotation. | |
| typedef DtLgrAnnotation *(* | AnnotationConvertor )(const DtLgrAnnotation *annotation) |
| Convert an annotation. | |
Public Member Functions | |
| DtLgrAnnotationDefinition (QString guiTypeName, QString accelerator, QString icon, DtString type, AnnotationCreator creator, AnnotationModifier modifier, AnnotationLoader loader, AnnotationBarCreator barCreator) | |
| DtLgrAnnotationDefinition (const DtLgrAnnotationDefinition ©) | |
| Copy CTOR. | |
| DtLgrAnnotationDefinition & | operator= (const DtLgrAnnotationDefinition ©) |
| Assignment operator. | |
Public Attributes | |
| QString | myGuiTypeName |
| The type name to be used in the GUI. | |
| QString | myGuiAccelerator |
| The accelerator which will bring up the creation dialog. | |
| QString | myGuiIcon |
| The string which indicates the name of the icon to use. | |
| DtString | myType |
| The unique string identifier for the type. | |
| AnnotationCreator | myCreator |
| The create function for the type. | |
| AnnotationModifier | myModifier |
| The create modifier for the type. | |
| AnnotationLoader | myLoader |
| The loader function for the type. | |
| AnnotationBarCreator | myBarCreator |
| The drawing function for the type. | |
An Annotation definition allows annotation types to be defined which is necessary for generic instantiation.
| typedef DtLgrAnnotation*(* MAKLogger::DtLgrAnnotationDefinition::AnnotationCreator)(QWidget *, DtLgrGuiModel *) |
Annotation Creator function.
This must return 0 if no annotation was create i.e. creation was canceled.
| typedef DtLgrAnnotation*(* MAKLogger::DtLgrAnnotationDefinition::AnnotationLoader)(const DtEnvObject *object) |
Annotation loader function.
Which loads the annotation from a envObject.
The type name to be used in the GUI.
This should be a translated string.