25 #ifndef CANVASHOLDER_QO_H
26 #define CANVASHOLDER_QO_H
29 #include <qwt_legend.h>
30 #include <display/QtPlotter/CanvasHolder.ui.h>
70 void addLegend( QBoxLayout* innerLayout, QBoxLayout* outerLayout );
74 Ui::CanvasHolderClass
ui;
83 #endif // CANVASHOLDER_H
void setCurveLabels(const QList< QString > &curveNames)
Sets the curve identifier.
void changeLegendDisplay()
void addLegend(QBoxLayout *innerLayout, QBoxLayout *outerLayout)
LegendLocation legendLocation
Holds the QtCanvas where the spectral profile is drawn.
QList< QString > getCurveLabels()
Returns a list of curve identifiers.
void addHorizontalLegend(QBoxLayout *verticalLayout)
void setShowLegend(bool showLegend)
Sets the visibility of the the legend.
void setLegendPosition(int location)
void setColorBarVisibility(bool visible)
Determines whether a color bar will be drawn along side the legend text.
void addVerticalLegend(QBoxLayout *verticalLayout)
CanvasHolder(QWidget *parent=0)
LegendLocation
Location of the legend.