Commit 92ea6421 authored by NICLAUSSE Nicolas's avatar NICLAUSSE Nicolas

add field method in Clut decorator to get the current selected field name

parent cb011803
......@@ -314,6 +314,11 @@ void dtkVisualizationDecoratorWithClut::restoreSettings(void)
}
}
QString dtkVisualizationDecoratorWithClut::fieldName(void) const
{
return d->current_field_name;
}
void dtkVisualizationDecoratorWithClut::touch(void)
{
if (d->current_field_name.isEmpty() || !d->dataset) {
......
......@@ -53,6 +53,9 @@ public:
public:
virtual void setVisibility(bool visible) override;
public:
QString fieldName(void) const;
protected:
virtual void restoreSettings(void) override;
virtual void setCurrentRange(double, double);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment