Version: 6.3.1

src/VISUGUI/VisuGUI_ScalarBarDlg.h

Go to the documentation of this file.
00001 // Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE
00002 //
00003 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
00004 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
00005 //
00006 // This library is free software; you can redistribute it and/or
00007 // modify it under the terms of the GNU Lesser General Public
00008 // License as published by the Free Software Foundation; either
00009 // version 2.1 of the License.
00010 //
00011 // This library is distributed in the hope that it will be useful,
00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014 // Lesser General Public License for more details.
00015 //
00016 // You should have received a copy of the GNU Lesser General Public
00017 // License along with this library; if not, write to the Free Software
00018 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00019 //
00020 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00021 //
00022 
00023 //  VISU VISUGUI : GUI of VISU component
00024 //  File   : VisuGUI_ScalarBarDlg.h
00025 //  Author : Laurent CORNABE & Hubert ROLLAND
00026 //  Module : VISU
00027 //  $Header: /home/server/cvs/VISU/VISU_SRC/src/VISUGUI/VisuGUI_ScalarBarDlg.h,v 1.16.2.1.6.1.8.1 2011-06-02 06:00:22 vsr Exp $
00028 //
00029 #ifndef VISUGUI_SCALARBARDLG_H
00030 #define VISUGUI_SCALARBARDLG_H
00031 
00032 #include "VisuGUI_Prs3dDlg.h"
00033 
00034 class QTabWidget;
00035 
00036 
00037 class VisuGUI_InputPane;
00038 
00039 namespace VISU
00040 {
00041   class ScalarMap_i;
00042 }
00043 
00044 class VisuGUI_ScalarBarDlg : public VisuGUI_ScalarBarBaseDlg
00045 {
00046   Q_OBJECT;
00047 
00048  public:
00049   VisuGUI_ScalarBarDlg (SalomeApp_Module* theModule);
00050   ~VisuGUI_ScalarBarDlg();
00051 
00052   virtual void initFromPrsObject( VISU::ColoredPrs3d_i* thePrs,
00053                                   bool theInit );
00054 
00055   virtual int  storeToPrsObject(VISU::ColoredPrs3d_i* thePrs);
00056 
00057  protected:
00058   virtual QString        GetContextHelpFilePath();
00059 
00060  protected:
00061   VisuGUI_InputPane* myInputPane;
00062   QTabWidget* myTabBox;
00063 
00064   SALOME::GenericObjPtr<VISU::ScalarMap_i> myPrsCopy;
00065 };
00066 
00067 #endif // VISUGUI_SCALARBARDLG_H
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS