#include <TaskFillingVertex.h>
Classes | |
class | VertexSelection |
Public Member Functions | |
void | checkOpenCommand () |
FillingVertexPanel (ViewProviderFilling *vp, Surface::Filling *obj) | |
void | open () |
void | reject () |
void | setEditedObject (Surface::Filling *obj) |
~FillingVertexPanel () | |
Public Member Functions inherited from Gui::SelectionObserver | |
void | attachSelection () |
Attaches to the selection. More... | |
bool | blockSelection (bool block) |
void | detachSelection () |
Detaches from the selection. More... | |
bool | isSelectionAttached () const |
bool | isSelectionBlocked () const |
SelectionObserver (bool attach=true, ResolveMode resolve=ResolveMode::OldStyleElement) | |
Constructor. More... | |
SelectionObserver (const Gui::ViewProviderDocumentObject *vp, bool attach=true, ResolveMode resolve=ResolveMode::OldStyleElement) | |
Constructor. More... | |
virtual | ~SelectionObserver () |
Public Member Functions inherited from Gui::DocumentObserver | |
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... | |
DocumentObserver (Document *) | |
virtual | ~DocumentObserver () |
Protected Types | |
enum | SelectionMode { } |
Protected Member Functions | |
void | changeEvent (QEvent *e) |
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 |
|
protected |
SurfaceGui::FillingVertexPanel::FillingVertexPanel | ( | ViewProviderFilling * | vp, |
Surface::Filling * | obj | ||
) |
SurfaceGui::FillingVertexPanel::~FillingVertexPanel | ( | ) |
References Gui::SelectionSingleton::rmvSelectionGate(), and Gui::Selection().
|
protected |
void SurfaceGui::FillingVertexPanel::checkOpenCommand | ( | ) |
References checkCommand, editedObject, App::PropertyString::getValue(), Gui::Command::hasPendingCommand(), App::DocumentObject::Label, and Gui::Command::openCommand().
Referenced by onSelectionChanged(), and open().
|
protectedvirtual |
Implements Gui::SelectionObserver.
References Gui::SelectionChanges::AddSelection, AppendVertex, checkOpenCommand(), editedObject, Gui::SelectionObject::getObject(), App::PropertyLinkSubList::getSubListValues(), App::PropertyLinkSubList::getSubValues(), App::PropertyString::getValue(), App::PropertyLinkSubList::getValues(), SurfaceGui::ViewProviderFilling::highlightReferences(), App::DocumentObject::Label, SurfaceGui::Ui_TaskFillingVertex::listFreeVertex, Surface::Filling::Points, App::DocumentObject::recomputeFeature(), RemoveVertex, selectionMode, App::PropertyLinkSubList::setValues(), and SurfaceGui::ViewProviderFilling::Vertex.
void SurfaceGui::FillingVertexPanel::open | ( | ) |
References checkOpenCommand(), Gui::SelectionSingleton::clearSelection(), editedObject, App::PropertyLinkSubList::getSubListValues(), SurfaceGui::ViewProviderFilling::highlightReferences(), Surface::Filling::Points, Gui::Selection(), and SurfaceGui::ViewProviderFilling::Vertex.
Referenced by SurfaceGui::TaskFilling::open().
void SurfaceGui::FillingVertexPanel::reject | ( | void | ) |
References editedObject, App::PropertyLinkSubList::getSubListValues(), SurfaceGui::ViewProviderFilling::highlightReferences(), Surface::Filling::Points, and SurfaceGui::ViewProviderFilling::Vertex.
Referenced by SurfaceGui::TaskFilling::accept(), draftguitools.gui_hatch.Draft_Hatch_TaskPanel::accept(), draftguitools.gui_setstyle.Draft_SetStyle_TaskPanel::accept(), drafttaskpanels.task_shapestring.ShapeStringTaskPanelCmd::accept(), drafttaskpanels.task_shapestring.ShapeStringTaskPanelEdit::accept(), drafttaskpanels.task_shapestring.ShapeStringTaskPanel::action(), femexamples.examplesgui.FemExamples::clicked(), SurfaceGui::TaskFilling::reject(), and PathScripts.PathToolBitLibraryGui.ToolBitLibrary::toolEdit().
void SurfaceGui::FillingVertexPanel::setEditedObject | ( | Surface::Filling * | obj | ) |
References Gui::DocumentObserver::attachDocument(), editedObject, App::DocumentObject::getDocument(), App::PropertyLinkSubList::getSubValues(), App::PropertyLinkSubList::getValues(), Gui::Application::Instance, SurfaceGui::Ui_TaskFillingVertex::listFreeVertex, and Surface::Filling::Points.
Referenced by FillingVertexPanel().
|
protectedvirtual |
Notifies when the object is about to be removed.
Reimplemented from Gui::DocumentObserver.
References editedObject, App::PropertyLinkSubList::getSubListValues(), SurfaceGui::ViewProviderFilling::highlightReferences(), Surface::Filling::Points, and SurfaceGui::ViewProviderFilling::Vertex.
|
protectedvirtual |
|
protectedvirtual |
|
protected |
Referenced by checkOpenCommand(), FillingVertexPanel(), slotRedoDocument(), and slotUndoDocument().
|
protected |
Referenced by checkOpenCommand(), onSelectionChanged(), open(), reject(), setEditedObject(), and slotDeletedObject().
|
protected |