Inheritance diagram for EvoDataViewer:

Public Member Functions

 EvoDataViewer (int nchunks, int chunksize, int style=0, QWidget *parent=0, Qt::WindowFlags flags=0)
 EvodaViewer constructor.
 
void listVisibleChunks ()
 Creates a list of the visible chunks.
 
void reset ()
 Cleans the screen and resets chunk indexes in order to display new data.
 
void setChunkColor (int ch, QColor color)
 
void setChunkLabel (int ch, const QString &label)
 set the chunk label
 
void setChunkProperties (int ch, double rangeMin, double rangeMax, const QString &label, QColor color, bool visible)
 Set all the chunk properties in one step.
 
void setChunkRange (int ch, double mn, double mx)
 set the range of the incoming data
 
void setChunkValue (int ch, double value)
 set chunk value by chunck id
 
bool setChunkValue (const QString &name, double value)
 set chunk value by chunk label
 
void setCurrentStep (int step)
 it stores the current step for each value.
 
void setStyle (int style)
 set the drawing style 0: filled lines, 1: simple line
 
int visibleChunks ()
 

Public Attributes

bool nviewChange
 

Protected Member Functions

void mousePressEvent (QMouseEvent *evt)
 
void paintEvent (QPaintEvent *evt)
 
void resizeEvent (QResizeEvent *evt)
 

Detailed Description

Definition at line 132 of file evodataviewer.h.

Constructor & Destructor Documentation

EvoDataViewer ( int  nchunks,
int  chunksize,
int  style = 0,
QWidget *  parent = 0,
Qt::WindowFlags  flags = 0 
)

EvodaViewer constructor.

Definition at line 41 of file evodataviewer.cpp.

References EvoDataViewer::listVisibleChunks(), and EvoDataViewer::setChunkLabel().

Member Function Documentation

void listVisibleChunks ( )

Creates a list of the visible chunks.

Definition at line 354 of file evodataviewer.cpp.

Referenced by EvoDataViewer::EvoDataViewer(), and EvoDataViewer::reset().

void reset ( )

Cleans the screen and resets chunk indexes in order to display new data.

Definition at line 384 of file evodataviewer.cpp.

References EvoDataViewer::listVisibleChunks().

void setChunkLabel ( int  ch,
const QString &  label 
)

set the chunk label

Definition at line 233 of file evodataviewer.cpp.

Referenced by EvoDataViewer::EvoDataViewer().

void setChunkProperties ( int  ch,
double  rangeMin,
double  rangeMax,
const QString &  label,
QColor  color,
bool  visible 
)

Set all the chunk properties in one step.

Definition at line 375 of file evodataviewer.cpp.

void setChunkRange ( int  ch,
double  mn,
double  mx 
)

set the range of the incoming data

Definition at line 264 of file evodataviewer.cpp.

void setChunkValue ( int  ch,
double  value 
)

set chunk value by chunck id

Definition at line 239 of file evodataviewer.cpp.

Referenced by EvoDataViewer::setChunkValue().

bool setChunkValue ( const QString &  name,
double  value 
)

set chunk value by chunk label

Definition at line 248 of file evodataviewer.cpp.

References EvoDataViewer::setChunkValue().

void setCurrentStep ( int  step)

it stores the current step for each value.

It is useful for retriving later the value and the step of a single point by clicking on the graph

Definition at line 320 of file evodataviewer.cpp.

void setStyle ( int  style)

set the drawing style 0: filled lines, 1: simple line

Definition at line 326 of file evodataviewer.cpp.


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