-// Copyright (C) 2011-2012 CEA/DEN, EDF R&D
+// Copyright (C) 2011-2014 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_CREATEYACS_H
#define MON_CREATEYACS_H
+#include "HOMARDGUI_Exports.hxx"
+
#include <SALOMEconfig.h>
#include <SalomeApp_Module.h>
#include CORBA_CLIENT_HEADER(HOMARD_Cas)
#include <CreateYACS.h>
-#include <QWidget>
+#include <QScrollArea>
-class MonCreateYACS : public QDialog, public Ui_CreateYACS
+class HOMARD_EXPORT MonCreateYACS : public QScrollArea, public Ui_CreateYACS
{
Q_OBJECT
public:
- MonCreateYACS( QWidget* parent, bool modal, HOMARD::HOMARD_Gen_var myHomardGen, QString CaseName);
+ MonCreateYACS( bool modal, HOMARD::HOMARD_Gen_var myHomardGen, QString CaseName);
virtual ~MonCreateYACS();
protected :
- MonCreateYACS( QWidget* parent, HOMARD::HOMARD_Gen_var myHomardGen, QString CaseName);
+ MonCreateYACS( HOMARD::HOMARD_Gen_var myHomardGen, QString CaseName);
QString _Name;
QString _aCaseName;
QString _aMeshFile;
int _Type;
+ int _MaxIter;
+ int _MaxNode;
+ int _MaxElem;
bool Chgt;
HOMARD::HOMARD_YACS_var aYACS;
- HOMARD::HOMARD_Cas_var aCase ;
HOMARD::HOMARD_Gen_var myHomardGen;
virtual void InitConnect();
+ virtual bool CreateOrUpdate();
public slots:
virtual void SetNewName();
virtual void SetScriptFile();
virtual void SetMeshFile();
- virtual void SetType(int Type);
+// virtual void SetType(int Type);
+ virtual void SetConstant();
+ virtual void SetVariable();
virtual void PushOnOK();
virtual bool PushOnApply();