Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Examples  

YTimingHandler Class Reference

#include <timinghandler.h>

Inheritance diagram for YTimingHandler:

Inheritance graph
[legend]
Collaboration diagram for YTimingHandler:

Collaboration graph
[legend]
List of all members.

Signals

void NewTimingInserted (YTimingInfo *ti)

Public Member Functions

 YTimingHandler (QWidget *p)
int InsertTiming (YTimings *t)
 Insert a timing diagram and append it to the end of the list. This is used during initialiazation of the scrollview.

virtual void ClearResults ()
 Remove all results from handler (e.g. if logfile was changed).

virtual int PostCreate ()
 This function must be called after inserting all timing diagrams.

YPainterGetPainter ()
QList< YTimingInfo > * GetTimingInfos ()
void ViewScrolled (YTimingScrollView *tsc, int posx, int posy)
void ZoomIn ()
void ZoomOut ()
virtual void UpdateViews ()=0
 date has changed. Maybe new zoomfactor


Private Member Functions

void UpdateTimings ()

Private Attributes

Q_OBJECT QWidget * parent
YPainter ypainter
QList< YTimingInfotiminginfos
unsigned int scrollcount
 This variable counts the number of calls to function ViewScrolled to prevent recursions.

YASA_TIME absmaxtime

Detailed Description

The YTimingHandler is handling the timing diagram instances in a list and provides information to the different versions of the YTimingScrollViews


Constructor & Destructor Documentation

YTimingHandler::YTimingHandler QWidget *    p [inline]
 


Member Function Documentation

virtual void YTimingHandler::ClearResults   [inline, virtual]
 

Remove all results from handler (e.g. if logfile was changed).

Implements YResultHandler.

YPainter* YTimingHandler::GetPainter   [inline]
 

QList<YTimingInfo>* YTimingHandler::GetTimingInfos   [inline]
 

int YTimingHandler::InsertTiming YTimings   timings
 

Insert a timing diagram and append it to the end of the list. This is used during initialiazation of the scrollview.

Insert a timing widget to the current scorllview Attention: The timings instance are created only. In this function timings->InitInstance() will be called!

void YTimingHandler::NewTimingInserted YTimingInfo   ti [signal]
 

int YTimingHandler::PostCreate   [virtual]
 

This function must be called after inserting all timing diagrams.

Check if there are one or more valid timings

Reimplemented from YResultHandler.

void YTimingHandler::UpdateTimings   [private]
 

Redraw all timings

virtual void YTimingHandler::UpdateViews   [pure virtual]
 

date has changed. Maybe new zoomfactor

Implemented in YDiagramNameTimingHandler.

void YTimingHandler::ViewScrolled YTimingScrollView   tsv,
int    posx,
int    posy
 

This is a slot which is called after the scrollview tsv is scrolled. It checks a recursion loop

void YTimingHandler::ZoomIn  
 

void YTimingHandler::ZoomOut  
 


Member Data Documentation

YASA_TIME YTimingHandler::absmaxtime [private]
 

Q_OBJECT QWidget* YTimingHandler::parent [private]
 

unsigned int YTimingHandler::scrollcount [private]
 

This variable counts the number of calls to function ViewScrolled to prevent recursions.

QList<YTimingInfo> YTimingHandler::timinginfos [private]
 

YPainter YTimingHandler::ypainter [private]
 


The documentation for this class was generated from the following files:
Generated on Fri Feb 14 00:05:58 2003 for Yasa by doxygen1.3-rc3