#include <TaskFemConstraintBearing.h>
Public Member Functions | |
bool | getAxial (void) const |
double | getDistance (void) const |
const std::string | getLocationName (void) const |
const std::string | getLocationObject (void) const |
virtual const std::string | getReferences () const |
TaskFemConstraintBearing (ViewProviderFemConstraint *ConstraintView, QWidget *parent=nullptr, const char *pixmapname="FEM_ConstraintBearing") | |
virtual | ~TaskFemConstraintBearing () |
Public Member Functions inherited from FemGui::TaskFemConstraint | |
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=nullptr, 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=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 Member Functions | |
virtual void | changeEvent (QEvent *e) |
bool | event (QEvent *e) |
virtual void | onSelectionChanged (const Gui::SelectionChanges &msg) |
Protected Member Functions inherited from FemGui::TaskFemConstraint | |
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 |
const QString | makeRefText (const std::string &objName, const std::string &subName) const |
virtual void | onSelectionChanged (const Gui::SelectionChanges &) |
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 | |
Ui_TaskFemConstraintBearing * | ui |
Protected Attributes inherited from FemGui::TaskFemConstraint | |
Gui::WeakPtrT< 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... | |
Protected Types inherited from FemGui::TaskFemConstraint | |
enum | { seldir , selref , selloc , selnone } |
Protected Slots inherited from FemGui::TaskFemConstraint | |
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 () |
Properties inherited from QSint::ActionGroup | |
bool | expandable |
bool | header |
QString | headerText |
TaskFemConstraintBearing::TaskFemConstraintBearing | ( | ViewProviderFemConstraint * | ConstraintView, |
QWidget * | parent = nullptr , |
||
const char * | pixmapname = "FEM_ConstraintBearing" |
||
) |
References Fem::ConstraintBearing::AxialFree, Ui_TaskFemConstraintBearing::buttonDirection, Ui_TaskFemConstraintBearing::buttonLocation, Ui_TaskFemConstraintBearing::buttonReference, Ui_TaskFemConstraintBearing::checkAxial, Ui_TaskFemConstraintBearing::checkIsDriven, Ui_TaskFemConstraintBearing::checkReversed, draftgeoutils.intersections::connect(), FemGui::TaskFemConstraint::ConstraintView, FemGui::TaskFemConstraint::createDeleteAction(), FemGui::TaskFemConstraint::deleteAction, Fem::ConstraintBearing::Dist, App::PropertyLinkSub::getSubValues(), App::PropertyLinkSubList::getSubValues(), App::PropertyLinkSub::getValue(), App::PropertyFloat::getValue(), App::PropertyBool::getValue(), App::PropertyLinkSubList::getValues(), QSint::ActionGroup::groupLayout(), Ui_TaskFemConstraintBearing::labelCenterDistance, Ui_TaskFemConstraintBearing::labelDiameter, Ui_TaskFemConstraintBearing::labelForce, Ui_TaskFemConstraintBearing::labelForceAngle, Ui_TaskFemConstraintBearing::labelOtherDiameter, Ui_TaskFemConstraintBearing::labelTensionForce, Ui_TaskFemConstraintBearing::lineDirection, Ui_TaskFemConstraintBearing::lineLocation, Ui_TaskFemConstraintBearing::listReferences, Fem::ConstraintBearing::Location, FemGui::TaskFemConstraint::makeRefText(), FemGui::TaskFemConstraint::onButtonReference(), FemGui::TaskFemConstraint::proxy, Fem::Constraint::References, Ui_TaskFemConstraintBearing::setupUi(), Ui_TaskFemConstraintBearing::spinCenterDistance, Ui_TaskFemConstraintBearing::spinDiameter, Ui_TaskFemConstraintBearing::spinDistance, Ui_TaskFemConstraintBearing::spinForce, Ui_TaskFemConstraintBearing::spinForceAngle, Ui_TaskFemConstraintBearing::spinOtherDiameter, Ui_TaskFemConstraintBearing::spinTensionForce, and ui.
|
virtual |
References ui.
|
protectedvirtual |
Reimplemented from FemGui::TaskFemConstraint.
Reimplemented in FemGui::TaskFemConstraintGear, and FemGui::TaskFemConstraintPulley.
References FemGui::TaskFemConstraint::proxy, Ui_TaskFemConstraintBearing::retranslateUi(), Ui_TaskFemConstraintBearing::spinDistance, and ui.
References FemGui::TaskFemConstraint::KeyEvent().
bool TaskFemConstraintBearing::getAxial | ( | void | ) | const |
References Ui_TaskFemConstraintBearing::checkAxial, and ui.
Referenced by FemGui::TaskDlgFemConstraintBearing::accept().
double TaskFemConstraintBearing::getDistance | ( | void | ) | const |
References Ui_TaskFemConstraintBearing::spinDistance, and ui.
Referenced by FemGui::TaskDlgFemConstraintBearing::accept().
const std::string TaskFemConstraintBearing::getLocationName | ( | void | ) | const |
References Ui_TaskFemConstraintBearing::lineLocation, and ui.
Referenced by FemGui::TaskDlgFemConstraintBearing::accept().
const std::string TaskFemConstraintBearing::getLocationObject | ( | void | ) | const |
References Ui_TaskFemConstraintBearing::lineLocation, and ui.
Referenced by FemGui::TaskDlgFemConstraintBearing::accept().
|
virtual |
Reimplemented from FemGui::TaskFemConstraint.
References FemGui::TaskFemConstraint::getReferences(), Ui_TaskFemConstraintBearing::listReferences, and ui.
|
protectedvirtual |
Reimplemented from FemGui::TaskFemConstraint.
Reimplemented in FemGui::TaskFemConstraintGear.
References Gui::SelectionChanges::AddSelection, Gui::SelectionSingleton::clearSelection(), FemGui::TaskFemConstraint::ConstraintView, Part::PropertyPartShape::getShape(), Part::TopoShape::getSubShape(), App::PropertyLinkSubList::getSubValues(), App::PropertyLinkSubList::getValues(), Fem::Tools::isLinear(), Fem::Tools::isPlanar(), Ui_TaskFemConstraintBearing::lineLocation, Ui_TaskFemConstraintBearing::listReferences, Fem::ConstraintBearing::Location, FemGui::TaskFemConstraint::makeRefText(), FemGui::TaskFemConstraint::onButtonReference(), Fem::Constraint::References, Gui::Selection(), FemGui::TaskFemConstraint::selectionMode, FemGui::TaskFemConstraint::selloc, FemGui::TaskFemConstraint::selnone, FemGui::TaskFemConstraint::selref, App::PropertyLinkSub::setValue(), App::PropertyLinkSubList::setValues(), Part::Feature::Shape, and ui.
Referenced by FemGui::TaskFemConstraintGear::onSelectionChanged().
|
protected |
Referenced by draftguitools.gui_beziers.BezCurve::action(), draftguitools.gui_dimensions.Dimension::action(), draftguitools.gui_ellipses.Ellipse::action(), draftguitools.gui_labels.Label::action(), draftguitools.gui_lines.Line::action(), draftguitools.gui_mirror.Mirror::action(), draftguitools.gui_offset.Offset::action(), draftguitools.gui_rectangles.Rectangle::action(), draftguitools.gui_shapestrings.ShapeString::action(), draftguitools.gui_splines.BSpline::action(), draftguitools.gui_texts.Text::action(), draftguitools.gui_arcs.Arc::Activated(), draftguitools.gui_circulararray.CircularArray::Activated(), draftguitools.gui_clone.Clone::Activated(), draftguitools.gui_downgrade.Downgrade::Activated(), draftguitools.gui_draft2sketch.Draft2Sketch::Activated(), draftguitools.gui_ellipses.Ellipse::Activated(), draftguitools.gui_facebinders.Facebinder::Activated(), draftguitools.gui_join.Join::Activated(), draftguitools.gui_move.Move::Activated(), draftguitools.gui_orthoarray.OrthoArray::Activated(), draftguitools.gui_polararray.PolarArray::Activated(), draftguitools.gui_polygons.Polygon::Activated(), draftguitools.gui_rectangles.Rectangle::Activated(), draftguitools.gui_rotate.Rotate::Activated(), draftguitools.gui_scale.Scale::Activated(), draftguitools.gui_shape2dview.Shape2DView::Activated(), draftguitools.gui_shapestrings.ShapeString::Activated(), draftguitools.gui_split.Split::Activated(), draftguitools.gui_styles.ApplyStyle::Activated(), draftguitools.gui_texts.Text::Activated(), draftguitools.gui_upgrade.Upgrade::Activated(), draftguitools.gui_array_simple.Array::Activated(), draftguitools.gui_fillets.Fillet::Activated(), draftguitools.gui_stretch.Stretch::addPoint(), draftguitools.gui_ellipses.Ellipse::appendPoint(), draftguitools.gui_rectangles.Rectangle::appendPoint(), package_details.PackageDetails::branch_changed(), changeEvent(), FemGui::TaskFemConstraintGear::changeEvent(), FemGui::TaskFemConstraintPulley::changeEvent(), DraftGui.DraftToolBar::changeEvent(), draftguitools.gui_circulararray.CircularArray::click(), draftguitools.gui_orthoarray.OrthoArray::click(), draftguitools.gui_polararray.PolarArray::click(), draftguitools.gui_dimensions.Dimension::createObject(), package_details.PackageDetails::disable_clicked(), package_details.PackageDetails::display_repo_status(), draftguitools.gui_polygons.Polygon::drawPolygon(), package_details.PackageDetails::enable_clicked(), draftguitools.gui_edit.Edit::endEditing(), change_branch.ChangeBranchDialog::exec(), draftguitools.gui_base_original.DraftTool::finish(), draftguitools.gui_fillets.Fillet::finish(), draftguitools.gui_dimensions.Dimension::finish(), draftguitools.gui_edit.Edit::finish(), draftguitools.gui_trimex.Trimex::finish(), draftguitools.gui_arcs.Arc::finish(), draftguitools.gui_beziers.BezCurve::finish(), draftguitools.gui_beziers.CubicBezCurve::finish(), draftguitools.gui_ellipses.Ellipse::finish(), draftguitools.gui_lines.Line::finish(), draftguitools.gui_mirror.Mirror::finish(), draftguitools.gui_move.Move::finish(), draftguitools.gui_polygons.Polygon::finish(), draftguitools.gui_rectangles.Rectangle::finish(), draftguitools.gui_rotate.Rotate::finish(), draftguitools.gui_splines.BSpline::finish(), draftguitools.gui_texts.Text::finish(), draftguitools.gui_points.Point::finish(), draftguitools.gui_shapestrings.ShapeString::finish(), draftguitools.gui_move.Move::get_object_selection(), draftguitools.gui_rotate.Rotate::get_object_selection(), draftguitools.gui_scale.Scale::get_object_selection(), draftguitools.gui_subelements.SubelementHighlight::get_selection(), getAxial(), FemGui::TaskFemConstraintPulley::getCenterDistance(), FemGui::TaskFemConstraintGear::getDiameter(), FemGui::TaskFemConstraintGear::getDirectionName(), FemGui::TaskFemConstraintGear::getDirectionObject(), getDistance(), FemGui::TaskFemConstraintGear::getForce(), FemGui::TaskFemConstraintGear::getForceAngle(), FemGui::TaskFemConstraintPulley::getIsDriven(), getLocationName(), getLocationObject(), FemGui::TaskFemConstraintPulley::getOtherDiameter(), getReferences(), FemGui::TaskFemConstraintGear::getReverse(), draftguitools.gui_base_original.DraftTool::getStrings(), FemGui::TaskFemConstraintPulley::getTensionForce(), FemGui::TaskFemConstraintPulley::getTorque(), draftguitools.gui_move.Move::handle_mouse_click_event(), package_details.PackageDetails::load_finished(), package_details.PackageDetails::load_progress(), package_details.PackageDetails::load_started(), package_details.PackageDetails::long_load_running(), package_details.PackageDetails::macro_readme_updated(), draftguitools.gui_circulararray.CircularArray::move(), draftguitools.gui_points.Point::move(), draftguitools.gui_polararray.PolarArray::move(), draftguitools.gui_move.Move::move(), draftguitools.gui_arcs.Arc::numericInput(), draftguitools.gui_polygons.Polygon::numericInput(), draftguitools.gui_rotate.Rotate::numericInput(), draftguitools.gui_shapestrings.ShapeString::numericInput(), draftguitools.gui_arcs.Arc::numericRadius(), draftguitools.gui_offset.Offset::numericRadius(), draftguitools.gui_rotate.Rotate::numericRadius(), onSelectionChanged(), FemGui::TaskFemConstraintGear::onSelectionChanged(), draftguitools.gui_edit.Edit::proceed(), draftguitools.gui_groups.AddToGroup::proceed(), draftguitools.gui_groups.SetAutoGroup::proceed(), draftguitools.gui_rotate.Rotate::rotate(), package_details.PackageDetails::run_javascript(), draftguitools.gui_fillets.Fillet::set_chamfer(), package_details.PackageDetails::set_change_branch_button_state(), draftguitools.gui_fillets.Fillet::set_delete(), package_details.PackageDetails::set_disable_button_state(), draftguitools.gui_move.Move::set_ghosts(), draftguitools.gui_rotate.Rotate::set_ghosts(), draftguitools.gui_rotate.Rotate::set_start_point(), package_list.PackageList::set_view_style(), package_details.PackageDetails::show_error_for(), package_details.PackageDetails::show_package(), package_details.PackageDetails::show_repo(), package_details.PackageDetails::show_workbench(), draftguitools.gui_edit.Edit::startEditing(), TaskFemConstraintBearing(), FemGui::TaskFemConstraintGear::TaskFemConstraintGear(), FemGui::TaskFemConstraintPulley::TaskFemConstraintPulley(), package_list.PackageList::update_text_filter(), draftguitools.gui_edit.Edit::updateTrackerAndGhost(), and ~TaskFemConstraintBearing().