35 #ifndef OPENMS_VISUAL_AXISWIDGET_H 36 #define OPENMS_VISUAL_AXISWIDGET_H 39 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h> 42 #include <QtGui/QWidget> 72 typedef std::vector<std::vector<double> >
GridVector;
82 void setMargin(
UInt size);
88 void showLegend(
bool show_legend);
91 bool isLegendShown()
const;
94 void setLegend(
const String & legend);
97 const String & getLegend();
100 const GridVector & gridLines();
103 void setLogScale(
bool is_log);
109 void setInverseOrientation(
bool inverse_orientation);
112 bool hasInverseOrientation();
115 void setAllowShortNumbers(
bool short_nums);
118 double getAxisMinimum()
const;
121 double getAxisMaximum()
const;
124 void paint(QPainter * painter, QPaintEvent * e);
129 void setAxisBounds(
double min,
double max);
132 void setTickLevel(
UInt level);
169 void paintEvent(QPaintEvent *);
A more convenient string class.
Definition: String.h:57
Alignment
Where the axis is placed.
Definition: AxisPainter.h:62
unsigned int UInt
Unsigned integer type.
Definition: Types.h:95
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47