X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSUPERVGUI%2FSUPERVGUI_CanvasNode.h;h=b1f629d2e0ddd26c74de5b6b39c683477ffd18c6;hb=cbb0219fe6d6bf11f98f2306c2855fef1eaa2d44;hp=9cf391c4bbdf662b56165edeff2a96730b20014c;hpb=b7b531f894fd0a967071ce2b05e0ced7b4743f3b;p=modules%2Fsuperv.git diff --git a/src/SUPERVGUI/SUPERVGUI_CanvasNode.h b/src/SUPERVGUI/SUPERVGUI_CanvasNode.h index 9cf391c..b1f629d 100644 --- a/src/SUPERVGUI/SUPERVGUI_CanvasNode.h +++ b/src/SUPERVGUI/SUPERVGUI_CanvasNode.h @@ -12,15 +12,18 @@ using namespace std; #include "SUPERVGUI_Def.h" #include "SUPERVGUI_BrowseNodeDlg.h" +#include 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 @@ -61,6 +64,7 @@ class SUPERVGUI_CanvasNode : public QObject { SUPERV_Port createInPort(); SUPERV_Port createOutPort(); + QStringList getPortsNamesIN(SUPERV_INode theNode, bool theInputPorts); virtual QPopupMenu* getPopupMenu(QWidget* theParent); @@ -70,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(); @@ -89,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; @@ -99,6 +105,7 @@ class SUPERVGUI_CanvasNode : public QObject { SUPERVGUI_BrowseNodeDlg* myBrowseDlg; bool isIgnore; + int myDeleteItem; protected slots: virtual void onDestroyed(QObject*);