#include "PreCompiled.h"
#include <QMessageBox>
#include <Gui/Application.h>
#include <Gui/Document.h>
#include <Gui/Selection.h>
#include <Gui/Command.h>
#include <Gui/MainWindow.h>
#include <Gui/DlgEditFileIncludeProptertyExternal.h>
#include <Mod/Part/App/Geometry.h>
#include <Mod/Sketcher/App/SketchObject.h>
#include "ViewProviderSketch.h"
Go to the source code of this file.
Classes | |
class | CmdSketcherConstrainAngle |
class | CmdSketcherConstrainCoincident |
class | CmdSketcherConstrainDistance |
class | CmdSketcherConstrainDistanceX |
class | CmdSketcherConstrainDistanceY |
class | CmdSketcherConstrainEqual |
class | CmdSketcherConstrainHorizontal |
class | CmdSketcherConstrainLock |
class | CmdSketcherConstrainParallel |
class | CmdSketcherConstrainPerpendicular |
class | CmdSketcherConstrainPointOnObject |
class | CmdSketcherConstrainRadius |
class | CmdSketcherConstrainSymmetric |
class | CmdSketcherConstrainTangent |
class | CmdSketcherConstrainVertical |
struct | SketcherGui::SketchSelection |
struct | SketcherGui::SketchSelection::SketchSelectionItem |
Namespaces | |
namespace | SketcherGui |
Functions | |
void | CreateSketcherCommandsConstraints (void) |
bool | isCreateConstraintActive (Gui::Document *doc) |
void | updateDatumDistance (Gui::Document *doc, Constraint *constr) |
void CreateSketcherCommandsConstraints | ( | void | ) |
Definition at line 1709 of file CommandConstraints.cpp.
References Gui::CommandManager::addCommand(), and Gui::Application::Instance.
Referenced by initSketcherGui().
bool isCreateConstraintActive | ( | Gui::Document * | doc | ) |
Definition at line 45 of file CommandConstraints.cpp.
References Sketcher::SketchObject::getClassTypeId(), SketcherGui::ViewProviderSketch::getClassTypeId(), Gui::Document::getInEdit(), and Gui::Selection().
Referenced by CmdSketcherConstrainSymmetric::isActive(), CmdSketcherConstrainEqual::isActive(), CmdSketcherConstrainAngle::isActive(), CmdSketcherConstrainRadius::isActive(), CmdSketcherConstrainTangent::isActive(), CmdSketcherConstrainPerpendicular::isActive(), CmdSketcherConstrainParallel::isActive(), CmdSketcherConstrainDistanceY::isActive(), CmdSketcherConstrainDistanceX::isActive(), CmdSketcherConstrainPointOnObject::isActive(), CmdSketcherConstrainDistance::isActive(), CmdSketcherConstrainCoincident::isActive(), CmdSketcherConstrainLock::isActive(), CmdSketcherConstrainVertical::isActive(), and CmdSketcherConstrainHorizontal::isActive().
void updateDatumDistance | ( | Gui::Document * | doc, | |
Constraint * | constr | |||
) |
Definition at line 57 of file CommandConstraints.cpp.
References SketcherGui::ViewProviderSketch::draw(), SketcherGui::ViewProviderSketch::getClassTypeId(), Gui::Document::getInEdit(), SketcherGui::ViewProviderSketch::getScaleFactor(), and Sketcher::Constraint::LabelDistance.
Referenced by CmdSketcherConstrainAngle::activated(), CmdSketcherConstrainDistanceY::activated(), CmdSketcherConstrainDistanceX::activated(), and CmdSketcherConstrainDistance::activated().