-// File : SUPERVGUI_Array.h
-// Created : 08 / 02 / 2002
-// Author : Francis KLOSS
-// Project : SALOME
-// Module : SUPERVGUI
-// Copyright : CEA
+// SUPERV SUPERVGUI : GUI for Supervisor component
+//
+// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org
+//
+//
+//
+// File : SUPERVGUI_Array.h
+// Author : Francis KLOSS
+// Module : SUPERV
#ifndef SUPERVGUI_Array_H
#define SUPERVGUI_Array_H
#include "SUPERVGUI_Def.h"
#include <qpopupmenu.h>
#include "SUPERVGUI_Node.h"
+#include "SUPERVGUI_ControlNode.h"
#include "SUPERVGUI_View.h"
#include "SUPERVGUI_Label.h"
void showAll() {};
void updateStudy();
+ SUPERVGUI_Label* getTitle() { return myTitle; }
+ SUPERVGUI_Label* getComponent() { return component; }
+ void setPairCell(SUPERVGUI_Cell* thePairCell);
+ SUPERVGUI_Cell* getPairCell();
public slots:
virtual void rename();
- private:
+ protected:
+ SUPERVGUI_Cell* myPairCell; //for ControlNodes
SUPERVGUI_Label* myTitle;
SUPERVGUI_Node* guiNode;
+
+ private:
SUPERVGUI_Label* component;
//SUPERVGUI_Label* service;
int myShowItem;
+ bool myIsControl;
+ bool myIsStart;
+};
+
+class SUPERVGUI_CellEndControl: public SUPERVGUI_Cell {
+ Q_OBJECT
+
+ public:
+ SUPERVGUI_CellEndControl(QWidget* parent, SUPERVGUI_Main* m, SUPERV_CNode n, SUPERVGUI_Cell* theStart);
+ virtual ~SUPERVGUI_CellEndControl();
};
#endif