32 #ifndef pqColorAnnotationsPropertyWidget_h 33 #define pqColorAnnotationsPropertyWidget_h 35 #include "pqApplicationComponentsModule.h" 39 class vtkSMPropertyGroup;
48 Q_PROPERTY(QList<QVariant> annotations READ annotations WRITE setAnnotations);
49 Q_PROPERTY(QList<QVariant> indexedColors READ indexedColors WRITE setIndexedColors);
54 vtkSMProxy* proxy, vtkSMPropertyGroup* smgroup, QWidget* parent=0);
60 QList<QVariant> annotations()
const;
61 void setAnnotations(
const QList<QVariant>&);
65 QList<QVariant> indexedColors()
const;
66 void setIndexedColors(
const QList<QVariant>&);
70 void annotationsChanged();
73 void indexedColorsChanged();
79 void removeAnnotation();
80 void addActiveAnnotations();
81 void addActiveAnnotationsFromVisibleSources();
82 void removeAllAnnotations();
86 void onDataChanged(
const QModelIndex& topleft,
const QModelIndex& btmright);
91 void onDoubleClicked(
const QModelIndex& idx);
94 void choosePreset(
const char* presetName=NULL);
101 void updateIndexedLookupState();
104 void editPastLastRow();
109 pqInternals* Internals;