Salome HOME
Bug fix: don't set "Loading" state for MacroNodes in InitialState() function (called...
[modules/superv.git] / src / SUPERVGUI / SUPERVGUI_CanvasNode.h
index f33d6cee9300df4333b4123599d6297ceaf5b77d..b1f629d2e0ddd26c74de5b6b39c683477ffd18c6 100644 (file)
@@ -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*);