Version: 8.3.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
YACS
Introduction
Features
Packages
Building
TODOs
Base classes
Engine
SALOME Runtime
XML file loader
GUI design
Python wrapping
PMMLlib C++ examples
Configuring and Installing PMML from sources
PMMLlib
PMMLlib Python examples
Modules
Namespaces
Classes
Files
File List
idl
src
bases
engine
genericgui
CaseSwitch.cxx
CaseSwitch.hxx
CatalogWidget.cxx
CatalogWidget.hxx
EditionBloc.cxx
EditionBloc.hxx
EditionComponent.cxx
EditionComponent.hxx
EditionContainer.cxx
EditionContainer.hxx
EditionControlLink.cxx
EditionControlLink.hxx
EditionDataLink.cxx
EditionDataLink.hxx
EditionDataType.cxx
EditionDataType.hxx
EditionElementaryNode.cxx
EditionElementaryNode.hxx
EditionForEachLoop.cxx
EditionForEachLoop.hxx
EditionInputPort.cxx
EditionInputPort.hxx
EditionLoop.cxx
EditionLoop.hxx
EditionNode.cxx
EditionNode.hxx
EditionOptimizerLoop.cxx
EditionOptimizerLoop.hxx
EditionOutNode.cxx
EditionOutNode.hxx
EditionOutputPort.cxx
EditionOutputPort.hxx
EditionPresetNode.cxx
EditionPresetNode.hxx
EditionProc.cxx
EditionProc.hxx
EditionPyFunc.cxx
EditionPyFunc.hxx
EditionSalomeNode.cxx
EditionSalomeNode.hxx
EditionScript.cxx
EditionScript.hxx
EditionStudyInNode.cxx
EditionStudyInNode.hxx
EditionStudyOutNode.cxx
EditionStudyOutNode.hxx
EditionSwitch.cxx
EditionSwitch.hxx
EditionWhile.cxx
EditionWhile.hxx
FormAdvParamContainer.cxx
FormAdvParamContainer.hxx
FormComponent.cxx
FormComponent.hxx
FormContainer.cxx
FormContainer.hxx
FormContainerBase.cxx
FormContainerBase.hxx
FormContainerDecorator.cxx
FormContainerDecorator.hxx
FormEachLoop.cxx
FormEachLoop.hxx
FormEditItem.cxx
FormEditItem.hxx
FormEditTree.cxx
FormEditTree.hxx
FormHPContainer.cxx
FormHPContainer.hxx
FormLoop.cxx
FormLoop.hxx
FormOptimizerLoop.cxx
FormOptimizerLoop.hxx
FormSchemaView.cxx
FormSchemaView.hxx
FormUndoRedo.cxx
FormUndoRedo.hxx
GenericGui.cxx
GenericGui.hxx
GenericGuiExport.hxx
GraphicsView.cxx
GraphicsView.hxx
GuiEditor.cxx
GuiEditor.hxx
GuiExecutor.cxx
GuiExecutor.hxx
GuiObserver_i.cxx
GuiObserver_i.hxx
ItemEdition.cxx
ItemEdition.hxx
ItemMimeData.cxx
ItemMimeData.hxx
LinkAStar.cxx
LinkAStar.hxx
LinkMatrix.cxx
LinkMatrix.hxx
ListJobs_GUI.cxx
ListJobs_GUI.hxx
LogViewer.cxx
LogViewer.hxx
Menus.cxx
Menus.hxx
Message.cxx
Message.hxx
PropertyEditor.cxx
PropertyEditor.hxx
QtGuiContext.cxx
QtGuiContext.hxx
Resource.cxx
Resource.hxx
Scene.cxx
Scene.hxx
SceneBlocItem.cxx
SceneBlocItem.hxx
SceneComposedNodeItem.cxx
SceneComposedNodeItem.hxx
SceneCtrlInPortItem.cxx
SceneCtrlInPortItem.hxx
SceneCtrlLinkItem.cxx
SceneCtrlLinkItem.hxx
SceneCtrlOutPortItem.cxx
SceneCtrlOutPortItem.hxx
SceneCtrlPortItem.cxx
SceneCtrlPortItem.hxx
SceneDataPortItem.cxx
SceneDataPortItem.hxx
SceneDSLinkItem.cxx
SceneDSLinkItem.hxx
SceneElementaryNodeItem.cxx
SceneElementaryNodeItem.hxx
SceneHeaderItem.cxx
SceneHeaderItem.hxx
SceneHeaderNodeItem.cxx
SceneHeaderNodeItem.hxx
SceneInPortItem.cxx
SceneInPortItem.hxx
SceneItem.cxx
SceneItem.hxx
SceneLinkItem.cxx
SceneLinkItem.hxx
SceneNodeItem.cxx
SceneNodeItem.hxx
SceneObserverItem.cxx
SceneObserverItem.hxx
SceneOutPortItem.cxx
SceneOutPortItem.hxx
ScenePortItem.cxx
ScenePortItem.hxx
SceneProcItem.cxx
SceneProcItem.hxx
SceneProgressItem.cxx
SceneProgressItem.hxx
SceneTextItem.cxx
SceneTextItem.hxx
SchemaComponentItem.cxx
SchemaComponentItem.hxx
SchemaComposedNodeItem.cxx
SchemaComposedNodeItem.hxx
SchemaContainerItem.cxx
SchemaContainerItem.hxx
SchemaDataTypeItem.cxx
SchemaDataTypeItem.hxx
SchemaDirContainersItem.cxx
SchemaDirContainersItem.hxx
SchemaDirLinksItem.cxx
SchemaDirLinksItem.hxx
SchemaDirTypesItem.cxx
SchemaDirTypesItem.hxx
SchemaInPortItem.cxx
SchemaInPortItem.hxx
SchemaItem.cxx
SchemaItem.hxx
SchemaLinkItem.cxx
SchemaLinkItem.hxx
SchemaModel.cxx
SchemaModel.hxx
SchemaNodeItem.cxx
SchemaNodeItem.hxx
SchemaOutPortItem.cxx
SchemaOutPortItem.hxx
SchemaProcItem.cxx
SchemaProcItem.hxx
SchemaReferenceItem.cxx
SchemaReferenceItem.hxx
TablePortsEdition.cxx
TablePortsEdition.hxx
TableSwitch.cxx
TableSwitch.hxx
TreeView.cxx
TreeView.hxx
ValueDelegate.cxx
ValueDelegate.hxx
VisitorSaveGuiSchema.cxx
VisitorSaveGuiSchema.hxx
YACSGuiLoader.cxx
YACSGuiLoader.hxx
YACSWidgets.cxx
YACSWidgets.hxx
hmi
pmml
pyqt
runtime
salomegui
salomewrap
yacsloader
yacsorb
File Members
SceneObserverItem.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 _SCENEOBSERVERITEM_HXX_
21
#define _SCENEOBSERVERITEM_HXX_
22
23
#include "
SceneItem.hxx
"
24
25
#include <QString>
26
27
namespace
YACS
28
{
29
namespace
HMI
30
{
31
class
SceneObserverItem
:
public
SceneItem
,
public
GuiObserver
32
{
33
public
:
34
SceneObserverItem
(
QGraphicsScene
*scene,
SceneItem
*parent,
35
QString label,
Subject
*subject);
36
virtual
~SceneObserverItem
();
37
virtual
void
update
(
GuiEvent
event,
int
type,
Subject
* son);
38
virtual
void
select
(
bool
isSelected);
39
virtual
void
activateSelection
(
bool
selected);
40
virtual
Subject
*
getSubject
();
41
virtual
QString
getToolTip
();
42
protected
:
43
virtual
void
mousePressEvent
(QGraphicsSceneMouseEvent *event);
44
virtual
void
mouseMoveEvent
(QGraphicsSceneMouseEvent *event);
45
virtual
void
mouseReleaseEvent
(QGraphicsSceneMouseEvent *event);
46
virtual
QColor
getBrushColor
();
47
virtual
QString
getMimeFormat
();
48
Subject
*
_subject
;
49
bool
_draging
;
50
bool
_dragModifier
;
51
bool
_emphasized
;
52
};
53
}
54
}
55
56
#endif
src
genericgui
SceneObserverItem.hxx
Copyright © 2006-2017 CEA/DEN, EDF R&D