casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
AnnotationText.h
Go to the documentation of this file.
00001 /*
00002  * AnnotationText.h
00003  *
00004  *  Created on: Sep 27, 2012
00005  *      Author: slovelan
00006  */
00007 
00008 #ifndef ANNOTATIONTEXT_H_
00009 #define ANNOTATIONTEXT_H_
00010 
00011 #include <display/QtPlotter/annotations/Annotation.h>
00012 
00013 namespace casa {
00014 
00015 class AnnotationEditorText;
00016 
00017 class AnnotationText : public Annotation {
00018         public:
00019                 AnnotationText( QWidget* parent);
00020                 void drawAnnotation( QPainter* painter );
00021                 virtual ~AnnotationText();
00022                 virtual void propertiesChanged();
00023 
00024         private:
00025 
00026                 QString label;
00027                 QFont fontFamily;
00028                 AnnotationEditorText* annotationEditorText;
00029 };
00030 
00031 } /* namespace casa */
00032 #endif /* ANNOTATIONTEXT_H_ */