#include <TaskSketcherConstrains.h>
Public Slots | |
| void | on_comboBoxFilter_currentIndexChanged (int) |
| void | on_extendedInformation_stateChanged (int state) |
| void | on_filterInternalAlignment_stateChanged (int state) |
| void | on_listWidgetConstraints_emitCenterSelectedItems (void) |
| void | on_listWidgetConstraints_itemActivated (QListWidgetItem *item) |
| void | on_listWidgetConstraints_itemChanged (QListWidgetItem *item) |
| void | on_listWidgetConstraints_itemSelectionChanged (void) |
| void | on_listWidgetConstraints_updateActiveStatus (QListWidgetItem *item, bool status) |
| void | on_listWidgetConstraints_updateDrivingStatus (QListWidgetItem *item, bool status) |
Public Slots inherited from QSint::ActionGroup | |
| void | setExpandable (bool expandable=true) |
| Makes the group expandable if expandable is set to true. More... | |
| void | setHeader (bool enable=true) |
| Enables/disables group's header according to enable. More... | |
| void | setHeaderText (const QString &title) |
| Sets text of the header to title. More... | |
| void | showHide () |
| Expands/collapses the group. More... | |
Public Member Functions | |
| void | onSelectionChanged (const Gui::SelectionChanges &msg) |
| Observer message from the Selection. More... | |
| TaskSketcherConstrains (ViewProviderSketch *sketchView) | |
| ~TaskSketcherConstrains () | |
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=0) | |
| Constructor. More... | |
| TaskBox (const QString &title, bool expandable=true, QWidget *parent=0) | |
| Constructor. More... | |
| TaskBox (QWidget *parent=0) | |
| Constructor. More... | |
| ~TaskBox () | |
Public Member Functions inherited from QSint::ActionGroup | |
| ActionGroup (const QPixmap &icon, const QString &title, bool expandable=true, QWidget *parent=0) | |
| Constructor. More... | |
| ActionGroup (const QString &title, bool expandable=true, QWidget *parent=0) | |
| Constructor. More... | |
| ActionGroup (QWidget *parent=0) | |
| 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 | blockConnection (bool block) |
| void | detachSelection () |
| Detaches from the selection. More... | |
| bool | isConnectionAttached () const |
| bool | isConnectionBlocked () const |
| SelectionObserver (bool attach=true, int resolve=1) | |
| Constructor. More... | |
| SelectionObserver (const Gui::ViewProviderDocumentObject *vp, bool attach=true, int resolve=1) | |
| 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 |
Member Typedef Documentation
◆ Connection
|
protected |
Constructor & Destructor Documentation
◆ TaskSketcherConstrains()
| TaskSketcherConstrains::TaskSketcherConstrains | ( | ViewProviderSketch * | sketchView | ) |
References connectionConstraintsChanged, QSint::ActionGroup::groupLayout(), on_comboBoxFilter_currentIndexChanged(), on_extendedInformation_stateChanged(), on_filterInternalAlignment_stateChanged(), on_listWidgetConstraints_emitCenterSelectedItems(), on_listWidgetConstraints_itemActivated(), on_listWidgetConstraints_itemChanged(), on_listWidgetConstraints_itemSelectionChanged(), on_listWidgetConstraints_updateActiveStatus(), on_listWidgetConstraints_updateDrivingStatus(), SketcherGui::ViewProviderSketch::signalConstraintsChanged, and sketchView.
◆ ~TaskSketcherConstrains()
| TaskSketcherConstrains::~TaskSketcherConstrains | ( | ) |
References connectionConstraintsChanged.
Member Function Documentation
◆ changeEvent()
|
protected |
◆ on_comboBoxFilter_currentIndexChanged
|
slot |
Referenced by TaskSketcherConstrains().
◆ on_extendedInformation_stateChanged
|
slot |
Referenced by TaskSketcherConstrains().
◆ on_filterInternalAlignment_stateChanged
|
slot |
Referenced by TaskSketcherConstrains().
◆ on_listWidgetConstraints_emitCenterSelectedItems
|
slot |
References SketcherGui::ViewProviderSketch::centerSelection(), and sketchView.
Referenced by TaskSketcherConstrains().
◆ on_listWidgetConstraints_itemActivated
|
slot |
References ConstraintItem::ConstraintNbr, SketcherGui::EditDatumDialog::exec(), ConstraintItem::isDimensional(), and sketchView.
Referenced by TaskSketcherConstrains().
◆ on_listWidgetConstraints_itemChanged
|
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(), Gui::Command::openCommand(), sketchView, and Base::Tools::toStdString().
Referenced by TaskSketcherConstrains().
◆ on_listWidgetConstraints_itemSelectionChanged
|
slot |
References Gui::SelectionSingleton::addSelection(), Gui::SelectionObserver::blockConnection(), 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 TaskSketcherConstrains().
◆ on_listWidgetConstraints_updateActiveStatus
|
slot |
References Gui::Application::commandManager(), Gui::Application::Instance, and Gui::CommandManager::runCommandByName().
Referenced by TaskSketcherConstrains().
◆ on_listWidgetConstraints_updateDrivingStatus
|
slot |
References Gui::Application::commandManager(), Gui::Application::Instance, and Gui::CommandManager::runCommandByName().
Referenced by TaskSketcherConstrains().
◆ onSelectionChanged()
|
virtual |
Observer message from the Selection.
Implements Gui::SelectionObserver.
References Gui::SelectionChanges::AddSelection, Gui::SelectionChanges::ClrSelection, ConstraintItem::ConstraintNbr, App::DocumentObject::getDocument(), App::Document::getName(), App::DocumentObject::getNameInDocument(), SketcherGui::ViewProviderSketch::getSketchObject(), Gui::SelectionChanges::RmvSelection, Gui::SelectionChanges::SetSelection, and sketchView.
Member Data Documentation
◆ connectionConstraintsChanged
|
protected |
Referenced by TaskSketcherConstrains(), and ~TaskSketcherConstrains().
◆ sketchView
|
protected |
The documentation for this class was generated from the following files:
- src/Mod/Sketcher/Gui/TaskSketcherConstrains.h
- src/Mod/Sketcher/Gui/TaskSketcherConstrains.cpp
Public Slots inherited from
1.8.17