Version: 8.3.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
EditionSalomeNode.hxx
Go to the documentation of this file.
1
// Copyright (C) 2006-2016 CEA/DEN, EDF R&D
2
//
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.
7
//
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.
12
//
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
16
//
17
// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18
//
19
20
#ifndef _EDITIONSALOMENODE_HXX_
21
#define _EDITIONSALOMENODE_HXX_
22
23
#include "
EditionElementaryNode.hxx
"
24
#include "
FormContainerDecorator.hxx
"
25
#include <QHBoxLayout>
26
#include <QLabel>
27
#include <QLineEdit>
28
29
class
FormComponent
;
30
class
FormContainer
;
31
32
namespace
YACS
33
{
34
namespace
ENGINE
35
{
36
class
ServiceNode;
37
}
38
39
namespace
HMI
40
{
41
class
PropertyEditor;
42
// ports en cablage plus initialisation seulement
43
// choix de l'instance de composant
44
// panneau depliable instance de composant
45
// panneau depliable container
46
47
class
EditionSalomeNode
:
public
EditionElementaryNode
48
{
49
Q_OBJECT
50
51
public
:
52
EditionSalomeNode
(
Subject
* subject,
53
QWidget
* parent = 0,
54
const
char
* name = 0);
55
virtual
~EditionSalomeNode
();
56
virtual
void
update
(
GuiEvent
event,
int
type,
Subject
* son);
57
virtual
void
synchronize
();
58
59
public
slots:
60
virtual
void
fillComponentPanel
();
61
virtual
void
fillContainerPanel
();
62
virtual
void
changeInstance
(
int
index);
63
virtual
void
changeContainer
(
int
index);
64
virtual
void
changeHost
(
int
index);
65
virtual
void
onApply
();
66
virtual
void
onCancel
();
67
68
protected
:
69
PropertyEditor
*
_propeditor
;
70
FormComponent
*
_wComponent
;
71
FormContainerDecorator
*
_wContainer
;
72
QHBoxLayout *
_hbl_method
;
73
QLabel *
_la_method
;
74
QLineEdit
*
_le_method
;
75
YACS::ENGINE::ServiceNode
*
_servNode
;
76
};
77
}
78
}
79
#endif
src
genericgui
EditionSalomeNode.hxx
Copyright © 2006-2017 CEA/DEN, EDF R&D