#include <TaskFillingUnbound.h>
Classes | |
class ShapeSelection | |
Public Member Functions | |
bool accept () | |
void checkOpenCommand () | |
FillingUnboundPanel (ViewProviderFilling *vp, Surface::Filling *obj) | |
void open () | |
bool reject () | |
void setEditedObject (Surface::Filling *obj) | |
~FillingUnboundPanel () | |
![]() | |
void attachSelection () | |
Attaches to the selection. More... | |
bool blockConnection (bool block) | |
void detachSelection () | |
Detaches from the selection. More... | |
bool isConnectionAttached () const | |
bool isConnectionBlocked () const | |
SelectionObserver (bool attach=true, int resolve=1) | |
Constructor. More... | |
SelectionObserver (const Gui::ViewProviderDocumentObject *vp, bool attach=true, int resolve=1) | |
Constructor. More... | |
virtual ~SelectionObserver () | |
![]() | |
void attachDocument (Document *) | |
Attaches to another document, the old document is not longer observed then. More... | |
void detachDocument () | |
Detaches from the current document, the document is not longer observed then. More... | |
DocumentObserver () | |
Constructor. More... | |
virtual ~DocumentObserver () | |
Protected Types | |
enum SelectionMode { , AppendEdge, RemoveEdge } | |
Protected Member Functions | |
void changeEvent (QEvent *e) | |
void modifyBoundary (bool) | |
virtual void onSelectionChanged (const Gui::SelectionChanges &msg) | |
virtual void slotDeletedObject (const Gui::ViewProviderDocumentObject &Obj) | |
Notifies when the object is about to be removed. More... | |
virtual void slotRedoDocument (const Gui::Document &Doc) | |
Notifies on redo. More... | |
virtual void slotUndoDocument (const Gui::Document &Doc) | |
Notifies on undo. More... | |
Protected Attributes | |
bool checkCommand | |
Surface::Filling * editedObject | |
SelectionMode selectionMode | |
Member Enumeration Documentation
◆ SelectionMode
|
protected |
Constructor & Destructor Documentation
◆ FillingUnboundPanel()
SurfaceGui::FillingUnboundPanel::FillingUnboundPanel | ( | ViewProviderFilling * | vp, |
Surface::Filling * | obj | ||
) |
References checkCommand, selectionMode, and setEditedObject().
◆ ~FillingUnboundPanel()
SurfaceGui::FillingUnboundPanel::~FillingUnboundPanel | ( | ) |
References Gui::SelectionSingleton::rmvSelectionGate(), and Gui::Selection().
Member Function Documentation
◆ accept()
bool SurfaceGui::FillingUnboundPanel::accept | ( | ) |
References SurfaceGui::ViewProviderFilling::Edge, editedObject, App::DocumentObject::getStatusString(), App::PropertyLinkSubList::getSubListValues(), SurfaceGui::ViewProviderFilling::highlightReferences(), App::DocumentObject::isValid(), Surface::Filling::mustExecute(), App::DocumentObject::recomputeFeature(), Gui::SelectionSingleton::rmvSelectionGate(), Gui::Selection(), selectionMode, and Surface::Filling::UnboundEdges.
◆ changeEvent()
|
protected |
◆ checkOpenCommand()
void SurfaceGui::FillingUnboundPanel::checkOpenCommand | ( | ) |
References checkCommand, editedObject, App::PropertyString::getValue(), Gui::Command::hasPendingCommand(), App::DocumentObject::Label, and Gui::Command::openCommand().
Referenced by onSelectionChanged(), and open().
◆ modifyBoundary()
|
protected |
◆ onSelectionChanged()
|
protectedvirtual |
Implements Gui::SelectionObserver.
References Gui::SelectionChanges::AddSelection, AppendEdge, checkOpenCommand(), SurfaceGui::ViewProviderFilling::Edge, editedObject, Gui::SelectionObject::getObject(), App::PropertyLinkSubList::getSubListValues(), App::PropertyLinkSubList::getSubValues(), App::PropertyString::getValue(), App::PropertyListsT< T, ListT, ParentT >::getValues(), App::PropertyLinkSubList::getValues(), SurfaceGui::ViewProviderFilling::highlightReferences(), App::DocumentObject::Label, App::DocumentObject::recomputeFeature(), RemoveEdge, selectionMode, App::PropertyListsT< T, ListT, ParentT >::setValues(), App::PropertyStringList::setValues(), App::PropertyLinkSubList::setValues(), Surface::Filling::UnboundEdges, Surface::Filling::UnboundFaces, and Surface::Filling::UnboundOrder.
◆ open()
void SurfaceGui::FillingUnboundPanel::open | ( | ) |
References checkOpenCommand(), Gui::SelectionSingleton::clearSelection(), SurfaceGui::ViewProviderFilling::Edge, editedObject, App::PropertyLinkSubList::getSubListValues(), SurfaceGui::ViewProviderFilling::highlightReferences(), Gui::Selection(), and Surface::Filling::UnboundEdges.
Referenced by SurfaceGui::TaskFilling::open().
◆ reject()
bool SurfaceGui::FillingUnboundPanel::reject | ( | ) |
References SurfaceGui::ViewProviderFilling::Edge, editedObject, App::PropertyLinkSubList::getSubListValues(), SurfaceGui::ViewProviderFilling::highlightReferences(), Gui::SelectionSingleton::rmvSelectionGate(), Gui::Selection(), selectionMode, and Surface::Filling::UnboundEdges.
Referenced by SurfaceGui::TaskFilling::accept(), and SurfaceGui::TaskFilling::reject().
◆ setEditedObject()
void SurfaceGui::FillingUnboundPanel::setEditedObject | ( | Surface::Filling * | obj | ) |
References Gui::DocumentObserver::attachDocument(), editedObject, App::DocumentObject::getDocument(), App::PropertyLinkSubList::getSubValues(), App::PropertyListsT< T, ListT, ParentT >::getValues(), App::PropertyLinkSubList::getValues(), Gui::Application::Instance, Surface::Filling::UnboundEdges, Surface::Filling::UnboundFaces, and Surface::Filling::UnboundOrder.
Referenced by FillingUnboundPanel().
◆ slotDeletedObject()
|
protectedvirtual |
Notifies when the object is about to be removed.
Reimplemented from Gui::DocumentObserver.
References SurfaceGui::ViewProviderFilling::Edge, editedObject, App::PropertyLinkSubList::getSubListValues(), SurfaceGui::ViewProviderFilling::highlightReferences(), and Surface::Filling::UnboundEdges.
◆ slotRedoDocument()
|
protectedvirtual |
◆ slotUndoDocument()
|
protectedvirtual |
Member Data Documentation
◆ checkCommand
|
protected |
Referenced by checkOpenCommand(), FillingUnboundPanel(), slotRedoDocument(), and slotUndoDocument().
◆ editedObject
|
protected |
Referenced by accept(), checkOpenCommand(), onSelectionChanged(), open(), reject(), setEditedObject(), and slotDeletedObject().
◆ selectionMode
|
protected |
Referenced by accept(), FillingUnboundPanel(), onSelectionChanged(), and reject().
The documentation for this class was generated from the following files:
- src/Mod/Surface/Gui/TaskFillingUnbound.h
- src/Mod/Surface/Gui/TaskFillingUnbound.cpp