Salome HOME
A new dialog class for edition of Ports of an InLine nodes is introduced. This funct...
[modules/superv.git] / src / SUPERVGUI / SUPERVGUI_Link.h
index fe79288bf8ed6b3edda6859ae3d5d2c96acb45a2..06d5ee227a94baac1434479bb9366b140dc218d9 100644 (file)
@@ -1,16 +1,22 @@
-//  File      : SUPERVGUI_Link.h
-//  Created   : 20 / 12 / 2002
-//  Author    : Vitaly SMETANNIKOV
-//  Project   : SALOME 
-//  Module    : SUPERVGUI
-//  Copyright : Open CASCADE 
+//  SUPERV SUPERVGUI : GUI for Supervisor component
+//
+//  Copyright (C) 2003  CEA/DEN, EDF R&D
+//
+//
+//
+//  File   : SUPERVGUI_Link.h
+//  Author : Vitaly SMETANNIKOV
+//  Module : SUPERV
 
 #ifndef SUPERVGUI_Link_H
 #define SUPERVGUI_Link_H
 
+using namespace std;
+
 #include "SUPERVGUI_Def.h"
 #include "SUPERVGUI_Port.h"
-#include <qvaluevector.h>
+//_CS_PhB BUG QT erreur de compilation #include <qvaluevector.h>
+#include <vector.h>
 
 class SUPERVGUI_Graph;
 
@@ -79,6 +85,8 @@ public:
 
   void removePoint(int thePnt);
 
+  void setVisible(bool theVisible);
+
   static void setOrthoMode(bool theIsOrtho)
     { OrthoMode = theIsOrtho; };
   
@@ -111,7 +119,9 @@ private:
   SUPERV_Link myEngine;
 
   QPoint myPrevPoint; // used for sketching only
-  QValueVector<QPoint> myTmpPoints;
+  //_CS_PhB BUG QT erreur de compilation   QValueVector<QPoint> myTmpPoints;
+  vector<QPoint> myTmpPoints;
+
   SUPERVGUI_Port* myStartPort;
 
   QPen myTmpPen;
@@ -127,6 +137,8 @@ private:
 
   // Selection of Link
   bool myIsSelected;
+
+  bool myIsVisible;
   
   static bool OrthoMode;
   static bool LinkIsMoving;