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 () |
Convenient class to obtain view provider related parameters.
The parameters are under group "User parameter:BaseApp/Preferences/View"
ViewParams::ViewParams | ( | ) |
References Base::Subject< _MessageType >::Attach(), App::GetApplication(), and App::Application::GetParameterGroupByPath().
Referenced by instance().
|
virtual |
ParameterGrp::handle Gui::ViewParams::getHandle | ( | ) |
|
static |
References ViewParams().
Referenced by Gui::ViewProviderMeasureDistance::attach(), Gui::LinkInfo::getSnapshot(), Gui::SoFCPathAnnotation::GLRenderBelowPath(), PartDesignGui::ViewProviderSubShapeBinder::onChanged(), Gui::SoFCSelectionRoot::renderPrivate(), Gui::View3DInventorViewer::setRenderCache(), Gui::PropertyView::showEvent(), Gui::ViewProvider::useNewSelectionModel(), Gui::ViewProviderLink::ViewProviderLink(), PartGui::ViewProviderPartExt::ViewProviderPartExt(), and Gui::ViewProviderPointMarker::ViewProviderPointMarker().
void ViewParams::OnChange | ( | Base::Subject< const char * > & | , |
const char * | sReason | ||
) |