DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
#include <SchemaGraphicsScene.hpp>
Signals | |
void | sceneModified (bool) |
Public Member Functions | |
SchemaGraphicsScene (QObject *parent=nullptr) | |
~SchemaGraphicsScene () | |
void | CreateActions () |
void | dragEnterEvent (QGraphicsSceneDragDropEvent *event) |
Drag & Drop. | |
void | dragMoveEvent (QGraphicsSceneDragDropEvent *event) |
void | dropEvent (QGraphicsSceneDragDropEvent *event) |
void | contextMenuEvent (QGraphicsSceneContextMenuEvent *event) |
QStringList | AddItemsToScene (QStringList SchemaClasses, QList< QPointF > Positions) |
void | CleanItemMap () |
void | RemoveClassObject (SchemaGraphicObject *Object) |
void | add_notes (QStringList notes, QList< QPointF > positions) |
void | remove_note_object (SchemaGraphicNote *obj) |
bool | IsModified () const |
void | ClearModified () |
Protected Member Functions | |
void | mousePressEvent (QGraphicsSceneMouseEvent *mouseEvent) |
void | mouseMoveEvent (QGraphicsSceneMouseEvent *mouseEvent) |
void | mouseReleaseEvent (QGraphicsSceneMouseEvent *mouseEvent) |
void | RemoveItemFromScene (QGraphicsItem *item) |
void | modified (bool state) |
Private Slots | |
void | new_class_slot () |
void | add_class_slot (QString) |
void | new_note_slot () |
void | add_note_slot (SchemaGraphicNote *) |
void | cancel_note_slot (SchemaGraphicNote *) |
void | edit_note_slot () |
void | remove_note_slot () |
void | modified_slot () |
void | EditClassSlot () |
void | ToggleIndirectInfos () |
void | ToggleHighlightActive () |
void | AddDirectSuperClassesSlot () |
void | AddAllSuperClassesSlot () |
void | AddAllSubClassesSlot () |
void | AddDirectRelationshipClassesSlot () |
void | AddAllRelationshipClassesSlot () |
void | RemoveClassSlot () |
void | RemoveArrowSlot () |
void | DrawArrow (QString ClassName, QString RelationshipType, QString RelationshipName) |
Private Attributes | |
QMap< QString, SchemaGraphicObject * > | ItemMap |
QGraphicsLineItem * | m_line |
QMenu * | m_context_menu |
int | m_seperator_pos |
int | m_class_pos |
int | m_arrow_pos |
int | m_note_pos |
QAction * | m_add_class |
QAction * | m_edit_class |
QAction * | m_toggle_indirect_infos |
QAction * | m_toggle_highlight_active |
QAction * | m_add_direct_super_classes |
QAction * | m_add_direct_relationship_classes |
QAction * | m_add_all_super_classes |
QAction * | m_add_all_sub_classes |
QAction * | m_add_all_relationship_classes |
QAction * | m_add_note |
QAction * | m_edit_note |
QAction * | m_remove_note |
QAction * | m_remove_class |
QAction * | m_remove_arrow |
QMetaObject::Connection | m_addclass_connection |
SchemaGraphicObject * | CurrentObject |
SchemaGraphicSegmentedArrow * | m_current_arrow |
SchemaGraphicNote * | m_current_note |
QPointF | m_current_pos |
QPointF | m_mouse_item_pos |
int | m_next_note {0} |
bool | m_inherited_properties_visible |
bool | m_highlight_active |
bool | m_modified |
Definition at line 15 of file SchemaGraphicsScene.hpp.
|
explicit |
Definition at line 21 of file SchemaGraphicsScene.cpp.
dbse::SchemaGraphicsScene::~SchemaGraphicsScene | ( | ) |
Definition at line 35 of file SchemaGraphicsScene.cpp.
|
privateslot |
Updating item list
Definition at line 494 of file SchemaGraphicsScene.cpp.
|
privateslot |
Definition at line 476 of file SchemaGraphicsScene.cpp.
void dbse::SchemaGraphicsScene::add_notes | ( | QStringList | notes, |
QList< QPointF > | positions ) |
Definition at line 315 of file SchemaGraphicsScene.cpp.
|
privateslot |
Definition at line 644 of file SchemaGraphicsScene.cpp.
|
privateslot |
Definition at line 603 of file SchemaGraphicsScene.cpp.
|
privateslot |
Definition at line 582 of file SchemaGraphicsScene.cpp.
|
privateslot |
Definition at line 623 of file SchemaGraphicsScene.cpp.
|
privateslot |
Definition at line 562 of file SchemaGraphicsScene.cpp.
QStringList dbse::SchemaGraphicsScene::AddItemsToScene | ( | QStringList | SchemaClasses, |
QList< QPointF > | Positions ) |
Updating item list
Plotting the superclasses
Definition at line 212 of file SchemaGraphicsScene.cpp.
|
privateslot |
Definition at line 480 of file SchemaGraphicsScene.cpp.
void dbse::SchemaGraphicsScene::CleanItemMap | ( | ) |
Definition at line 345 of file SchemaGraphicsScene.cpp.
void dbse::SchemaGraphicsScene::ClearModified | ( | ) |
Definition at line 387 of file SchemaGraphicsScene.cpp.
void dbse::SchemaGraphicsScene::contextMenuEvent | ( | QGraphicsSceneContextMenuEvent * | event | ) |
Definition at line 134 of file SchemaGraphicsScene.cpp.
void dbse::SchemaGraphicsScene::CreateActions | ( | ) |
Definition at line 39 of file SchemaGraphicsScene.cpp.
void dbse::SchemaGraphicsScene::dragEnterEvent | ( | QGraphicsSceneDragDropEvent * | event | ) |
Drag & Drop.
Definition at line 95 of file SchemaGraphicsScene.cpp.
void dbse::SchemaGraphicsScene::dragMoveEvent | ( | QGraphicsSceneDragDropEvent * | event | ) |
Definition at line 103 of file SchemaGraphicsScene.cpp.
|
privateslot |
Definition at line 684 of file SchemaGraphicsScene.cpp.
void dbse::SchemaGraphicsScene::dropEvent | ( | QGraphicsSceneDragDropEvent * | event | ) |
Definition at line 111 of file SchemaGraphicsScene.cpp.
|
privateslot |
Definition at line 468 of file SchemaGraphicsScene.cpp.
|
privateslot |
Definition at line 512 of file SchemaGraphicsScene.cpp.
|
inlinenodiscard |
Definition at line 34 of file SchemaGraphicsScene.hpp.
|
protected |
Definition at line 391 of file SchemaGraphicsScene.cpp.
|
privateslot |
Definition at line 396 of file SchemaGraphicsScene.cpp.
|
protected |
Definition at line 374 of file SchemaGraphicsScene.cpp.
|
protected |
Definition at line 350 of file SchemaGraphicsScene.cpp.
|
protected |
Create arrow
Definition at line 399 of file SchemaGraphicsScene.cpp.
|
privateslot |
Definition at line 505 of file SchemaGraphicsScene.cpp.
|
privateslot |
Definition at line 484 of file SchemaGraphicsScene.cpp.
void dbse::SchemaGraphicsScene::remove_note_object | ( | SchemaGraphicNote * | obj | ) |
Definition at line 326 of file SchemaGraphicsScene.cpp.
|
privateslot |
Definition at line 472 of file SchemaGraphicsScene.cpp.
|
privateslot |
Definition at line 676 of file SchemaGraphicsScene.cpp.
void dbse::SchemaGraphicsScene::RemoveClassObject | ( | SchemaGraphicObject * | Object | ) |
Definition at line 333 of file SchemaGraphicsScene.cpp.
|
privateslot |
Definition at line 664 of file SchemaGraphicsScene.cpp.
|
protected |
Definition at line 310 of file SchemaGraphicsScene.cpp.
|
signal |
|
privateslot |
Definition at line 540 of file SchemaGraphicsScene.cpp.
|
privateslot |
Definition at line 551 of file SchemaGraphicsScene.cpp.
|
private |
Definition at line 88 of file SchemaGraphicsScene.hpp.
|
private |
Definition at line 66 of file SchemaGraphicsScene.hpp.
|
private |
Definition at line 81 of file SchemaGraphicsScene.hpp.
|
private |
Definition at line 80 of file SchemaGraphicsScene.hpp.
|
private |
Definition at line 79 of file SchemaGraphicsScene.hpp.
|
private |
Definition at line 73 of file SchemaGraphicsScene.hpp.
|
private |
Definition at line 78 of file SchemaGraphicsScene.hpp.
|
private |
Definition at line 77 of file SchemaGraphicsScene.hpp.
|
private |
Definition at line 82 of file SchemaGraphicsScene.hpp.
|
private |
Definition at line 87 of file SchemaGraphicsScene.hpp.
|
private |
Definition at line 71 of file SchemaGraphicsScene.hpp.
|
private |
Definition at line 70 of file SchemaGraphicsScene.hpp.
|
private |
Definition at line 68 of file SchemaGraphicsScene.hpp.
|
private |
Definition at line 89 of file SchemaGraphicsScene.hpp.
|
private |
Definition at line 90 of file SchemaGraphicsScene.hpp.
|
private |
Definition at line 91 of file SchemaGraphicsScene.hpp.
|
private |
Definition at line 74 of file SchemaGraphicsScene.hpp.
|
private |
Definition at line 83 of file SchemaGraphicsScene.hpp.
|
private |
Definition at line 95 of file SchemaGraphicsScene.hpp.
|
private |
Definition at line 94 of file SchemaGraphicsScene.hpp.
|
private |
Definition at line 67 of file SchemaGraphicsScene.hpp.
|
private |
Definition at line 96 of file SchemaGraphicsScene.hpp.
|
private |
Definition at line 92 of file SchemaGraphicsScene.hpp.
|
private |
Definition at line 93 of file SchemaGraphicsScene.hpp.
|
private |
Definition at line 72 of file SchemaGraphicsScene.hpp.
|
private |
Definition at line 86 of file SchemaGraphicsScene.hpp.
|
private |
Definition at line 85 of file SchemaGraphicsScene.hpp.
|
private |
Definition at line 84 of file SchemaGraphicsScene.hpp.
|
private |
Definition at line 69 of file SchemaGraphicsScene.hpp.
|
private |
Definition at line 76 of file SchemaGraphicsScene.hpp.
|
private |
Definition at line 75 of file SchemaGraphicsScene.hpp.