|
OpenMS
2.6.0
|
Go to the documentation of this file.
38 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
44 #include <QPaintEvent>
71 static void paint(QPainter * painter, QPaintEvent * e,
const double & min,
const double & max,
const GridVector & grid,
72 const Int width,
const Int height,
const Alignment alignment,
const UInt margin,
73 const bool show_legend,
const String legend,
const bool shorten_number,
74 const bool is_log,
const bool is_inverse_orientation);
80 static void getShortenedNumber_(QString & short_num,
double number);
83 static double scale_(
double x,
bool is_log);
Definition: AxisPainter.h:64
Definition: AxisPainter.h:65
A more convenient string class.
Definition: String.h:59
Definition: AxisPainter.h:66
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
Draws a coordinate axis. It has only static methods, that's why the constructor is private.
Definition: AxisPainter.h:55
std::vector< std::vector< double > > GridVector
Typedef for the grid vector.
Definition: AxisPainter.h:59
Alignment
Where the axis is placed.
Definition: AxisPainter.h:62