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);
A more convenient string class.
Definition: String.h:57
Draws a coordinate axis. It has only static methods, that's why the constructor is private...
Definition: AxisPainter.h:55
Alignment
Where the axis is placed.
Definition: AxisPainter.h:62
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
Definition: AxisPainter.h:65
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
Definition: AxisPainter.h:66
std::vector< std::vector< double > > GridVector
Typedef for the grid vector.
Definition: AxisPainter.h:59
Definition: AxisPainter.h:64
int Int
Signed integer type.
Definition: Types.h:102