4 #ifndef pqChooseColorPresetReaction_h 5 #define pqChooseColorPresetReaction_h 10 #include <QRegularExpression> 58 bool choosePreset(
const char* presetName =
nullptr);
87 QRegularExpression regularExpression();
92 bool loadAnnotations();
98 void presetApplied(
const QString&);
101 void applyCurrentPreset();
107 void updateTransferFunction();
117 QPointer<pqDataRepresentation> Representation;
119 static QPointer<pqPresetDialog> PresetDialog;
120 bool AllowsRegexpMatching;
pqDataRepresentation is the superclass for a display for a pqPipelineSource i.e.
pqPresetDialog is the dialog used by to show the user with a choice of color maps/opacity maps/preset...
virtual void updateEnableState()
#define PQAPPLICATIONCOMPONENTS_EXPORT
This is a superclass just to make it easier to collect all such reactions.
Reaction to pop up a color palette chooser dialog.
proxy for a VTK object(s) on a server
virtual void onTriggered()
Called when the action is triggered.
void setAllowsRegexpMatching(bool allow)
Show/hide widget in the dialog.