15 #ifndef BORNAGAIN_GUI_VIEW_PLOTUTIL_PLOTSTATUSLABEL_H
16 #define BORNAGAIN_GUI_VIEW_PLOTUTIL_PLOTSTATUSLABEL_H
Defines class StatusLabel.
The PlotStatusLabel class shows status string as reported by DescriptedPlot in a frame....
void onPlotDestroyed(QObject *obj)
void setConnected(ScientificPlot *plot, bool flag) const
Connects with colorMap's status string signal.
void reset()
Disconnects all color maps from the label.
QList< ScientificPlot * > m_plots
void addPlot(ScientificPlot *plot)
void setPlotLabelEnabled(ScientificPlot *plot, bool flag)
Enables/disables showing of label for given plot.
void setLabelEnabled(bool flag)
Enables/disables label. If disabled, all colorMaps are disconnected and label is hiding.
void onPlotStatusString(const QString &text)
PlotStatusLabel(ScientificPlot *plot, QWidget *parent=nullptr)
Common interface for plot-descriptor interaction.
The StatusLabel class shows a single line of text on a white background. Opposite to QLabel,...