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

SJobPropView Class Reference

#include <SJobPropView.h>

Inherits SView, and SObserver.

Inheritance diagram for SJobPropView:

Inheritance graph
[legend]
List of all members.

Public Methods

 SJobPropView (STaskSystem &ts, int job, QWidget *parent=NULL, const char *name="")
 ~SJobPropView ()
virtual QSize sizeHint ()
void setPViewEl (SViewEl *pViewEl)
virtual void repaint (QRect rect)
void setTaskSystem (STaskSystem *ts)
STaskSystemgetTaskSystem ()

Protected Methods

virtual void update (const class SEvent &)
virtual void paintEvent (QPaintEvent *ev)

Protected Attributes

QPixmap * _pCanvas

Detailed Description

This view shows details of a given sjob. It shows properties like weight, operation, processing time, partial processing time etc. . With this view you can also set some of the properties of the job. It is displayed as long as the corresponding job is alive. If the job is deleted, the view closes itself ( to avoid inconsistencies ). This is a "pure qt widget" view, i.e. there is no view element.


Constructor & Destructor Documentation

SJobPropView::SJobPropView STaskSystem   ts,
int    job,
QWidget   parent = NULL,
const char *    name = ""
 

Constructs a new job property view.

Parameters:
job  is the number of the sjob, that is displayed by this view.

SJobPropView::~SJobPropView   [inline]
 


Member Function Documentation

STaskSystem & SView::getTaskSystem   [inherited]
 

Returns:
the tasksystem for this view.

void SView::paintEvent QPaintEvent *    ev [protected, virtual, inherited]
 

Simply calls repaint!.

void SView::repaint QRect    rect [virtual, inherited]
 

This function is called from paintEvent. Don't call QWidget::repaint() or something like that in this function (endless loop !).

Default implementation: paint _pViewEl if it's not NULL

Parameters:
rect  The rect where the repaint should happen.

void SView::setPViewEl SViewEl   pViewEl [inline, inherited]
 

void SView::setTaskSystem STaskSystem   ts [inherited]
 

Set the tasksystem for this view.

Parameters:
ts  pointer to the current tasksystem.

virtual QSize SJobPropView::sizeHint   [inline, virtual]
 

This function gives a hint for the ideal size of this widget.

Returns:
the right size for this widget.

void SJobPropView::update const class SEvent   [protected, virtual]
 

Gets event about the dsiplayed job.


Member Data Documentation

QPixmap* SView::_pCanvas [protected, inherited]
 


The documentation for this class was generated from the following files:
Generated on Thu May 22 16:50:46 2003 for Sketch-it! by doxygen1.2.18