56 std::unordered_map<std::string, float>
values;
A Calendar from which you can access the whole data.
Definition: Calendar.h:83
A PC Axis, which represents one axis in the PC System. It holds its positional values on the plane an...
Definition: PCAxis.h:17
std::unordered_map< std::string, float > values
Definition: PCAxis.h:56
std::string toString()
Convert this object into a string representation.
Definition: PCAxis.cpp:149
float drawHeight
Definition: PCAxis.h:86
~PCAxis()
Destructor.
Definition: PCAxis.cpp:37
void update(int days)
Updates the given days.
Definition: PCAxis.cpp:52
float minVal
Definition: PCAxis.h:66
void drawAtDrawPos(Painter2D *painter2D, QPainter *qPainter)
Draw at draw position.
Definition: PCAxis.cpp:122
float maxVal
Definition: PCAxis.h:66
float days
Definition: PCAxis.h:71
void draw(Painter2D *painter2D, QPainter *qPainter)
Draws.
Definition: PCAxis.cpp:94
QVector2D pos
Definition: PCAxis.h:61
PCAxis(Calendar *calendarData, std::string attr_name, QVector2D pos, float height)
Constructor.
Definition: PCAxis.cpp:18
QVector2D drawPos
Definition: PCAxis.h:81
float height
Definition: PCAxis.h:66
std::string attr_name
Definition: PCAxis.h:76
A 2D painter.
Definition: Painter2D.h:15