class SUPERVGUI_CanvasNodePrs;
class SUPERVGUI_CanvasPortPrs;
+class SUIT_ResourceMgr;
class SUPERVGUI_CanvasHookPrs : public QCanvasEllipse
{
public:
class SUPERVGUI_CanvasNodePrs: public QCanvasPolygonalItem {
public:
- SUPERVGUI_CanvasNodePrs(QCanvas* theCanvas, SUPERVGUI_CanvasNode* theNode, bool theCellPrs=false);
+ SUPERVGUI_CanvasNodePrs( SUIT_ResourceMgr*, QCanvas*, SUPERVGUI_CanvasNode*, bool theCellPrs=false);
virtual ~SUPERVGUI_CanvasNodePrs();
SUPERVGUI_CanvasNode* getNode() const { return myNode; }
virtual void drawTitleShape(QPainter& thePainter);
virtual void drawStatusShape(QPainter& thePainter);
+ SUIT_ResourceMgr* resMgr() const { return myMgr; }
bool myPortVisible;
private:
SUPERVGUI_CanvasNode* myNode;
+ SUIT_ResourceMgr* myMgr;
int myWidth;