#include <TaskGeomFillSurface.h>
Classes | |
class | EdgeSelection |
Public Member Functions | |
bool | accept () |
void | checkOpenCommand () |
GeomFillSurface (ViewProviderGeomFillSurface *vp, Surface::GeomFillSurface *obj) | |
void | open () |
bool | reject () |
void | setEditedObject (Surface::GeomFillSurface *obj) |
~GeomFillSurface () | |
Public Member Functions inherited from Gui::SelectionObserver | |
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 () |
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... | |
virtual | ~DocumentObserver () |
Protected Types | |
enum | SelectionMode { , Append, Remove } |
Protected Member Functions | |
void | changeEvent (QEvent *e) |
void | changeFillType (GeomFill_FillingStyle) |
void | flipOrientation (QListWidgetItem *) |
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::GeomFillSurface * | editedObject |
SelectionMode | selectionMode |
Member Enumeration Documentation
◆ SelectionMode
|
protected |
Constructor & Destructor Documentation
◆ GeomFillSurface()
SurfaceGui::GeomFillSurface::GeomFillSurface | ( | ViewProviderGeomFillSurface * | vp, |
Surface::GeomFillSurface * | obj | ||
) |
References checkCommand, selectionMode, and setEditedObject().
Referenced by SurfaceGui::TaskGeomFillSurface::TaskGeomFillSurface().
◆ ~GeomFillSurface()
SurfaceGui::GeomFillSurface::~GeomFillSurface | ( | ) |
Member Function Documentation
◆ accept()
bool SurfaceGui::GeomFillSurface::accept | ( | ) |
References Gui::Command::commitCommand(), editedObject, App::DocumentObject::getStatusString(), Gui::Command::Gui, SurfaceGui::ViewProviderGeomFillSurface::highlightReferences(), App::DocumentObject::isValid(), Surface::GeomFillSurface::mustExecute(), App::DocumentObject::recomputeFeature(), Gui::SelectionSingleton::rmvSelectionGate(), Gui::Selection(), selectionMode, and Gui::Command::updateActive().
◆ changeEvent()
|
protected |
◆ changeFillType()
|
protected |
References checkOpenCommand(), Base::Console(), editedObject, Base::ConsoleSingleton::Error(), Surface::GeomFillSurface::FillType, App::DocumentObject::getStatusString(), App::PropertyEnumeration::getValue(), App::DocumentObject::isValid(), App::DocumentObject::recomputeFeature(), and App::PropertyEnumeration::setValue().
◆ checkOpenCommand()
void SurfaceGui::GeomFillSurface::checkOpenCommand | ( | ) |
References checkCommand, editedObject, App::PropertyString::getValue(), Gui::Command::hasPendingCommand(), App::DocumentObject::Label, and Gui::Command::openCommand().
Referenced by changeFillType(), onSelectionChanged(), and open().
◆ flipOrientation()
|
protected |
◆ onSelectionChanged()
|
protectedvirtual |
Implements Gui::SelectionObserver.
References Gui::SelectionChanges::AddSelection, Append, Gui::BitmapFactory(), Surface::GeomFillSurface::BoundaryList, checkOpenCommand(), editedObject, Gui::SelectionObject::getObject(), App::PropertyLinkSubList::getSubValues(), App::PropertyString::getValue(), App::PropertyLinkSubList::getValues(), SurfaceGui::ViewProviderGeomFillSurface::highlightReferences(), App::DocumentObject::Label, App::DocumentObject::recomputeFeature(), Surface::GeomFillSurface::ReversedList, selectionMode, and App::PropertyLinkSubList::setValues().
◆ open()
void SurfaceGui::GeomFillSurface::open | ( | ) |
◆ reject()
bool SurfaceGui::GeomFillSurface::reject | ( | ) |
◆ setEditedObject()
void SurfaceGui::GeomFillSurface::setEditedObject | ( | Surface::GeomFillSurface * | obj | ) |
References Gui::DocumentObserver::attachDocument(), Gui::BitmapFactory(), Surface::GeomFillSurface::BoundaryList, editedObject, Surface::GeomFillSurface::FillType, App::DocumentObject::getDocument(), App::PropertyLinkSubList::getSubValues(), App::PropertyEnumeration::getValue(), App::PropertyLinkSubList::getValues(), Gui::Application::Instance, Gui::BitmapFactoryInst::pixmap(), and Surface::GeomFillSurface::ReversedList.
Referenced by GeomFillSurface().
◆ slotDeletedObject()
|
protectedvirtual |
Notifies when the object is about to be removed.
Reimplemented from Gui::DocumentObserver.
References SurfaceGui::ViewProviderGeomFillSurface::highlightReferences().
◆ slotRedoDocument()
|
protectedvirtual |
◆ slotUndoDocument()
|
protectedvirtual |
Member Data Documentation
◆ checkCommand
|
protected |
Referenced by checkOpenCommand(), GeomFillSurface(), slotRedoDocument(), and slotUndoDocument().
◆ editedObject
|
protected |
Referenced by accept(), changeFillType(), checkOpenCommand(), flipOrientation(), onSelectionChanged(), and setEditedObject().
◆ selectionMode
|
protected |
Referenced by accept(), GeomFillSurface(), onSelectionChanged(), and reject().
The documentation for this class was generated from the following files:
- src/Mod/Surface/Gui/TaskGeomFillSurface.h
- src/Mod/Surface/Gui/TaskGeomFillSurface.cpp