PARP Research Group University of Murcia, Spain


QVHistogramPlot Class Reference
[Graphical User Interface]

Widget for plotting QList<double> property values from a worker, as an histogram, over the time. More...

#include <qvgui/qvhistogramplot.h>

List of all members.

Public Member Functions

 QVHistogramPlot (const QString name=QString(), bool time=true, int step=10, double maxim=0, double minim=0, QWidget *parent=0)
 Constructs a QVHistogramPlot 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)


Detailed Description

Widget for plotting QList<double> property values from a worker, as an histogram, over the time.

This class creates a widget which plots an array of values as a bin histogram function:

qvision_histogramplot_window.png

For further information about its usage and functionallity see section Histogram plot widget

See also:
QVNumericPlot

QVCPUPlot

Definition at line 49 of file qvhistogramplot.h.


Constructor & Destructor Documentation

QVHistogramPlot::QVHistogramPlot ( const QString  name = QString (),
bool  time = true,
int  step = 10,
double  maxim = 0,
double  minim = 0,
QWidget *  parent = 0 
)

Constructs a QVHistogramPlot 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.

Parameters:
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.
Todo:
los parámetros de configuración de los widgets numericplot e histogramplot puedan ser propiedades dinámicas.

Definition at line 34 of file qvhistogramplot.cpp.


Member Function Documentation

void QVHistogramPlot::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.

Parameters:
worker The source QVWorker.
propertyName Identifying QString for the source property.

Definition at line 210 of file qvhistogramplot.cpp.


The documentation for this class was generated from the following files:



QVision framework. PARP research group, copyright 2007, 2008.