-// File : SUPERVGUI_Notification.h
-// Created : 21 / 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_Notification.h
+// Author : Francis KLOSS
+// Module : SUPERV
#ifndef SUPERVGUI_Notification_H
#define SUPERVGUI_Notification_H
#include <qvbox.h>
class SUPERVGUI_Main;
-class SUPERVGUI_Node;
+class SUPERVGUI_CanvasNode;
class SUPERVGUI_NotifWidget;
class SUPERVGUI_Notification: public QDialog
class SUPERVGUI_NotifWidget : public QWidget
{
public:
- SUPERVGUI_NotifWidget( QWidget* parent, SUPERVGUI_Node* n );
+ SUPERVGUI_NotifWidget( QWidget* parent, SUPERVGUI_CanvasNode* n );
SUPERVGUI_NotifWidget( QWidget* parent, QString title );
~SUPERVGUI_NotifWidget();
- SUPERVGUI_Node* getNode() { return myNode; }
+ SUPERVGUI_CanvasNode* getNode() { return myNode; }
bool getWarning() { return myWarningCheck->isChecked(); }
bool getStep() { return myStepCheck->isChecked(); }
private:
QString myTitle;
- SUPERVGUI_Node* myNode;
+ SUPERVGUI_CanvasNode* myNode;
QCheckBox* myWarningCheck;
QCheckBox* myStepCheck;
QCheckBox* myTraceCheck;