casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AnnotationEditor.qo.h
Go to the documentation of this file.
1 #ifndef ANNOTATIONEDITOR_QO_H
2 #define ANNOTATIONEDITOR_QO_H
3 
4 #include <QDialog>
5 #include <display/QtPlotter/annotations/AnnotationEditor.ui.h>
6 
7 namespace casa {
8 
9  class PropertyListener;
10 
11  class AnnotationEditor : public QDialog {
12  Q_OBJECT
13 
14  public:
15  AnnotationEditor(PropertyListener* annotation, QWidget *parent = 0);
17  void addSpecializedWidget( QWidget* widget );
18  void setSpecializedTitle( const QString& title );
19  QColor getForegroundColor() const;
20  private slots:
21  void addColor( );
22  void editingDone();
23  private:
24  void setLabelColor( const QString& colorName );
26  const QColor DEFAULT_COLOR;
27  Ui::AnnotationEditorClass ui;
28  };
29 }
30 #endif // ANNOTATIONEDITOR_H
void addSpecializedWidget(QWidget *widget)
PropertyListener * propertyListener
AnnotationEditor(PropertyListener *annotation, QWidget *parent=0)
void setLabelColor(const QString &colorName)
QColor getForegroundColor() const
Ui::AnnotationEditorClass ui
void setSpecializedTitle(const QString &title)