-// Copyright (C) 2011-2013 CEA/DEN, EDF R&D
+// Copyright (C) 2011-2022 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.
+// 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
#ifndef MON_CREATEZONE_H
#define MON_CREATEZONE_H
+#include "HOMARDGUI_Exports.hxx"
#include <SALOMEconfig.h>
#include <SalomeApp_Module.h>
#include CORBA_CLIENT_HEADER(SALOMEDS_Attributes)
#include CORBA_CLIENT_HEADER(HOMARD_Gen)
-#include <CreateZone.h>
+#include "ui_CreateZone.h"
#include <QDialog>
class MonCreateHypothesis;
-class MonCreateZone : public QDialog, public Ui_CreateZone
+class HOMARD_EXPORT MonCreateZone : public QDialog, public Ui_CreateZone
{
Q_OBJECT
MonCreateHypothesis * _parent;
- QString _aZoneName;
+ QString _Name;
QString _aCaseName;
int _Orient;
int _Type;
double _Xcentre, _Ycentre, _Zcentre, _Rayon ;
- double _ZoneXcentre, _ZoneYcentre, _ZoneZcentre, _ZoneRayon ;
double _Xmin, _Xmax, _Xincr, _Ymin, _Ymax, _Yincr, _Zmin, _Zmax, _Zincr ;
+ double _ZoneXcentre, _ZoneYcentre, _ZoneZcentre, _ZoneRayon ;
double _ZoneXmin, _ZoneXmax, _ZoneYmin, _ZoneYmax, _ZoneZmin, _ZoneZmax ;
double _Xaxis, _Yaxis, _Zaxis, _RayonInt, _Haut ;
double _ZoneXaxis, _ZoneYaxis, _ZoneZaxis, _ZoneRayonInt, _ZoneHaut ;
double _DMax ;
-
bool Chgt;
HOMARD::HOMARD_Zone_var aZone ;
- HOMARD::HOMARD_Gen_var _myHomardGen;
+ HOMARD::HOMARD_Gen_var myHomardGen;
virtual void InitConnect();
virtual void InitValZone();
virtual void InitMinMax();
- virtual void SetNewZoneName();
+ virtual void SetNewName();
virtual bool CreateOrUpdateZone();
public slots: