#include <SMachineView.h>
Inherits SView, and SObserver.
Inheritance diagram for SMachineView:

Public Methods | |
| SMachineView (STaskSystem &ts, int mach, QWidget *parent=0, const char *name=0, WFlags f=0) | |
| ~SMachineView () | |
| void | setPViewEl (SViewEl *pViewEl) |
| virtual void | repaint (QRect rect) |
| void | setTaskSystem (STaskSystem *ts) |
| STaskSystem & | getTaskSystem () |
| virtual void | update (const SEvent &event)=0 |
Protected Methods | |
| virtual void | update (const class SEvent &) |
| virtual void | paintEvent (QPaintEvent *ev) |
Protected Attributes | |
| QPixmap * | _pCanvas |
|
||||||||||||||||||||||||
|
Constructs a new machine view.
|
|
|
|
|
|
|
|
|
Simply calls repaint!. |
|
|
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
|
|
|
|
|
|
Set the tasksystem for this view.
|
|
|
Here the class is informed of an event, when an observed component has sent an event by SObservable::notifyObservers()
Implemented in SGanttLog, SLogger, SJobArray, and STaskSystem. |
|
|
Gets machine events. |
|
|
|
1.2.18