#include "PreCompiled.h"
#include <Python.h>
#include <Base/Console.h>
#include <Base/Interpreter.h>
#include <Gui/Application.h>
#include <Gui/Language/Translator.h>
#include "Workbench.h"
#include "ViewProviderSketch.h"
#include "ViewProviderPython.h"
#include "SoDatumLabel.h"
#include "SoZoomTranslation.h"
Go to the source code of this file.
Functions | |
void | CreateSketcherCommands (void) |
void | CreateSketcherCommandsAlterGeo (void) |
void | CreateSketcherCommandsConstraints (void) |
void | CreateSketcherCommandsCreateGeo (void) |
void | initSketcherGui () |
void | loadSketcherResource () |
Variables | |
struct PyMethodDef | SketcherGui_Import_methods [] |
void CreateSketcherCommands | ( | void | ) |
Definition at line 338 of file Mod/Sketcher/Gui/Command.cpp.
References Gui::CommandManager::addCommand(), and Gui::Application::Instance.
Referenced by initSketcherGui().
void CreateSketcherCommandsAlterGeo | ( | void | ) |
Definition at line 124 of file CommandAlterGeometry.cpp.
References Gui::CommandManager::addCommand(), and Gui::Application::Instance.
Referenced by initSketcherGui().
void CreateSketcherCommandsConstraints | ( | void | ) |
Definition at line 1709 of file CommandConstraints.cpp.
References Gui::CommandManager::addCommand(), and Gui::Application::Instance.
Referenced by initSketcherGui().
void CreateSketcherCommandsCreateGeo | ( | void | ) |
Definition at line 1538 of file CommandCreateGeo.cpp.
References Gui::CommandManager::addCommand(), and Gui::Application::Instance.
Referenced by initSketcherGui().
void initSketcherGui | ( | ) |
Definition at line 58 of file AppSketcherGui.cpp.
References Base::Console(), CreateSketcherCommands(), CreateSketcherCommandsAlterGeo(), CreateSketcherCommandsConstraints(), CreateSketcherCommandsCreateGeo(), SketcherGui::ViewProviderCustom::init(), Gui::ViewProviderPythonFeatureT< ViewProviderT >::init(), SketcherGui::ViewProviderSketch::init(), SketcherGui::Workbench::init(), SketcherGui::SoZoomTranslation::initClass(), SketcherGui::SoDatumLabel::initClass(), Gui::Application::Instance, Base::Interpreter(), loadSketcherResource(), SketcherGui_Import_methods, and Base::Exception::what().
void loadSketcherResource | ( | ) |
Definition at line 45 of file AppSketcherGui.cpp.
References Gui::Translator::instance().
Referenced by initSketcherGui().
struct PyMethodDef SketcherGui_Import_methods[] |
Definition at line 63 of file AppSketcherGuiPy.cpp.
Referenced by initSketcherGui().