Convenient class to obtain view provider related parameters. More...
#include <ViewParams.h>
Public Member Functions | |
ParameterGrp::handle | getHandle () |
void | OnChange (Base::Subject< const char * > &, const char *sReason) |
ViewParams () | |
virtual | ~ViewParams () |
Static Public Member Functions | |
static ViewParams * | instance () |
Detailed Description
Convenient class to obtain view provider related parameters.
The parameters are under group "User parameter:BaseApp/Preferences/View"
Constructor & Destructor Documentation
◆ ViewParams()
ViewParams::ViewParams | ( | ) |
References Base::Subject< _MessageType >::Attach(), App::GetApplication(), and App::Application::GetParameterGroupByPath().
Referenced by instance().
◆ ~ViewParams()
|
virtual |
Member Function Documentation
◆ getHandle()
ParameterGrp::handle Gui::ViewParams::getHandle | ( | ) |
◆ instance()
|
static |
References ViewParams().
Referenced by Gui::ViewProviderMeasureDistance::attach(), Gui::LinkInfo::getSnapshot(), Gui::SoFCPathAnnotation::GLRenderBelowPath(), Gui::SoFCSelectionRoot::renderPrivate(), Gui::SoFCSelection::SoFCSelection(), Gui::ViewProvider::useNewSelectionModel(), Gui::ViewProviderLink::ViewProviderLink(), PartGui::ViewProviderPartExt::ViewProviderPartExt(), and Gui::ViewProviderPointMarker::ViewProviderPointMarker().
◆ OnChange()
void ViewParams::OnChange | ( | Base::Subject< const char * > & | , |
const char * | sReason | ||
) |
The documentation for this class was generated from the following files:
- src/Gui/ViewParams.h
- src/Gui/ViewParams.cpp