#include <TaskFemConstraint.h>
Public Member Functions | |
| const std::string | getReferences (const std::vector< std::string > &items) const |
| virtual const std::string | getReferences (void) const |
| const std::string | getScale () const |
| TaskFemConstraint (ViewProviderFemConstraint *ConstraintView, QWidget *parent=0, const char *pixmapname="") | |
| virtual | ~TaskFemConstraint () |
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 | |
| enum | { seldir, selref, selloc, selnone } |
Protected Slots | |
| void | onButtonReference (const bool pressed=true) |
| void | onButtonWizCancel () |
| void | onButtonWizOk () |
| void | onReferenceDeleted (const int row) |
| void | setSelection (QListWidgetItem *item) |
Protected Slots inherited from QSint::ActionGroup | |
| void | processHide () |
| void | processShow () |
Protected Member Functions | |
| virtual void | changeEvent (QEvent *e) |
| void | createDeleteAction (QListWidget *parentList) |
| bool | KeyEvent (QEvent *e) |
| virtual void | keyPressEvent (QKeyEvent *ke) |
| const QString | makeRefText (const App::DocumentObject *obj, const std::string &subName) const |
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 | |
| ViewProviderFemConstraint * | ConstraintView |
| QAction * | deleteAction |
| QWidget * | proxy |
| enum FemGui::TaskFemConstraint:: { ... } | selectionMode |
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 | |
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... | |
Properties inherited from QSint::ActionGroup | |
| bool | expandable |
| bool | header |
| QString | headerText |
Member Enumeration Documentation
◆ anonymous enum
Constructor & Destructor Documentation
◆ TaskFemConstraint()
| TaskFemConstraint::TaskFemConstraint | ( | ViewProviderFemConstraint * | ConstraintView, |
| QWidget * | parent = 0, |
||
| const char * | pixmapname = "" |
||
| ) |
◆ ~TaskFemConstraint()
|
virtual |
Member Function Documentation
◆ changeEvent()
|
protectedvirtual |
Reimplemented in FemGui::TaskFemConstraintGear, FemGui::TaskFemConstraintDisplacement, FemGui::TaskFemConstraintPulley, FemGui::TaskFemConstraintFluidBoundary, FemGui::TaskFemConstraintBearing, FemGui::TaskFemConstraintForce, FemGui::TaskFemConstraintHeatflux, FemGui::TaskFemConstraintTransform, FemGui::TaskFemConstraintTemperature, FemGui::TaskFemConstraintContact, FemGui::TaskFemConstraintPressure, FemGui::TaskFemConstraintPlaneRotation, FemGui::TaskFemConstraintFixed, and FemGui::TaskFemConstraintInitialTemperature.
◆ createDeleteAction()
|
protected |
References deleteAction.
Referenced by FemGui::TaskFemConstraintBearing::TaskFemConstraintBearing(), FemGui::TaskFemConstraintDisplacement::TaskFemConstraintDisplacement(), FemGui::TaskFemConstraintFixed::TaskFemConstraintFixed(), FemGui::TaskFemConstraintFluidBoundary::TaskFemConstraintFluidBoundary(), FemGui::TaskFemConstraintForce::TaskFemConstraintForce(), FemGui::TaskFemConstraintHeatflux::TaskFemConstraintHeatflux(), FemGui::TaskFemConstraintPlaneRotation::TaskFemConstraintPlaneRotation(), FemGui::TaskFemConstraintPressure::TaskFemConstraintPressure(), FemGui::TaskFemConstraintTemperature::TaskFemConstraintTemperature(), and FemGui::TaskFemConstraintTransform::TaskFemConstraintTransform().
◆ getReferences() [1/2]
| const std::string TaskFemConstraint::getReferences | ( | const std::vector< std::string > & | items | ) | const |
◆ getReferences() [2/2]
|
virtual |
Reimplemented in FemGui::TaskFemConstraintFluidBoundary, FemGui::TaskFemConstraintBearing, FemGui::TaskFemConstraintForce, FemGui::TaskFemConstraintHeatflux, FemGui::TaskFemConstraintDisplacement, FemGui::TaskFemConstraintPlaneRotation, FemGui::TaskFemConstraintPressure, FemGui::TaskFemConstraintTemperature, FemGui::TaskFemConstraintTransform, FemGui::TaskFemConstraintContact, and FemGui::TaskFemConstraintFixed.
Referenced by FemGui::TaskDlgFemConstraint::accept(), FemGui::TaskFemConstraintFixed::getReferences(), FemGui::TaskFemConstraintContact::getReferences(), FemGui::TaskFemConstraintPressure::getReferences(), FemGui::TaskFemConstraintPlaneRotation::getReferences(), FemGui::TaskFemConstraintDisplacement::getReferences(), FemGui::TaskFemConstraintTemperature::getReferences(), FemGui::TaskFemConstraintTransform::getReferences(), FemGui::TaskFemConstraintHeatflux::getReferences(), FemGui::TaskFemConstraintForce::getReferences(), FemGui::TaskFemConstraintBearing::getReferences(), and FemGui::TaskFemConstraintFluidBoundary::getReferences().
◆ getScale()
| const std::string TaskFemConstraint::getScale | ( | ) | const |
References ConstraintView, Gui::ViewProviderDocumentObject::getObject(), App::PropertyInteger::getValue(), and Fem::Constraint::Scale.
Referenced by FemGui::TaskDlgFemConstraintInitialTemperature::accept(), FemGui::TaskDlgFemConstraintFixed::accept(), FemGui::TaskDlgFemConstraintPlaneRotation::accept(), FemGui::TaskDlgFemConstraintPressure::accept(), FemGui::TaskDlgFemConstraintContact::accept(), FemGui::TaskDlgFemConstraintTemperature::accept(), FemGui::TaskDlgFemConstraintHeatflux::accept(), FemGui::TaskDlgFemConstraintTransform::accept(), FemGui::TaskDlgFemConstraintForce::accept(), FemGui::TaskDlgFemConstraintDisplacement::accept(), and FemGui::TaskDlgFemConstraintFluidBoundary::accept().
◆ KeyEvent()
References deleteAction.
Referenced by FemGui::TaskFemConstraintFixed::event(), FemGui::TaskFemConstraintPlaneRotation::event(), FemGui::TaskFemConstraintPressure::event(), FemGui::TaskFemConstraintTemperature::event(), FemGui::TaskFemConstraintBearing::event(), FemGui::TaskFemConstraintForce::event(), FemGui::TaskFemConstraintTransform::event(), FemGui::TaskFemConstraintHeatflux::event(), FemGui::TaskFemConstraintFluidBoundary::event(), and FemGui::TaskFemConstraintDisplacement::event().
◆ keyPressEvent()
|
protectedvirtual |
◆ makeRefText()
|
protected |
Referenced by FemGui::TaskFemConstraintBearing::onSelectionChanged(), FemGui::TaskFemConstraintGear::onSelectionChanged(), FemGui::TaskFemConstraintBearing::TaskFemConstraintBearing(), FemGui::TaskFemConstraintContact::TaskFemConstraintContact(), FemGui::TaskFemConstraintDisplacement::TaskFemConstraintDisplacement(), FemGui::TaskFemConstraintFixed::TaskFemConstraintFixed(), FemGui::TaskFemConstraintFluidBoundary::TaskFemConstraintFluidBoundary(), FemGui::TaskFemConstraintForce::TaskFemConstraintForce(), FemGui::TaskFemConstraintGear::TaskFemConstraintGear(), FemGui::TaskFemConstraintHeatflux::TaskFemConstraintHeatflux(), FemGui::TaskFemConstraintPlaneRotation::TaskFemConstraintPlaneRotation(), FemGui::TaskFemConstraintPressure::TaskFemConstraintPressure(), FemGui::TaskFemConstraintTemperature::TaskFemConstraintTemperature(), and FemGui::TaskFemConstraintTransform::TaskFemConstraintTransform().
◆ onButtonReference
|
protectedslot |
◆ onButtonWizCancel
|
protectedslot |
◆ onButtonWizOk
|
protectedslot |
◆ onReferenceDeleted
|
protectedslot |
◆ setSelection
|
protectedslot |
References Gui::SelectionSingleton::addSelection(), Gui::SelectionSingleton::clearSelection(), ConstraintView, App::DocumentObject::getDocument(), App::Document::getName(), Gui::ViewProviderDocumentObject::getObject(), and Gui::Selection().
Referenced by FemGui::TaskFemConstraintContact::TaskFemConstraintContact(), FemGui::TaskFemConstraintDisplacement::TaskFemConstraintDisplacement(), FemGui::TaskFemConstraintFixed::TaskFemConstraintFixed(), FemGui::TaskFemConstraintFluidBoundary::TaskFemConstraintFluidBoundary(), FemGui::TaskFemConstraintForce::TaskFemConstraintForce(), FemGui::TaskFemConstraintHeatflux::TaskFemConstraintHeatflux(), FemGui::TaskFemConstraintPlaneRotation::TaskFemConstraintPlaneRotation(), FemGui::TaskFemConstraintPressure::TaskFemConstraintPressure(), FemGui::TaskFemConstraintTemperature::TaskFemConstraintTemperature(), and FemGui::TaskFemConstraintTransform::TaskFemConstraintTransform().
Member Data Documentation
◆ ConstraintView
|
protected |
Referenced by getScale(), keyPressEvent(), onButtonWizCancel(), onButtonWizOk(), onReferenceDeleted(), FemGui::TaskFemConstraintBearing::onSelectionChanged(), FemGui::TaskFemConstraintGear::onSelectionChanged(), setSelection(), TaskFemConstraint(), FemGui::TaskFemConstraintBearing::TaskFemConstraintBearing(), FemGui::TaskFemConstraintContact::TaskFemConstraintContact(), FemGui::TaskFemConstraintDisplacement::TaskFemConstraintDisplacement(), FemGui::TaskFemConstraintFixed::TaskFemConstraintFixed(), FemGui::TaskFemConstraintFluidBoundary::TaskFemConstraintFluidBoundary(), FemGui::TaskFemConstraintForce::TaskFemConstraintForce(), FemGui::TaskFemConstraintGear::TaskFemConstraintGear(), FemGui::TaskFemConstraintHeatflux::TaskFemConstraintHeatflux(), FemGui::TaskFemConstraintInitialTemperature::TaskFemConstraintInitialTemperature(), FemGui::TaskFemConstraintPlaneRotation::TaskFemConstraintPlaneRotation(), FemGui::TaskFemConstraintPressure::TaskFemConstraintPressure(), FemGui::TaskFemConstraintPulley::TaskFemConstraintPulley(), FemGui::TaskFemConstraintTemperature::TaskFemConstraintTemperature(), and FemGui::TaskFemConstraintTransform::TaskFemConstraintTransform().
◆ deleteAction
|
protected |
Referenced by createDeleteAction(), KeyEvent(), FemGui::TaskFemConstraintBearing::TaskFemConstraintBearing(), FemGui::TaskFemConstraintDisplacement::TaskFemConstraintDisplacement(), FemGui::TaskFemConstraintFixed::TaskFemConstraintFixed(), FemGui::TaskFemConstraintFluidBoundary::TaskFemConstraintFluidBoundary(), FemGui::TaskFemConstraintForce::TaskFemConstraintForce(), FemGui::TaskFemConstraintHeatflux::TaskFemConstraintHeatflux(), FemGui::TaskFemConstraintPlaneRotation::TaskFemConstraintPlaneRotation(), FemGui::TaskFemConstraintPressure::TaskFemConstraintPressure(), FemGui::TaskFemConstraintTemperature::TaskFemConstraintTemperature(), and FemGui::TaskFemConstraintTransform::TaskFemConstraintTransform().
◆ proxy
|
protected |
Referenced by FemGui::TaskFemConstraintBearing::changeEvent(), FemGui::TaskFemConstraintForce::changeEvent(), FemGui::TaskFemConstraintHeatflux::changeEvent(), FemGui::TaskFemConstraintFluidBoundary::changeEvent(), FemGui::TaskFemConstraintPulley::changeEvent(), FemGui::TaskFemConstraintGear::changeEvent(), FemGui::TaskFemConstraintBearing::TaskFemConstraintBearing(), FemGui::TaskFemConstraintContact::TaskFemConstraintContact(), FemGui::TaskFemConstraintDisplacement::TaskFemConstraintDisplacement(), FemGui::TaskFemConstraintFixed::TaskFemConstraintFixed(), FemGui::TaskFemConstraintFluidBoundary::TaskFemConstraintFluidBoundary(), FemGui::TaskFemConstraintForce::TaskFemConstraintForce(), FemGui::TaskFemConstraintHeatflux::TaskFemConstraintHeatflux(), FemGui::TaskFemConstraintInitialTemperature::TaskFemConstraintInitialTemperature(), FemGui::TaskFemConstraintPlaneRotation::TaskFemConstraintPlaneRotation(), FemGui::TaskFemConstraintPressure::TaskFemConstraintPressure(), FemGui::TaskFemConstraintTemperature::TaskFemConstraintTemperature(), and FemGui::TaskFemConstraintTransform::TaskFemConstraintTransform().
◆ selectionMode
| enum { ... } FemGui::TaskFemConstraint::selectionMode |
Referenced by Mod.PartDesign.FeatureHole.TaskHole.TaskHole::buttonRef1(), Mod.PartDesign.FeatureHole.TaskHole.TaskHole::buttonRef2(), Mod.PartDesign.FeatureHole.TaskHole.TaskHole::buttonSupport(), onButtonReference(), FemGui::TaskFemConstraintBearing::onSelectionChanged(), FemGui::TaskFemConstraintGear::onSelectionChanged(), and TaskFemConstraint().
The documentation for this class was generated from the following files:
- src/Mod/Fem/Gui/TaskFemConstraint.h
- src/Mod/Fem/Gui/TaskFemConstraint.cpp
Public Member Functions inherited from
1.8.17