35 #ifndef OPENMS_VISUAL_AXISPAINTER_H 
   36 #define OPENMS_VISUAL_AXISPAINTER_H 
   38 #include <QtGui/QPainter> 
   43 #include <QtGui/QPaintEvent> 
   68     static void paint(QPainter * painter, QPaintEvent * e, 
const DoubleReal & min, 
const DoubleReal & max, 
const GridVector & grid,
 
   69                       const Int width, 
const Int height, 
const Alignment alignment, 
const UInt margin,
 
   70                       const bool show_legend, 
const String legend, 
const bool shorten_number,
 
   71                       const bool is_log, 
const bool is_inverse_orientation);
 
   77     static void getShortenedNumber_(QString & short_num, 
DoubleReal number);
 
A more convenient string class. 
Definition: String.h:56
Draws a coordinate axis. It has only static methods, that's why the constructor is private...
Definition: AxisPainter.h:52
Alignment
Where the axis is placed. 
Definition: AxisPainter.h:59
Definition: AxisPainter.h:62
Definition: AxisPainter.h:63
std::vector< std::vector< double > > GridVector
Typedef for the grid vector. 
Definition: AxisPainter.h:56
Definition: AxisPainter.h:61
int Int
Signed integer type. 
Definition: Types.h:100