OpenMS
HistogramDialog Class Reference

Dialog that show a HistogramWidget. More...

#include <OpenMS/VISUAL/DIALOGS/HistogramDialog.h>

Inheritance diagram for HistogramDialog:
[legend]
Collaboration diagram for HistogramDialog:
[legend]

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

HistogramWidgetmw_
 

Detailed Description

Dialog that show a HistogramWidget.

Constructor & Destructor Documentation

◆ HistogramDialog()

HistogramDialog ( const Math::Histogram<> &  distribution,
QWidget parent = nullptr 
)

Constructor.

◆ ~HistogramDialog()

~HistogramDialog ( )
override

Destructor.

Member Function Documentation

◆ getLeftSplitter()

float getLeftSplitter ( )

Returns the value of the left splitter.

◆ getRightSplitter()

float getRightSplitter ( )

Returns the value of the right splitter.

◆ setLeftSplitter()

void setLeftSplitter ( float  position)

Sets the value of the left splitter.

◆ setLegend()

void setLegend ( const String legend)

Sets the axis legend.

◆ setLogMode()

void setLogMode ( bool  log_mode)

Sets log mode.

◆ setRightSplitter()

void setRightSplitter ( float  position)

Sets the value of the right splitter.

Member Data Documentation

◆ mw_

HistogramWidget* mw_
protected