#include <Plugin-VSI/scene/sceneElement.hh>
|
| void | mousePressEvent (QGraphicsSceneMouseEvent *_event) |
| |
| void | mouseMoveEvent (QGraphicsSceneMouseEvent *_event) |
| |
| void | mouseReleaseEvent (QGraphicsSceneMouseEvent *_event) |
| |
| void | mouseDoubleClickEvent (QGraphicsSceneMouseEvent *_event) |
| | Double click occured. We can't use mouseDoubleClickEvent because we won't get one for the ConecctionPoints.
|
| |
| void | moveEvent (QGraphicsSceneMoveEvent *_event) |
| |
Widget that represents an context element in the scene
Definition at line 72 of file sceneElement.hh.
◆ SceneElement()
◆ ~SceneElement()
| VSI::SceneElement::~SceneElement |
( |
| ) |
|
◆ code()
| QString VSI::SceneElement::code |
( |
| ) |
|
|
inline |
◆ dataIn()
◆ dataOut()
◆ element()
| Element * VSI::SceneElement::element |
( |
| ) |
const |
|
inline |
◆ functions()
◆ graphicsScene()
◆ id()
| int VSI::SceneElement::id |
( |
| ) |
|
|
inline |
◆ inputs()
◆ invalidateConnections()
| void VSI::SceneElement::invalidateConnections |
( |
| ) |
|
|
private |
◆ isAfter()
Will this element be executed after _e bacause of its connections?
Definition at line 643 of file sceneElement.cc.
◆ isBefore()
Will this element be executed before _e bacause of its connections?
Definition at line 613 of file sceneElement.cc.
◆ loadFromXml()
| void VSI::SceneElement::loadFromXml |
( |
QDomElement & |
_domElement, |
|
|
std::vector< QString > & |
_connections |
|
) |
| |
Load one scene Element from xml.
Load from xml.
Load one scene element from an xml dom.
- Parameters
-
| _domElement | The element that should be loaded |
| _connections | Info about the connections returned for this element. The function appends the information to the vector |
Definition at line 750 of file sceneElement.cc.
◆ mouseDoubleClickEvent()
| void VSI::SceneElement::mouseDoubleClickEvent |
( |
QGraphicsSceneMouseEvent * |
_event | ) |
|
|
protected |
Double click occured. We can't use mouseDoubleClickEvent because we won't get one for the ConecctionPoints.
Definition at line 470 of file sceneElement.cc.
◆ mouseMoveEvent()
| void VSI::SceneElement::mouseMoveEvent |
( |
QGraphicsSceneMouseEvent * |
_event | ) |
|
|
protected |
◆ mousePressEvent()
| void VSI::SceneElement::mousePressEvent |
( |
QGraphicsSceneMouseEvent * |
_event | ) |
|
|
protected |
◆ mouseReleaseEvent()
| void VSI::SceneElement::mouseReleaseEvent |
( |
QGraphicsSceneMouseEvent * |
_event | ) |
|
|
protected |
◆ moveEvent()
| void VSI::SceneElement::moveEvent |
( |
QGraphicsSceneMoveEvent * |
_event | ) |
|
|
protected |
◆ outputs()
◆ paint()
| void VSI::SceneElement::paint |
( |
QPainter * |
_painter, |
|
|
const QStyleOptionGraphicsItem * |
_option, |
|
|
QWidget * |
_widget = 0 |
|
) |
| |
◆ replaceCodeBlock()
| void VSI::SceneElement::replaceCodeBlock |
( |
const QString & |
_name, |
|
|
const QString & |
_id, |
|
|
const QString & |
_value |
|
) |
| |
Replace block with name _name and id _id with _value.
Definition at line 573 of file sceneElement.cc.
◆ resetCodeGeneration()
| void VSI::SceneElement::resetCodeGeneration |
( |
| ) |
|
◆ saveToXml()
| void VSI::SceneElement::saveToXml |
( |
QDomDocument & |
_doc, |
|
|
QDomElement & |
_root |
|
) |
| |
◆ showInputConfig
| void VSI::SceneElement::showInputConfig |
( |
| ) |
|
|
privateslot |
◆ variableId()
| QString VSI::SceneElement::variableId |
( |
| ) |
|
◆ code_
| QString VSI::SceneElement::code_ |
|
private |
◆ configInputs_
◆ dataIn_
◆ dataOut_
◆ element_
| Element* VSI::SceneElement::element_ |
|
private |
◆ elementName_
| Text* VSI::SceneElement::elementName_ |
|
private |
◆ functions_
◆ id_
| int VSI::SceneElement::id_ |
|
private |
◆ inputs_
◆ name_
| Text* VSI::SceneElement::name_ |
|
private |
◆ nameLayout_
| QGraphicsLinearLayout* VSI::SceneElement::nameLayout_ |
|
private |
◆ outputs_
◆ scene_
The documentation for this class was generated from the following files: