35 #ifndef OPENMS_VISUAL_AXISPAINTER_H 36 #define OPENMS_VISUAL_AXISPAINTER_H 39 #include <OpenMS/VISUAL/OpenMS_GUIConfig.h> 41 #include <QtGui/QPainter> 46 #include <QtGui/QPaintEvent> 71 static void paint(QPainter * painter, QPaintEvent * e,
const double & min,
const double & max,
const GridVector & grid,
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:95
Definition: AxisPainter.h:65
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
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:103