#include <TaskSketcherConstraints.h>
Public Member Functions | |
| void | onSelectionChanged (const Gui::SelectionChanges &msg) |
| Observer message from the Selection. More... | |
| TaskSketcherConstraints (ViewProviderSketch *sketchView) | |
| ~TaskSketcherConstraints () | |
Public Member Functions inherited from Gui::TaskView::TaskBox | |
| void | hideGroupBox () |
| bool | isGroupVisible () const |
| virtual QSize | minimumSizeHint () const |
| TaskBox (const QPixmap &icon, const QString &title, bool expandable=true, QWidget *parent=nullptr) | |
| Constructor. More... | |
| TaskBox (const QString &title, bool expandable=true, QWidget *parent=nullptr) | |
| Constructor. More... | |
| TaskBox (QWidget *parent=nullptr) | |
| Constructor. More... | |
| ~TaskBox () | |
Public Member Functions inherited from QSint::ActionGroup | |
| ActionGroup (const QPixmap &icon, const QString &title, bool expandable=true, QWidget *parent=nullptr) | |
| Constructor. More... | |
| ActionGroup (const QString &title, bool expandable=true, QWidget *parent=nullptr) | |
| Constructor. More... | |
| ActionGroup (QWidget *parent=nullptr) | |
| Constructor. More... | |
| ActionLabel * | addAction (QAction *action, bool addToLayout=true, bool addStretch=true) |
| Creates action item from the action and returns it. More... | |
| ActionLabel * | addActionLabel (ActionLabel *label, bool addToLayout=true, bool addStretch=true) |
| Adds label to the group. More... | |
| bool | addWidget (QWidget *widget, bool addToLayout=true, bool addStretch=true) |
| Adds widget to the group. More... | |
| QBoxLayout * | groupLayout () |
| Returns group's layout (QVBoxLayout by default). More... | |
| bool | hasHeader () const |
| Returns true if the group has header. More... | |
| QString | headerText () const |
| Returns text of the header. More... | |
| bool | isExpandable () const |
| Returns true if the group is expandable. More... | |
| QSize | minimumSizeHint () const |
| void | setScheme (ActionPanelScheme *pointer) |
| Sets the scheme of the panel and all the child groups to scheme. More... | |
Public Member Functions inherited from Gui::SelectionObserver | |
| void | attachSelection () |
| Attaches to the selection. More... | |
| bool | blockSelection (bool block) |
| void | detachSelection () |
| Detaches from the selection. More... | |
| bool | isSelectionAttached () const |
| bool | isSelectionBlocked () const |
| SelectionObserver (bool attach=true, ResolveMode resolve=ResolveMode::OldStyleElement) | |
| Constructor. More... | |
| SelectionObserver (const Gui::ViewProviderDocumentObject *vp, bool attach=true, ResolveMode resolve=ResolveMode::OldStyleElement) | |
| Constructor. More... | |
| virtual | ~SelectionObserver () |
Protected Types | |
| typedef boost::signals2::connection | Connection |
Protected Member Functions | |
| void | changeEvent (QEvent *e) |
Protected Member Functions inherited from Gui::TaskView::TaskBox | |
| void | actionEvent (QActionEvent *) |
| void | showEvent (QShowEvent *) |
Protected Member Functions inherited from QSint::ActionGroup | |
| void | init (bool header) |
| virtual void | paintEvent (QPaintEvent *event) |
Protected Attributes | |
| Connection | connectionConstraintsChanged |
| ViewProviderSketch * | sketchView |
Protected Attributes inherited from QSint::ActionGroup | |
| double | m_foldDelta |
| int | m_foldDirection |
| QPixmap | m_foldPixmap |
| double | m_foldStep |
| double | m_fullHeight |
| double | m_tempHeight |
| QWidget * | myDummy |
| class TaskGroup * | myGroup |
| class TaskHeader * | myHeader |
| ActionPanelScheme * | myScheme |
Additional Inherited Members | |
Protected Slots inherited from QSint::ActionGroup | |
| void | processHide () |
| void | processShow () |
Properties inherited from QSint::ActionGroup | |
| bool | expandable |
| bool | header |
| QString | headerText |
|
protected |
| TaskSketcherConstraints::TaskSketcherConstraints | ( | ViewProviderSketch * | sketchView | ) |
References draftgeoutils.faces::bind(), draftgeoutils.intersections::connect(), connectionConstraintsChanged, QSint::ActionGroup::groupLayout(), on_comboBoxFilter_currentIndexChanged(), on_hideAllButton_clicked(), on_listWidgetConstraints_emitCenterSelectedItems(), on_listWidgetConstraints_emitHideSelection3DVisibility(), on_listWidgetConstraints_emitShowSelection3DVisibility(), on_listWidgetConstraints_itemActivated(), on_listWidgetConstraints_itemChanged(), on_listWidgetConstraints_itemSelectionChanged(), on_listWidgetConstraints_updateActiveStatus(), on_listWidgetConstraints_updateDrivingStatus(), on_multipleFilterButton_clicked(), on_settingsDialogButton_clicked(), on_showAllButton_clicked(), on_visibilityButton_clicked(), on_visibilityButton_trackingaction_changed(), SketcherGui::ViewProviderSketch::signalConstraintsChanged, and sketchView.
| TaskSketcherConstraints::~TaskSketcherConstraints | ( | ) |
References connectionConstraintsChanged.
|
protected |
|
slot |
|
slot |
Referenced by on_settingsDialogButton_clicked().
|
slot |
Referenced by on_settingsDialogButton_clicked().
|
slot |
Referenced by TaskSketcherConstraints().
|
slot |
References SketcherGui::ViewProviderSketch::centerSelection(), and sketchView.
Referenced by TaskSketcherConstraints().
|
slot |
Referenced by TaskSketcherConstraints().
|
slot |
Referenced by TaskSketcherConstraints().
|
slot |
References ConstraintItem::ConstraintNbr, SketcherGui::EditDatumDialog::exec(), ConstraintItem::isDimensional(), and sketchView.
Referenced by TaskSketcherConstraints().
|
slot |
References Gui::Command::abortCommand(), Gui::cmdAppObjectArgs(), Gui::Command::commitCommand(), ConstraintItem::ConstraintNbr, Sketcher::SketchObject::Constraints, ConstraintItem::data(), Base::Tools::escapedUnicodeFromUtf8(), Sketcher::PropertyConstraintList::getConstraintName(), Gui::MainWindow::getInstance(), SketcherGui::ViewProviderSketch::getIsShownVirtualSpace(), SketcherGui::ViewProviderSketch::getSketchObject(), Sketcher::PropertyConstraintList::getValues(), Sketcher::Constraint::Name, Gui::Command::openCommand(), draftutils.translate::QT_TRANSLATE_NOOP, sketchView, and Base::Tools::toStdString().
Referenced by TaskSketcherConstraints().
|
slot |
References Gui::SelectionSingleton::addSelections(), Gui::SelectionObserver::blockSelection(), Gui::SelectionSingleton::clearSelection(), ConstraintItem::ConstraintNbr, Sketcher::PropertyConstraintList::getConstraintName(), App::DocumentObject::getDocument(), App::Document::getName(), App::DocumentObject::getNameInDocument(), SketcherGui::ViewProviderSketch::getSketchObject(), Gui::Selection(), and sketchView.
Referenced by TaskSketcherConstraints().
|
slot |
References Gui::Application::commandManager(), Gui::Application::Instance, and Gui::CommandManager::runCommandByName().
Referenced by TaskSketcherConstraints().
|
slot |
References Gui::Application::commandManager(), Gui::Application::Instance, and Gui::CommandManager::runCommandByName().
Referenced by TaskSketcherConstraints().
|
slot |
References SketcherGui::ConstraintFilter::getFilterIntegral(), SketcherGui::ConstraintMultiFilterDialog::getMultiFilter(), SketcherGui::ConstraintFilter::isFilterMatch(), SketcherGui::ConstraintFilter::Multiple, and SketcherGui::ConstraintMultiFilterDialog::setMultiFilter().
Referenced by TaskSketcherConstraints().
|
slot |
|
slot |
Referenced by TaskSketcherConstraints().
|
slot |
Referenced by TaskSketcherConstraints().
|
slot |
References App::GetApplication(), ParameterGrp::GetBool(), App::Application::GetParameterGroupByPath(), and ParameterGrp::SetBool().
Referenced by TaskSketcherConstraints().
|
slot |
Referenced by on_settingsDialogButton_clicked().
|
virtual |
Observer message from the Selection.
Implements Gui::SelectionObserver.
References Gui::SelectionChanges::AddSelection, SketcherGui::ConstraintFilter::AssociatedConstraints, Gui::SelectionObserver::blockSelection(), Gui::SelectionChanges::ClrSelection, ConstraintItem::ConstraintNbr, App::DocumentObject::getDocument(), App::Document::getName(), App::DocumentObject::getNameInDocument(), SketcherGui::ViewProviderSketch::getSketchObject(), Sketcher::none, Gui::SelectionChanges::RmvSelection, draftutils.gui_utils::select(), SketcherGui::ConstraintFilter::Selection, Gui::SelectionChanges::SetSelection, and sketchView.
|
protected |
Referenced by TaskSketcherConstraints(), and ~TaskSketcherConstraints().
|
protected |