-// 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;
void removePoint(int thePnt);
+ void setVisible(bool theVisible);
+
static void setOrthoMode(bool theIsOrtho)
{ OrthoMode = theIsOrtho; };
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;
// Selection of Link
bool myIsSelected;
+
+ bool myIsVisible;
static bool OrthoMode;
static bool LinkIsMoving;