#include <TaskElementColors.h>
Classes | |
class | Private |
Public Member Functions | |
bool | accept () |
ElementColors (ViewProviderDocumentObject *vp, bool noHide=false) | |
bool | reject () |
~ElementColors () | |
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 () |
Protected Member Functions | |
void | changeEvent (QEvent *e) |
void | leaveEvent (QEvent *) |
void | onSelectionChanged (const SelectionChanges &msg) |
void | slotDeleteDocument (const Document &) |
void | slotDeleteObject (const ViewProvider &) |
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::NoResolve, 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 | ( | ) |
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().
|
protected |
References Gui::ElementColors::Private::ui.
|
protected |
|
protectedvirtual |
Implements Gui::SelectionObserver.
References Gui::ElementColors::Private::onSelectionChanged().
bool ElementColors::reject | ( | void | ) |
References Gui::Application::Instance, Gui::ElementColors::Private::reset(), and Gui::Application::setEditDocument().
Referenced by 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(), Gui::TaskElementColors::reject(), and PathScripts.PathToolBitLibraryGui.ToolBitLibrary::toolEdit().
|
protected |
|
protected |
References Gui::ControlSingleton::closeDialog(), Gui::Control(), and Gui::ElementColors::Private::vp.
Referenced by ElementColors().