#include <SMeshTopViewEl.h>
Inherits STopViewEl.
Inheritance diagram for SMeshTopViewEl:

Public Types | |
| enum | SMarkStyles { STANDARD, MARKED, MARKED1, MARKED2, MARKED3, MARKED4 } |
Public Methods | |
| SMeshTopViewEl (SJobViewEl &proto, SMeshTopology &top) | |
| SMeshTopViewEl (SJobViewEl &proto, SMeshTopology &top, STaskSystem &ts) | |
| virtual void | paint (QPaintDevice *pd, QRect rect) |
| void | load () |
| QRegion | getRegion () |
| virtual void | setView (SView &view) |
| virtual bool | isAffectedBy (QMouseEvent *ev) |
| virtual bool | mouseEvent (QMouseEvent *ev) |
| virtual void | setPos (QPoint p) |
| virtual const QRect & | getBoundBox () const |
| virtual void | update (const SEvent &event)=0 |
Protected Methods | |
| virtual void | update (const class SEvent &) |
| SJobViewEl * | getClone () |
| QColor | lighterGray () |
| void | draw3DRect (QPainter &p, int x, int y, int w, int h) |
| void | draw3DRect (QPainter &p, const QRect &r) |
| SView & | getView () |
| void | requestRepaint () |
| void | requestRepaint (const QRect &rect) |
Protected Attributes | |
| STaskSystem * | _pTaskSystem |
|
|
Mark styles influence the style how the ViewEl is displayed. The styles are stored in SVis...-objects. Identical mark styles should produce similar (NOT HARDCODED) effects in different ViewEls. |
|
||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||||||||||||||
|
paint a 3D Rectangle use current Brush as color |
|
|
Reimplemented in SDAGEdgeViewEl, SDAGNodeViewEl, and SDAGViewEl. |
|
|
|
|
|
Implements SViewEl. |
|
|
Get the view which is responsible for this view element. This is useful for setting new cursors etc. .
|
|
|
The isAffectedBy function checks if an element is affected by a particular mouse event.
Reimplemented in SDAGViewEl. |
|
|
|
|
|
|
|
|
This virtual function handles the mouse event. You can feed it with the captured mouse event from your view.
Reimplemented in SDAGViewEl. |
|
||||||||||||
|
The paint function paints the element in the paintdevice.
Implements SViewEl. |
|
|
|
|
|
If something in the view element has changed and you want to make the changes visible, then request a repaint for the view element. CAUTION: repaints everything! |
|
|
Here you can set the position of the view element.
Reimplemented in SDAGNodeViewEl, and SDAGViewEl. |
|
|
Set the view which accepts the repaint-requests.
Reimplemented in SDAGViewEl. |
|
|
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. |
|
|
This update function gets the project specific events for updating the view element. Reimplemented from SViewEl. |
|
|
@supplierCardinality 1 @label displays part of SHOULDN'T BE USED!! WILL BE REMOVED (AH) |
1.2.18