#include <TaskSketcherGeneral.h>
Public Slots | |
void | setGridSize (const QString &val) |
void | toggleAutoconstraints (int state) |
void | toggleGridSnap (int state) |
Signals | |
void | setGridSnap (int Type) |
Public Member Functions | |
void | OnChange (Gui::SelectionSingleton::SubjectType &rCaller, Gui::SelectionSingleton::MessageType Reason) |
Observer message from the Selection. | |
TaskSketcherGeneral (ViewProviderSketch *sketchView) | |
~TaskSketcherGeneral () | |
Protected Member Functions | |
void | changeEvent (QEvent *e) |
Protected Attributes | |
ViewProviderSketch * | sketchView |
Definition at line 40 of file TaskSketcherGeneral.h.
TaskSketcherGeneral::TaskSketcherGeneral | ( | ViewProviderSketch * | sketchView | ) |
Definition at line 43 of file TaskSketcherGeneral.cpp.
References SketcherGui::Ui_TaskSketcherGeneral::checkBoxAutoconstraints, SketcherGui::Ui_TaskSketcherGeneral::checkBoxGridSnap, SketcherGui::Ui_TaskSketcherGeneral::comboBoxGridSize, draftlibs::fcgeo::connect(), iisTaskBox::groupLayout(), Gui::Selection(), setGridSize(), SketcherGui::Ui_TaskSketcherGeneral::setupUi(), toggleAutoconstraints(), and toggleGridSnap().
TaskSketcherGeneral::~TaskSketcherGeneral | ( | ) |
Definition at line 74 of file TaskSketcherGeneral.cpp.
References Gui::Selection().
void TaskSketcherGeneral::changeEvent | ( | QEvent * | e | ) | [protected] |
Definition at line 98 of file TaskSketcherGeneral.cpp.
References SketcherGui::Ui_TaskSketcherGeneral::retranslateUi().
void SketcherGui::TaskSketcherGeneral::OnChange | ( | Gui::SelectionSingleton::SubjectType & | rCaller, | |
Gui::SelectionSingleton::MessageType | Reason | |||
) |
Observer message from the Selection.
void TaskSketcherGeneral::setGridSize | ( | const QString & | val | ) | [slot] |
Definition at line 80 of file TaskSketcherGeneral.cpp.
References PartGui::ViewProvider2DObject::GridSize, App::PropertyFloat::setValue(), sketchView, and Base::UnitsApi::translateUnit().
Referenced by TaskSketcherGeneral(), and toggleGridSnap().
void SketcherGui::TaskSketcherGeneral::setGridSnap | ( | int | Type | ) | [signal] |
void TaskSketcherGeneral::toggleAutoconstraints | ( | int | state | ) | [slot] |
Definition at line 93 of file TaskSketcherGeneral.cpp.
References SketcherGui::ViewProviderSketch::Autoconstraints, App::PropertyBool::setValue(), and sketchView.
Referenced by TaskSketcherGeneral().
void TaskSketcherGeneral::toggleGridSnap | ( | int | state | ) | [slot] |
Definition at line 87 of file TaskSketcherGeneral.cpp.
References SketcherGui::Ui_TaskSketcherGeneral::comboBoxGridSize, PartGui::ViewProvider2DObject::GridSnap, setGridSize(), App::PropertyBool::setValue(), and sketchView.
Referenced by TaskSketcherGeneral().
Definition at line 62 of file TaskSketcherGeneral.h.
Referenced by setGridSize(), toggleAutoconstraints(), and toggleGridSnap().