1 // Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
3 // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
6 // This library is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation; either
9 // version 2.1 of the License.
11 // This library is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // Lesser General Public License for more details.
16 // You should have received a copy of the GNU Lesser General Public
17 // License along with this library; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
23 // VISU VISUGUI : GUI of VISU component
24 // File : VisuGUI_CacheDlg.h
25 // Author : Oleg UVAROV
28 #ifndef VISUGUI_CACHEDLG_H
29 #define VISUGUI_CACHEDLG_H
31 #include "SALOMEconfig.h"
32 #include CORBA_SERVER_HEADER(VISU_Gen)
38 class SalomeApp_DoubleSpinBox;
40 class SalomeApp_Module;
42 class VisuGUI_CacheDlg : public QDialog
47 VisuGUI_CacheDlg( VISU::ColoredPrs3dCache_var aCache,
48 SalomeApp_Module* theModule );
49 virtual ~VisuGUI_CacheDlg();
52 bool isLimitedMemory();
53 double getLimitedMemory();
56 virtual void accept();
61 VISU::ColoredPrs3dCache_var myCache;
63 QRadioButton* myMimimalMemoryButton;
64 QRadioButton* myLimitedMemoryButton;
65 SalomeApp_DoubleSpinBox* myLimitedMemory;
67 QLineEdit* myUsedMemory;
68 QLineEdit* myFreeMemory;