4 #ifndef pqDisplayColorWidget_h
5 #define pqDisplayColorWidget_h
7 #include "pqComponentsModule.h"
31 Q_PROPERTY(QString representationText READ representationText WRITE setRepresentationText);
32 typedef QWidget Superclass;
49 int componentNumber()
const;
71 void arraySelectionChanged();
76 void representationTextChanged(
const QString& text);
87 void setRepresentationText(
const QString& text);
94 void refreshColorArrayNames();
99 void renderActiveView();
104 void refreshComponents();
111 void updateColorTransferFunction();
117 void componentNumberChanged();
124 void pruneOutOfDomainEntries();
130 void setArraySelection(
const ValueType&);
134 void setComponentNumber(
int);
137 QVariant itemData(
int association,
const QString& arrayName)
const;
138 QIcon* itemIcon(
int association,
const QString& arrayName)
const;
148 int addOutOfDomainEntry(
int association,
const QString& arrayName);
151 QIcon* PointDataIcon;
152 QIcon* FieldDataIcon;
153 QIcon* SolidColorIcon;
154 QComboBox* Variables;
155 QComboBox* Components;
156 QPointer<pqDataRepresentation> Representation;
157 QPointer<pqScalarsToColors> ColorTransferFunction;
158 QString RepresentationText;
161 void* CachedRepresentation;
164 pqInternals* Internals;
166 class PropertyLinksConnection;
167 friend class PropertyLinksConnection;