This class is a widget which contains a stacked graph and a menu for this graph. More...
#include <StackedGraphWidget.h>
Public Slots | |
void | updateStackedGraph () |
updates the stackedGraph | |
Public Member Functions | |
StackedGraphWidget (const QVector< DataItem > *dataPtr, const QString *unitSymbolPtr, const bool *unitAfterNumberPtr, const QVector< QString > *unitSizeNamesPtr, QWidget *parent) | |
creates a widget which contains a stacked graph and a menu for this graph. | |
StackedGraphWidget & | operator= (const StackedGraphWidget &other) |
copies a stackedGraphWidget | |
StackedGraph * | getStackedGraph () |
returns the pointer to the stackedGraph |
This class is a widget which contains a stacked graph and a menu for this graph.
StackedGraphWidget::StackedGraphWidget | ( | const QVector< DataItem > * | dataPtr, | |
const QString * | unitSymbolPtr, | |||
const bool * | unitAfterNumberPtr, | |||
const QVector< QString > * | unitSizeNamesPtr, | |||
QWidget * | parent | |||
) |
creates a widget which contains a stacked graph and a menu for this graph.
dataPtr | the data which should be used for the stacked graph. | |
unitSymbolPtr | the unit symbol for the data. | |
unitAfterNumberPtr | if the unit symbol should be shown before or after the number. | |
unitSizeNamesPtr | the size names for each 1000 step. | |
parent | the parent widget. |
StackedGraph* StackedGraphWidget::getStackedGraph | ( | ) | [inline] |
returns the pointer to the stackedGraph
StackedGraphWidget & StackedGraphWidget::operator= | ( | const StackedGraphWidget & | other | ) |
copies a stackedGraphWidget
void StackedGraphWidget::updateStackedGraph | ( | ) | [slot] |
updates the stackedGraph