#include <TaskElementColors.h>
Classes | |
class | Private |
Public Member Functions | |
bool | accept () |
ElementColors (ViewProviderDocumentObject *vp, bool noHide=false) | |
bool | reject () |
~ElementColors () | |
![]() | |
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 () |
Protected Member Functions | |
void | changeEvent (QEvent *e) |
void | leaveEvent (QEvent *) |
void | onSelectionChanged (const SelectionChanges &msg) |
void | slotDeleteDocument (const Document &) |
void | slotDeleteObject (const ViewProvider &) |
Constructor & Destructor Documentation
◆ ElementColors()
ElementColors::ElementColors | ( | ViewProviderDocumentObject * | vp, |
bool | noHide = false |
||
) |
References Gui::SelectionSingleton::addSelectionGate(), draftgeoutils.faces::bind(), Gui::ElementColors::Private::connectDelDoc, Gui::ElementColors::Private::connectDelObj, App::GetApplication(), ParameterGrp::GetBool(), Gui::ViewProviderDocumentObject::getObject(), App::Application::GetParameterGroupByPath(), App::PropertyString::getValue(), Gui::Application::Instance, App::DocumentObject::Label, Gui::ViewProviderDocumentObject::OnTopWhenSelected, Gui::ElementColors::Private::populate(), Gui::Selection(), App::PropertyEnumeration::setValue(), Gui::Application::signalDeletedObject, Gui::Application::signalDeleteDocument, slotDeleteDocument(), slotDeleteObject(), Gui::ElementColors::Private::ui, and Gui::ElementColors::Private::vpParent.
◆ ~ElementColors()
ElementColors::~ElementColors | ( | ) |
Member Function Documentation
◆ accept()
bool ElementColors::accept | ( | void | ) |
References Gui::ElementColors::Private::accept(), Gui::Application::Instance, and Gui::Application::setEditDocument().
Referenced by Gui::TaskElementColors::accept(), femexamples.examplesgui.FemExamples::clicked(), femexamples.examplesgui.FemExamples::double_clicked(), ArchComponent.ComponentTaskPanel::editObject(), and PathScripts.PathToolBitLibraryGui.ToolBitLibrary::toolEdit().
◆ changeEvent()
|
protected |
References Gui::ElementColors::Private::ui.
◆ leaveEvent()
|
protected |
◆ onSelectionChanged()
|
protectedvirtual |
Implements Gui::SelectionObserver.
References Gui::ElementColors::Private::onSelectionChanged().
◆ reject()
bool ElementColors::reject | ( | void | ) |
References Gui::Application::Instance, Gui::ElementColors::Private::reset(), and Gui::Application::setEditDocument().
Referenced by draftguitools.gui_setstyle.Draft_SetStyle_TaskPanel::accept(), drafttaskpanels.task_shapestring.ShapeStringTaskPanel::action(), femexamples.examplesgui.FemExamples::clicked(), Gui::TaskElementColors::reject(), and PathScripts.PathToolBitLibraryGui.ToolBitLibrary::toolEdit().
◆ slotDeleteDocument()
|
protected |
◆ slotDeleteObject()
|
protected |
References Gui::ControlSingleton::closeDialog(), Gui::Control(), and Gui::ElementColors::Private::vp.
Referenced by ElementColors().
The documentation for this class was generated from the following files:
- Sources/FreeCAD/src/Gui/TaskElementColors.h
- Sources/FreeCAD/src/Gui/TaskElementColors.cpp