1 // Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // Lesser General Public License for more details.
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 // VISU VISUGUI : GUI of VISU component
21 // File : VisuGUI_Panel.cxx
22 // Author : Oleg Uvarov
25 #ifndef VISUGUI_PANEL_H
26 #define VISUGUI_PANEL_H
28 #include <QtxDockWidget.h>
35 class VisuGUI_Panel : public QtxDockWidget
42 enum { OKBtn = 0x0001,
46 AllBtn = OKBtn | ApplyBtn | CloseBtn | HelpBtn
50 VisuGUI_Panel( const QString& theName,
52 QWidget* theParent = 0,
53 const int theBtns = AllBtn );
54 virtual ~VisuGUI_Panel();
56 virtual bool isValid( QString& theMessage );
61 virtual void onApply();
62 virtual void onClose();
63 virtual void onHelp();
65 virtual void onModuleActivated();
66 virtual void onModuleDeactivated();