54 QPainter& painter,
ERulerOrientation ro,
const QColor& color,
const QColor& font_color,
const QRect& bounds,
const QRect& area,
double start,
double stop,
55 int digits,
const QString& unit
80 bool gridLines(QPainter& painter,
EGridOrientation go,
const QColor& color,
const QRect& bounds,
double start,
double stop,
unsigned digits)
const;
90 bool textCross(QPainter& painter,
const QRect& bounds,
const QString& text,
const QColor& color);
99 void gaugeBarPanel(QWidget* widget, QPaintEvent* event,
double progress,
const QString& str = {});
105 const double _sepFactor;
114 } _tickListVertical[], _tickListHorizontal[];
contains functions for drawing general stuff for graphs.
Definition Draw.h:15
bool ruler(QPainter &painter, ERulerOrientation ro, const QColor &color, const QColor &font_color, const QRect &bounds, const QRect &area, double start, double stop, int digits, const QString &unit) const
Draws a ruler for example around a graph.
ERulerOrientation
Orientation for drawing a graph ruler.
Definition Draw.h:26
void gaugeBarPanel(QWidget *widget, QPaintEvent *event, double progress, const QString &str={})
Draws a horizontal gauge rectangle inside a styled panel.
bool gridLines(QPainter &painter, EGridOrientation go, const QColor &color, const QRect &bounds, double start, double stop, unsigned digits) const
Draws the lines in the graph as the ruler ticks.
bool textCross(QPainter &painter, const QRect &bounds, const QString &text, const QColor &color)
Draws a cross with text rectangle in the middle.
EGridOrientation
Orientation for drawing grid lines in a graph.
Definition Draw.h:62
Draw()
Default constructor.
Value container class able to performing arithmetic functions.
Definition Value.h:19
#define _MISC_CLASS
Definition misc/global.h:40
Definition Application.h:10