#include <SDAGView.h>
Inherits SView.
Inheritance diagram for SDAGView:

Public Slots | |
| bool | load () |
Signals | |
| void | numberOfNodes (int) |
| void | numberOfEdges (int) |
Public Methods | |
| SDAGView (STaskSystem &ts, QWidget *parent=0, QString name=0) | |
| ~SDAGView () | |
| void | setPViewEl (SViewEl *pViewEl) |
| virtual void | repaint (QRect rect) |
| void | setTaskSystem (STaskSystem *ts) |
| STaskSystem & | getTaskSystem () |
Protected Methods | |
| virtual void | mousePressEvent (QMouseEvent *) |
| virtual void | mouseReleaseEvent (QMouseEvent *) |
| virtual void | mouseMoveEvent (QMouseEvent *) |
| virtual void | paintEvent (QPaintEvent *ev) |
Protected Attributes | |
| QPixmap * | _pCanvas |
|
||||||||||||||||
|
Constructs a new SDAGView. |
|
|
|
|
|
|
|
|
Calls the load routine of the dagview element. |
|
|
Calls the corresponding method of the dagview element for handling the mouse move event. |
|
|
Calls the corresponding method of the dagview element for handling the mouse press event. |
|
|
Calls the corresponding method of the dagview element for handling the mouse release event. |
|
|
Signal for notifying the parent, that the number of edges has changed. This signal is connected to the corresponding signal of the view element. |
|
|
Signal for notifying the parent, that the number of nodes has changed. This signal is connected to the corresponding signal of the view element. |
|
|
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.
|
|
|
|
1.2.18