![]() |
University of Murcia, Spain ![]() |
QVNumericPlot Class ReferenceWidget for plotting integer and double property values from a worker, over the time.
More...
|
Public Member Functions | |
QVNumericPlot (const QString name=QString(), bool time=true, int step=10, QWidget *parent=0) | |
Constructs a QVNumericPlot with a given string identifier, and iteration's parameters. Construct a new plot that shows int and double properties graphs. This plot shows decorations, it hasn't got a pie graph, don't brush the data and autoshow. It can show graphs of int and double linked properties of different workers. | |
bool | linkProperty (QVWorker &worker, const QString propertyName) |
Links properties from workers. | |
void | linkProperty (QVWorker &worker) |
Links properties from workers. |
This is a widget whichs plots output data values over a timeline:
For further info see section Numeric plot widget.
Definition at line 46 of file qvnumericplot.h.
QVNumericPlot::QVNumericPlot | ( | const QString | name = QString () , |
|
bool | time = true , |
|||
int | step = 10 , |
|||
QWidget * | parent = 0 | |||
) |
Constructs a QVNumericPlot with a given string identifier, and iteration's parameters. Construct a new plot that shows int and double properties graphs. This plot shows decorations, it hasn't got a pie graph, don't brush the data and autoshow. It can show graphs of int and double linked properties of different workers.
name | Identifier for the object to be created. | |
time | True if the iterations are based on clock time (in second hundredths), and false if they are based on worker's iterations. | |
step | Set the base measure to plot's iterations ratio. | |
parent | Identifier for the parent widget. |
Definition at line 28 of file qvnumericplot.cpp.
bool QVNumericPlot::linkProperty | ( | QVWorker & | worker, | |
const QString | propertyName | |||
) |
Links properties from workers.
This method safely links properties from workers in a thread safe manner. If the iterations are based on worker's iterations (time == false), the worker must be synchronised with previous linked workers. Only can be linked int or double properties.
See also QVPropertyContainer::LinkType.
worker | The source QVWorker. | |
propertyName | Identifying QString for the source property. |
Definition at line 31 of file qvnumericplot.cpp.
Referenced by linkProperty().
void QVNumericPlot::linkProperty | ( | QVWorker & | worker | ) |
Links properties from workers.
This method safely links all int and double output properties from a container with news properties with the same name, holders in a thread safe manner.
See also linkProperty(QVWorker &worker, const QString propertyName).
worker | The source QVWorker. |
Definition at line 43 of file qvnumericplot.cpp.