#include <TaskSketcherConstrains.h>
Public Slots | |
void | on_comboBoxFilter_currentIndexChanged (int) |
void | on_listWidgetConstraints_itemActivated (QListWidgetItem *item) |
void | on_listWidgetConstraints_itemSelectionChanged (void) |
Public Member Functions | |
void | onSelectionChanged (const Gui::SelectionChanges &msg) |
Observer message from the Selection. | |
void | slotConstraintsChanged (void) |
TaskSketcherConstrains (ViewProviderSketch *sketchView) | |
~TaskSketcherConstrains () | |
Protected Types | |
typedef boost::BOOST_SIGNALS_NAMESPACE::connection | Connection |
Protected Member Functions | |
void | changeEvent (QEvent *e) |
Protected Attributes | |
Connection | connectionConstraintsChanged |
ViewProviderSketch * | sketchView |
Definition at line 41 of file TaskSketcherConstrains.h.
typedef boost::BOOST_SIGNALS_NAMESPACE::connection SketcherGui::TaskSketcherConstrains::Connection [protected] |
Reimplemented from Gui::SelectionObserver.
Definition at line 63 of file TaskSketcherConstrains.h.
TaskSketcherConstrains::TaskSketcherConstrains | ( | ViewProviderSketch * | sketchView | ) |
Definition at line 59 of file TaskSketcherConstrains.cpp.
References draftlibs::fcgeo::bind(), SketcherGui::Ui_TaskSketcherConstrains::comboBoxFilter, draftlibs::fcgeo::connect(), connectionConstraintsChanged, iisTaskBox::groupLayout(), SketcherGui::Ui_TaskSketcherConstrains::listWidgetConstraints, on_comboBoxFilter_currentIndexChanged(), on_listWidgetConstraints_itemActivated(), on_listWidgetConstraints_itemSelectionChanged(), SketcherGui::Ui_TaskSketcherConstrains::setupUi(), SketcherGui::ViewProviderSketch::signalConstraintsChanged, and slotConstraintsChanged().
TaskSketcherConstrains::~TaskSketcherConstrains | ( | ) |
Definition at line 95 of file TaskSketcherConstrains.cpp.
References connectionConstraintsChanged.
void TaskSketcherConstrains::changeEvent | ( | QEvent * | e | ) | [protected] |
Definition at line 296 of file TaskSketcherConstrains.cpp.
References SketcherGui::Ui_TaskSketcherConstrains::retranslateUi().
void TaskSketcherConstrains::on_comboBoxFilter_currentIndexChanged | ( | int | ) | [slot] |
Definition at line 144 of file TaskSketcherConstrains.cpp.
References slotConstraintsChanged().
Referenced by TaskSketcherConstrains().
void TaskSketcherConstrains::on_listWidgetConstraints_itemActivated | ( | QListWidgetItem * | item | ) | [slot] |
Definition at line 165 of file TaskSketcherConstrains.cpp.
References Sketcher::Angle, ConstraintItem::ConstraintNbr, Sketcher::Distance, Sketcher::DistanceX, Sketcher::DistanceY, SketcherGui::EditDatumDialog::exec(), Sketcher::Radius, sketchView, and ConstraintItem::Type.
Referenced by TaskSketcherConstrains().
void TaskSketcherConstrains::on_listWidgetConstraints_itemSelectionChanged | ( | void | ) | [slot] |
Definition at line 149 of file TaskSketcherConstrains.cpp.
References Gui::SelectionObserver::blockConnection(), App::DocumentObject::getDocument(), App::Document::getName(), App::DocumentObject::getNameInDocument(), SketcherGui::ViewProviderSketch::getSketchObject(), SketcherGui::Ui_TaskSketcherConstrains::listWidgetConstraints, Gui::Selection(), and sketchView.
Referenced by TaskSketcherConstrains().
void TaskSketcherConstrains::onSelectionChanged | ( | const Gui::SelectionChanges & | msg | ) | [virtual] |
Observer message from the Selection.
Implements Gui::SelectionObserver.
Definition at line 101 of file TaskSketcherConstrains.cpp.
References Gui::SelectionChanges::AddSelection, Gui::SelectionChanges::ClrSelection, ConstraintItem::ConstraintNbr, App::DocumentObject::getDocument(), App::Document::getName(), App::DocumentObject::getNameInDocument(), SketcherGui::ViewProviderSketch::getSketchObject(), SketcherGui::Ui_TaskSketcherConstrains::listWidgetConstraints, Gui::SelectionChanges::pDocName, Gui::SelectionChanges::pObjectName, RobotExample::pos, Gui::SelectionChanges::pSubName, Gui::SelectionChanges::RmvSelection, Draft::select(), Gui::SelectionChanges::SetSelection, sketchView, and Gui::SelectionChanges::Type.
void TaskSketcherConstrains::slotConstraintsChanged | ( | void | ) |
Definition at line 186 of file TaskSketcherConstrains.cpp.
References Py::abs(), Sketcher::Angle, Gui::BitmapFactory(), Sketcher::Coincident, SketcherGui::Ui_TaskSketcherConstrains::comboBoxFilter, Sketcher::SketchObject::Constraints, draftlibs::fcvec::dist(), Sketcher::Distance, Sketcher::DistanceX, Sketcher::DistanceY, Sketcher::Equal, SketcherGui::ViewProviderSketch::getSketchObject(), Sketcher::PropertyConstraintList::getValues(), Sketcher::Horizontal, SketcherGui::Ui_TaskSketcherConstrains::listWidgetConstraints, Sketcher::Parallel, Sketcher::Perpendicular, Sketcher::PointOnObject, Sketcher::Radius, sketchView, boost::numeric::bindings::atlas::detail::symm(), Sketcher::Symmetric, Sketcher::Tangent, and Sketcher::Vertical.
Referenced by on_comboBoxFilter_currentIndexChanged(), and TaskSketcherConstrains().
Definition at line 64 of file TaskSketcherConstrains.h.
Referenced by TaskSketcherConstrains(), and ~TaskSketcherConstrains().
Definition at line 62 of file TaskSketcherConstrains.h.
Referenced by on_listWidgetConstraints_itemActivated(), on_listWidgetConstraints_itemSelectionChanged(), onSelectionChanged(), and slotConstraintsChanged().