lgrPointAnnotation.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 
00009 
00010 #ifndef lgrPointAnnotation_H_
00011 #define lgrPointAnnotation_H_
00012 
00013 #include "lgrAnnotation.h"
00014 #include "lgrAnnotationFactory.h"
00015 
00016 #include "absoluteTime.h"
00017 #include <vlutil/vlString.h>
00018 
00019 class DtEnvObject;
00020 class QWidget;
00021 class QPainter;
00022 
00023 
00024 namespace MAKLogger
00025 {
00026 
00027    struct RectF;
00028 
00030    class DT_DLL_LGRANN DtLgrPointAnnotation : public DtLgrAnnotation
00031    {
00032    public:
00033 
00035       DtLgrPointAnnotation(const DtString& name,DtAbsoluteTime time,
00036          const DtString& text);
00037 
00039       virtual ~DtLgrPointAnnotation();
00040 
00042       virtual const DtString& type() const;
00043 
00045       virtual void setName(const DtString& name);
00046 
00048       virtual const DtString& name() const;
00049 
00051       virtual void setText(const DtString& text);
00052 
00054       virtual const DtString& text() const;
00055 
00058       virtual const DtAbsoluteTime& startTime() const;
00059 
00062       virtual const DtAbsoluteTime& endTime() const;
00063 
00064       virtual void setStartTime(const DtAbsoluteTime& time);
00065 
00066       virtual void setEndTime(const DtAbsoluteTime& time);
00067 
00069       virtual const DtAbsoluteTime& time() const;
00070 
00072       virtual void setTime(DtAbsoluteTime time);
00073 
00075       virtual void initializeFromObject(const DtEnvObject* annotationObject);
00076 
00078       virtual void createObject(DtEnvironment environment);
00079 
00081       static DtLgrAnnotationDefinition theDefinition;
00082 
00083    protected:
00084 
00086       static DtLgrAnnotation* load(const DtEnvObject*);
00087 
00089       static DtLgrAnnotationSliderBar* createBar(DtLgrAnnotation*);
00090 
00091       DtString myName;
00092       DtString myText;
00093       DtAbsoluteTime myTime;
00094    };
00095 
00096 }
00097 
00098 #endif

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)