class SUPERVGUI_Main;
class SUPERVGUI_CanvasNodePrs;
+class SUIT_ResourceMgr;
class SUPERVGUI_CanvasNode : public QObject {
friend class SUPERVGUI_ManagePortsDlg;
Q_OBJECT
public:
- SUPERVGUI_CanvasNode(QObject* theParent, SUPERVGUI_Main* theMain, SUPERV_CNode theNode, bool theIsCell=false);
+ SUPERVGUI_CanvasNode( SUIT_ResourceMgr*, QObject*, SUPERVGUI_Main*, SUPERV_CNode theNode, bool theIsCell=false);
virtual ~SUPERVGUI_CanvasNode();
// done to ignore port update when node is removed
void setTrace(bool b);
void setVerbose(bool b);
- virtual void addInputPort();
- virtual void addOutputPort();
+ // mkr : IPAL9815 : commented the following code
+ /*virtual void addInputPort();
+ virtual void addOutputPort();*/
virtual void editFunction();
virtual void pastePort();
void managePorts();
protected:
// redefined by most of CanvasNode successors
virtual SUPERVGUI_CanvasNodePrs* createPrs() const;
+ SUIT_ResourceMgr* resMgr() const { return myMgr; }
void createPort(SUPERV::Port_ptr thePort);
void createStreamPort(SUPERV::StreamPort_ptr thePort);
SUPERVGUI_BrowseNodeDlg* myBrowseDlg;
bool isIgnore;
- int myDeleteItem;
protected slots:
virtual void onDestroyed(QObject*);
QString myLabelText;
SUPERVGUI_CanvasNodePrs* myPrs;
+ SUIT_ResourceMgr* myMgr;
bool myDestroyed;