#include <DAGModel.h>
Public Member Functions | |
void awake () | |
hooked up to event dispatcher for update when idle. More... | |
Model (QObject *parentIn, const Gui::Document &documentIn) | |
void selectionChanged (const SelectionChanges &msg) | |
virtual ~Model () override | |
Protected Member Functions | |
virtual void contextMenuEvent (QGraphicsSceneContextMenuEvent *event) override | |
virtual void mouseDoubleClickEvent (QGraphicsSceneMouseEvent *event) override | |
virtual void mouseMoveEvent (QGraphicsSceneMouseEvent *event) override | |
virtual void mousePressEvent (QGraphicsSceneMouseEvent *event) override | |
Constructor & Destructor Documentation
◆ Model()
Model::Model | ( | QObject * | parentIn, |
const Gui::Document & | documentIn | ||
) |
References Gui::BitmapFactory(), App::GetApplication(), Gui::Document::getDocument(), ParameterGrp::GetGroup(), App::Document::getObjects(), App::Application::GetUserParameter(), Gui::Document::getViewProvider(), Gui::Document::signalChangedObject, Gui::Document::signalDeletedObject, Gui::Document::signalInEdit, Gui::Document::signalNewObject, and Gui::Document::signalResetEdit.
◆ ~Model()
|
overridevirtual |
Member Function Documentation
◆ awake()
void Model::awake | ( | ) |
hooked up to event dispatcher for update when idle.
Referenced by Gui::DAG::View::awakeSlot().
◆ contextMenuEvent()
|
overrideprotectedvirtual |
References Gui::SelectionSingleton::addSelection(), Gui::SelectionSingleton::clearSelection(), Gui::DAG::GraphLinkRecord::DObject, Gui::DAG::findRecord(), App::DocumentObject::getDocument(), Gui::MenuManager::getInstance(), App::Document::getName(), App::DocumentObject::getNameInDocument(), Gui::Application::Instance, Gui::DAG::RectItem::isEditing(), Gui::DAG::RectItem::isSelected(), Gui::Selection(), Gui::MenuManager::setupContextMenu(), Gui::Application::setupContextMenu(), Gui::DAG::GraphLinkRecord::vertex, and Gui::DAG::GraphLinkRecord::VPDObject.
◆ mouseDoubleClickEvent()
|
overrideprotectedvirtual |
◆ mouseMoveEvent()
|
overrideprotectedvirtual |
◆ mousePressEvent()
|
overrideprotectedvirtual |
References Gui::SelectionSingleton::addSelection(), Gui::SelectionSingleton::clearSelection(), Gui::DAG::GraphLinkRecord::DObject, Gui::DAG::findRecord(), App::DocumentObject::getDocument(), App::Document::getName(), App::DocumentObject::getNameInDocument(), Gui::DAG::Off, Gui::SelectionSingleton::rmvSelection(), Gui::Selection(), Gui::ViewProviderDocumentObject::show(), Gui::DAG::GraphLinkRecord::vertex, and Gui::DAG::GraphLinkRecord::VPDObject.
◆ selectionChanged()
void Model::selectionChanged | ( | const SelectionChanges & | msg | ) |
References Gui::SelectionChanges::AddSelection, Gui::SelectionChanges::ClrSelection, Gui::DAG::findRecord(), Gui::SelectionSingleton::getSelection(), Gui::SelectionChanges::RmvSelection, Gui::Selection(), Gui::DAG::RectItem::selectionOff(), Gui::DAG::RectItem::selectionOn(), Gui::SelectionChanges::SetSelection, and Gui::DAG::GraphLinkRecord::vertex.
Referenced by PathScripts.PathPocketShapeGui.TaskPanelExtensionPage::toggleExtensionCorners().
The documentation for this class was generated from the following files:
- src/Gui/DAGView/DAGModel.h
- src/Gui/DAGView/DAGModel.cpp