1 // Copyright (C) 2006-2014 CEA/DEN, EDF R&D
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, or (at your option) any later version.
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 #ifndef _FORMADVPARAMCONTAINER_HXX_
21 #define _FORMADVPARAMCONTAINER_HXX_
23 #include "ui_FormAdvParamContainer.h"
37 class FormAdvParamContainer : public QWidget, public Ui::fm_advparamcontainer
42 FormAdvParamContainer(std::map<std::string, std::string>& prop, QWidget *parent = 0);
43 virtual ~FormAdvParamContainer();
45 void FillPanel(const std::string& resource, YACS::ENGINE::Container *container);
46 virtual void onModified();
47 void updateResource(const std::string &resource);
48 void setModeText(const std::string& mode);
51 // void onModifyName(const QString &text);
52 void onModifyResource(const QString &text);
53 void onModifyPolicy(const QString &text);
54 void onModifyWorkDir(const QString &text);
55 void onModifyContName(const QString &text);
56 void onModifyOS(const QString &text);
57 void onModifyParLib(const QString &text);
58 void onModifyIsMPI(bool isMpi);
59 void onModifyMem(const QString &text);
60 void onModifyClock(const QString &text);
61 void onModifyNodes(const QString &text);
62 void onModifyProcs(const QString &text);
63 void onModifyCompos(const QString &text);
64 void onModifyProcPar(const QString &text);
65 void onModifyResourceName(const QString &text);
66 void onModifyHostName(const QString &text);
67 void onModifyProcRes(const QString &text);
68 void onModifyCompoList(const QString &text);
69 void onModifyResourceList(const QString &text);
74 YACS::ENGINE::Container *_container;
75 std::map<std::string, std::string>& _properties;