OpenMS
|
Dialog that show a HistogramWidget. More...
#include <OpenMS/VISUAL/DIALOGS/HistogramDialog.h>
Public Member Functions | |
HistogramDialog (const Math::Histogram<> &distribution, QWidget *parent=nullptr) | |
Constructor. More... | |
~HistogramDialog () override | |
Destructor. More... | |
float | getLeftSplitter () |
Returns the value of the left splitter. More... | |
float | getRightSplitter () |
Returns the value of the right splitter. More... | |
void | setLeftSplitter (float position) |
Sets the value of the left splitter. More... | |
void | setRightSplitter (float position) |
Sets the value of the right splitter. More... | |
void | setLegend (const String &legend) |
Sets the axis legend. More... | |
void | setLogMode (bool log_mode) |
Sets log mode. More... | |
Protected Attributes | |
HistogramWidget * | mw_ |
Dialog that show a HistogramWidget.
HistogramDialog | ( | const Math::Histogram<> & | distribution, |
QWidget * | parent = nullptr |
||
) |
Constructor.
|
override |
Destructor.
float getLeftSplitter | ( | ) |
Returns the value of the left splitter.
float getRightSplitter | ( | ) |
Returns the value of the right splitter.
void setLeftSplitter | ( | float | position | ) |
Sets the value of the left splitter.
void setLegend | ( | const String & | legend | ) |
Sets the axis legend.
void setLogMode | ( | bool | log_mode | ) |
Sets log mode.
void setRightSplitter | ( | float | position | ) |
Sets the value of the right splitter.
|
protected |