35 #ifndef OPENMS_VISUAL_AXISWIDGET_H
36 #define OPENMS_VISUAL_AXISWIDGET_H
39 #include <QtGui/QWidget>
69 typedef std::vector<std::vector<DoubleReal> >
GridVector;
79 void setMargin(
UInt size);
85 void showLegend(
bool show_legend);
88 bool isLegendShown()
const;
91 void setLegend(
const String & legend);
94 const String & getLegend();
100 void setLogScale(
bool is_log);
106 void setInverseOrientation(
bool inverse_orientation);
109 bool hasInverseOrientation();
112 void setAllowShortNumbers(
bool short_nums);
121 void paint(QPainter * painter, QPaintEvent * e);
129 void setTickLevel(
UInt level);
166 void paintEvent(QPaintEvent *);
A more convenient string class.
Definition: String.h:56
Alignment
Where the axis is placed.
Definition: AxisPainter.h:59