Public Types | Public Member Functions | Public Attributes
MAKLogger::DtLgrAnnotationDefinition Class Reference

An Annotation definition allows annotation types to be defined which is necessary for generic instantiation. More...

+ Collaboration diagram for MAKLogger::DtLgrAnnotationDefinition:

List of all members.

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)
 Copy CTOR.
DtLgrAnnotationDefinitionoperator= (const DtLgrAnnotationDefinition &copy)
 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.

Detailed Description

An Annotation definition allows annotation types to be defined which is necessary for generic instantiation.


Member Typedef Documentation

Annotation Creator function.

This must return 0 if no annotation was create i.e. creation was canceled.

Annotation loader function.

Which loads the annotation from a envObject.


Member Data Documentation

The type name to be used in the GUI.

This should be a translated string.


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

Document ID: Generated on Tue Oct 11 19:41:03 EDT 2011 from SVN revision 107422
Copyright © 2005-2011 VT MÄK Inc. All Rights Reserved (www.mak.com)