X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSUPERVGUI%2FSUPERVGUI_CanvasNode.h;h=b1f629d2e0ddd26c74de5b6b39c683477ffd18c6;hb=cbb0219fe6d6bf11f98f2306c2855fef1eaa2d44;hp=f33d6cee9300df4333b4123599d6297ceaf5b77d;hpb=e4b2f8f88a294e451364a8b84d170a59dcbb5d3f;p=modules%2Fsuperv.git diff --git a/src/SUPERVGUI/SUPERVGUI_CanvasNode.h b/src/SUPERVGUI/SUPERVGUI_CanvasNode.h index f33d6ce..b1f629d 100644 --- a/src/SUPERVGUI/SUPERVGUI_CanvasNode.h +++ b/src/SUPERVGUI/SUPERVGUI_CanvasNode.h @@ -18,10 +18,12 @@ class SUPERVGUI_Main; class SUPERVGUI_CanvasNodePrs; class SUPERVGUI_CanvasNode : public QObject { + friend class SUPERVGUI_ManagePortsDlg; + Q_OBJECT public: - SUPERVGUI_CanvasNode(QObject* theParent, SUPERVGUI_Main* theMain, SUPERV_CNode theNode); + SUPERVGUI_CanvasNode(QObject* theParent, SUPERVGUI_Main* theMain, SUPERV_CNode theNode, bool theIsCell=false); virtual ~SUPERVGUI_CanvasNode(); // done to ignore port update when node is removed @@ -72,8 +74,9 @@ class SUPERVGUI_CanvasNode : public QObject { void suspendResume(); void kill(); void stopRestart(); - void configure(); - void showPython(); + + //asv: 13.12.04: ??? --> void configure(); + //asv: 13.12.04: ??? --> void showPython(); virtual void rename(); virtual void remove(); @@ -91,6 +94,7 @@ class SUPERVGUI_CanvasNode : public QObject { virtual void addInputPort(); virtual void addOutputPort(); virtual void editFunction(); + void managePorts(); protected: virtual SUPERVGUI_CanvasNodePrs* createPrs() const; @@ -101,6 +105,7 @@ class SUPERVGUI_CanvasNode : public QObject { SUPERVGUI_BrowseNodeDlg* myBrowseDlg; bool isIgnore; + int myDeleteItem; protected slots: virtual void onDestroyed(QObject*);