2020-05-25 20:14:06 +05:00
|
|
|
// Copyright (C) 2011-2020 CEA/DEN, EDF R&D
|
|
|
|
//
|
|
|
|
// 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, or (at your option) any later version.
|
|
|
|
//
|
|
|
|
// 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.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
|
|
|
//
|
|
|
|
|
|
|
|
// SMESH SMESHGUI : GUI for the adaptation in the SMESH component
|
|
|
|
// File : SMESHGUI_AdaptDlg.h
|
|
|
|
// Author : Gérald NICOLAS, EDF
|
|
|
|
//
|
|
|
|
#ifndef SMESHGUI_ADAPTDLG_H
|
|
|
|
#define SMESHGUI_ADAPTDLG_H
|
|
|
|
|
2020-05-26 13:46:55 +05:00
|
|
|
// SMESH includes
|
|
|
|
#include "SMESH_SMESHGUI.hxx"
|
2020-05-25 20:14:06 +05:00
|
|
|
|
2020-05-26 13:46:55 +05:00
|
|
|
// Qt includes
|
|
|
|
#include <QDialog>
|
2020-05-25 20:14:06 +05:00
|
|
|
|
2020-05-26 13:46:55 +05:00
|
|
|
// IDL includes
|
2020-05-25 20:14:06 +05:00
|
|
|
#include <SALOMEconfig.h>
|
2020-05-26 13:46:55 +05:00
|
|
|
#include CORBA_SERVER_HEADER(SMESH_Mesh)
|
2020-06-04 20:41:47 +05:00
|
|
|
|
2020-05-26 13:46:55 +05:00
|
|
|
class SMESHGUI;
|
2020-05-25 20:14:06 +05:00
|
|
|
|
|
|
|
//=================================================================================
|
|
|
|
// class : SMESHGUI_AdaptDlg
|
|
|
|
// purpose :
|
|
|
|
//=================================================================================
|
2020-06-09 14:25:48 +05:00
|
|
|
class SMESHGUI_EXPORT SMESHGUI_AdaptDlg : public QWidget
|
2020-05-25 20:14:06 +05:00
|
|
|
{
|
|
|
|
public:
|
2020-05-26 13:46:55 +05:00
|
|
|
SMESHGUI_AdaptDlg( SMESHGUI*,
|
|
|
|
int theCommandID,
|
|
|
|
SMESH::SMESH_Mesh_ptr = SMESH::SMESH_Mesh::_nil() );
|
2020-05-25 20:14:06 +05:00
|
|
|
~SMESHGUI_AdaptDlg();
|
2020-05-27 20:01:35 +05:00
|
|
|
|
2020-06-09 14:25:48 +05:00
|
|
|
void action (int theCommandID);
|
2020-05-27 14:43:49 +05:00
|
|
|
virtual bool OnGUIEvent (int theCommandID);
|
|
|
|
|
2020-06-04 20:41:47 +05:00
|
|
|
// static ADAPT::ADAPT_Gen_var InitAdaptGen(SalomeApp_Application*);
|
2020-05-28 17:22:10 +05:00
|
|
|
|
2020-05-25 20:14:06 +05:00
|
|
|
public slots:
|
|
|
|
|
2020-05-26 13:46:55 +05:00
|
|
|
protected slots:
|
2020-05-25 20:14:06 +05:00
|
|
|
|
2020-05-26 13:46:55 +05:00
|
|
|
private slots:
|
2020-05-25 20:14:06 +05:00
|
|
|
|
|
|
|
private:
|
2020-05-26 13:46:55 +05:00
|
|
|
|
2020-06-09 17:13:29 +05:00
|
|
|
// void recupPreferences();
|
2020-05-26 13:46:55 +05:00
|
|
|
SMESHGUI* mySMESHGUI; /* Current SMESHGUI object */
|
2020-05-28 17:22:10 +05:00
|
|
|
|
|
|
|
QString _ObjectName;
|
|
|
|
QString _LanguageShort ;
|
|
|
|
int _PublisMeshIN ;
|
|
|
|
int _PublisMeshOUT ;
|
|
|
|
int _YACSMaxIter ;
|
|
|
|
int _YACSMaxNode ;
|
|
|
|
int _YACSMaxElem ;
|
|
|
|
int _YACSTypeTest ;
|
2020-05-25 20:14:06 +05:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // SMESHGUI_ADAPTDLG_H
|