![]() |
University of Murcia, Spain ![]() |
QVHistogramPlot2 Class ReferenceWidget for plotting QList<double> property values from a worker, as an histogram, over the time.
More...
|
Public Member Functions | |
QVHistogramPlot2 (const QString name=QString(), bool time=true, int step=10, QWidget *parent=0) | |
Constructs a QVHistogramPlot2 with a given string identifier, and a iteration's parameters. Construct a new plot that shows QList<double> properties graphs as an histogram graph. This plot shows decorations, it hasn't got a pie graph, don't brush the data and autoshow. It can show graphs of QList<double> linked properties of different workers. | |
Protected Member Functions | |
void | resizeEvent (QResizeEvent *e) |
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 QList<double> properties. | |
bool | linkUnspecifiedInputProperty (QVPropertyContainer *sourceContainer, QString sourcePropName, LinkType linkType=AsynchronousLink) |
This class creates a widget which plots an array of values as a bin histogram function:
For further information about its usage and functionallity see section QVHistogramPlot2Widget
Definition at line 48 of file qvhistogramplot2.h.
QVHistogramPlot2::QVHistogramPlot2 | ( | const QString | name = QString () , |
|
bool | time = true , |
|||
int | step = 10 , |
|||
QWidget * | parent = 0 | |||
) |
Constructs a QVHistogramPlot2 with a given string identifier, and a iteration's parameters. Construct a new plot that shows QList<double> properties graphs as an histogram graph. This plot shows decorations, it hasn't got a pie graph, don't brush the data and autoshow. It can show graphs of QList<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. | |
maxim | The left axis maximum value shown, if it is 0, the maximum value is auto scale. | |
minim | The left axis minimum value shown, it must be less than maximum value. | |
parent | Identifier for the parent widget. |
Definition at line 35 of file qvhistogramplot2.cpp.
void QVHistogramPlot2::resizeEvent | ( | QResizeEvent * | e | ) | [protected] |
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 QList<double> properties.
See also QVPropertyContainer::LinkType.
worker | The source QVWorker. | |
propertyName | Identifying QString for the source property. |
Definition at line 244 of file qvhistogramplot2.cpp.