|
OpenMS
2.5.0
|
Go to the documentation of this file.
38 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
78 double getLeftSplitter();
81 double getRightSplitter();
84 void setLegend(
const String & legend);
88 void showSplitters(
bool on);
91 void setRightSplitter(
double pos);
94 void setLeftSplitter(
double pos);
97 void setLogMode(
bool log_mode);
132 void paintEvent(QPaintEvent *)
override;
133 void mousePressEvent(QMouseEvent *)
override;
134 void mouseReleaseEvent(QMouseEvent *)
override;
135 void mouseMoveEvent(QMouseEvent *)
override;
136 void resizeEvent(QResizeEvent *)
override;
142 void showContextMenu(
const QPoint & pos);
double left_splitter_
Value of the right splitter.
Definition: HistogramWidget.h:107
bool show_splitters_
Flag that indicates if splitters are shown.
Definition: HistogramWidget.h:104
Widget that represents an axis of a graph.
Definition: AxisWidget.h:63
double right_splitter_
Value of the right splitter.
Definition: HistogramWidget.h:110
Math::Histogram dist_
The histogram to display.
Definition: HistogramWidget.h:101
QPixmap buffer_
Internal buffer for the double buffering.
Definition: HistogramWidget.h:122
UInt margin_
Margin around plot.
Definition: HistogramWidget.h:119
Representation of a histogram.
Definition: Histogram.h:63
UInt moving_splitter_
The splitter that is currently dragged (0=none, 1=left, 2=right)
Definition: HistogramWidget.h:113
bool log_mode_
Flag that indicates the current mode.
Definition: HistogramWidget.h:125
Widget which can visualize a histogram.
Definition: HistogramWidget.h:65
A more convenient string class.
Definition: String.h:58
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
AxisWidget * bottom_axis_
X axis.
Definition: HistogramWidget.h:116