32 #ifndef pqColorAnnotationsWidget_h 33 #define pqColorAnnotationsWidget_h 52 typedef QWidget Superclass;
66 QList<QVariant> annotations()
const;
67 void setAnnotations(
const QList<QVariant>&);
75 QList<QVariant> indexedColors()
const;
76 void setIndexedColors(
const QList<QVariant>&);
83 QList<QVariant> indexedOpacities()
const;
84 void setIndexedOpacities(
const QList<QVariant>&);
91 QList<QVariant> visibilities()
const;
92 void setVisibilities(
const QList<QVariant>&);
99 QVariant opacityMapping()
const;
100 void setOpacityMapping(
const QVariant&);
106 void applyPreset(
const char* presetName);
112 void indexedLookupStateUpdated(
bool indexed);
117 bool addActiveAnnotations(
bool force);
123 QModelIndex currentIndex();
128 QModelIndexList selectedIndexes();
138 void setSupportsReorder(
bool reorder);
143 void sort(
int column, Qt::SortOrder
order = Qt::AscendingOrder);
149 void allowsUserDefinedValues(
bool allow);
157 void allowsRegexpMatching(
bool allow);
163 void enablePresets(
bool enable);
168 void supportsVisibilityCheck(
bool val);
173 void supportsOpacityMapping(
bool val);
184 const char* currentPresetName();
185 void setCurrentPresetName(
const char*
name);
191 QString currentAnnotationValue();
196 QStringList selectedAnnotations();
197 void setSelectedAnnotations(
const QStringList& annotations);
202 bool presetLoadAnnotations();
207 QRegularExpression presetRegularExpression();
213 void annotationsChanged();
218 void indexedColorsChanged();
223 void indexedOpacitiesChanged();
228 void visibilitiesChanged();
233 void opacityMappingChanged();
238 void presetChanged(
const QString& name);
243 void selectionChanged(
const QItemSelection&,
const QItemSelection&);
249 bool addActiveAnnotationsFromVisibleSources(
bool force);
257 void addAnnotation();
258 void removeAnnotation();
259 void addActiveAnnotations();
260 void addActiveAnnotationsFromVisibleSources();
261 void removeAllAnnotations();
264 void onPresetApplied(
const QString& presetName);
271 void onDataChanged(
const QModelIndex& topleft,
const QModelIndex& btmright);
278 void onDoubleClicked(
const QModelIndex& idx);
285 void onHeaderDoubleClicked(
int section);
290 void customMenuRequested(QPoint pos);
295 void execGlobalOpacityDialog();
300 void choosePreset(
const char* presetName =
nullptr);
305 void saveAsNewPreset();
306 void saveAsPreset(
const char* name,
bool removeAnnotations,
bool allowOverride);
312 void updateOpacityColumnState();
317 void editPastLastRow();
323 pqInternals* Internals;
#define PQAPPLICATIONCOMPONENTS_EXPORT
proxy for a VTK object(s) on a server