PartDesignGui::TaskBoxPrimitives Class Reference

#include <TaskPrimitiveParameters.h>

Public Slots

void onBoxHeightChanged (double)
 
void onBoxLengthChanged (double)
 
void onBoxWidthChanged (double)
 
void onConeAngleChanged (double)
 
void onConeHeightChanged (double)
 
void onConeRadius1Changed (double)
 
void onConeRadius2Changed (double)
 
void onCylinderAngleChanged (double)
 
void onCylinderHeightChanged (double)
 
void onCylinderRadiusChanged (double)
 
void onEllipsoidAngle1Changed (double)
 
void onEllipsoidAngle2Changed (double)
 
void onEllipsoidAngle3Changed (double)
 
void onEllipsoidRadius1Changed (double)
 
void onEllipsoidRadius2Changed (double)
 
void onEllipsoidRadius3Changed (double)
 
void onPrismCircumradiusChanged (double)
 
void onPrismHeightChanged (double)
 
void onPrismPolygonChanged (int)
 
void onPrismXSkewChanged (double)
 
void onPrismYSkewChanged (double)
 
void onSphereAngle1Changed (double)
 
void onSphereAngle2Changed (double)
 
void onSphereAngle3Changed (double)
 
void onSphereRadiusChanged (double)
 
void onTorusAngle1Changed (double)
 
void onTorusAngle2Changed (double)
 
void onTorusAngle3Changed (double)
 
void onTorusRadius1Changed (double)
 
void onTorusRadius2Changed (double)
 
void onWedgeX2maxChanged (double)
 
void onWedgeX2minChanged (double)
 
void onWedgeXmaxChanged (double)
 
void onWedgeXminChanged (double)
 
void onWedgeYmaxChanged (double)
 
void onWedgeYminChanged (double)
 
void onWedgeZ2maxChanged (double)
 
void onWedgeZ2minChanged (double)
 
void onWedgeZmaxChanged (double)
 
void onWedgeZminChanged (double)
 
- 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 setPrimitive (App::DocumentObject *)
 
 TaskBoxPrimitives (ViewProviderPrimitive *vp, QWidget *parent=0)
 
 ~TaskBoxPrimitives ()
 
- 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...
 
ActionLabeladdAction (QAction *action, bool addToLayout=true, bool addStretch=true)
 Creates action item from the action and returns it. More...
 
ActionLabeladdActionLabel (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::DocumentObserver
void attachDocument (Document *)
 Attaches to another document, the old document is not longer observed then. More...
 
void detachDocument ()
 Detaches from the current document, the document is not longer observed then. More...
 
 DocumentObserver ()
 Constructor. More...
 
virtual ~DocumentObserver ()
 

Additional Inherited Members

- Protected Slots inherited from QSint::ActionGroup
void processHide ()
 
void processShow ()
 
- 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 inherited from QSint::ActionGroup
double m_foldDelta
 
int m_foldDirection
 
QPixmap m_foldPixmap
 
double m_foldStep
 
double m_fullHeight
 
double m_tempHeight
 
QWidgetmyDummy
 
class TaskGroupmyGroup
 
class TaskHeadermyHeader
 
ActionPanelSchememyScheme
 
- Properties inherited from QSint::ActionGroup
bool expandable
 
bool header
 
QString headerText
 

Constructor & Destructor Documentation

◆ TaskBoxPrimitives()

TaskBoxPrimitives::TaskBoxPrimitives ( ViewProviderPrimitive vp,
QWidget parent = 0 
)

References PartDesign::Cylinder::Angle, PartDesign::Cone::Angle, PartDesign::Sphere::Angle1, PartDesign::Ellipsoid::Angle1, PartDesign::Torus::Angle1, PartDesign::Sphere::Angle2, PartDesign::Ellipsoid::Angle2, PartDesign::Torus::Angle2, PartDesign::Sphere::Angle3, PartDesign::Ellipsoid::Angle3, PartDesign::Torus::Angle3, Gui::DocumentObserver::attachDocument(), PartDesign::FeaturePrimitive::Box, PartDesign::Prism::Circumradius, PartDesign::FeaturePrimitive::Cone, draftgeoutils.intersections::connect(), Base::Console(), PartDesign::FeaturePrimitive::Cylinder, PartDesign::FeaturePrimitive::Ellipsoid, Base::ConsoleSingleton::Error(), PartDesign::Body::findBodyOf(), PartDesign::Prism::FirstAngle, Gui::ViewProviderDocumentObject::getDocument(), Gui::ViewProviderDocumentObject::getObject(), App::OriginGroupExtension::getOrigin(), PartDesign::FeaturePrimitive::getPrimitiveType(), App::PropertyInteger::getValue(), App::PropertyQuantity::getValue(), Gui::Application::getViewProvider(), QSint::ActionGroup::groupLayout(), PartDesign::Box::Height, PartDesign::Cylinder::Height, PartDesign::Cone::Height, PartDesign::Prism::Height, Gui::Application::Instance, PartDesign::Box::Length, onBoxHeightChanged(), onBoxLengthChanged(), onBoxWidthChanged(), onConeAngleChanged(), onConeHeightChanged(), onConeRadius1Changed(), onConeRadius2Changed(), onCylinderAngleChanged(), onCylinderHeightChanged(), onCylinderRadiusChanged(), onEllipsoidAngle1Changed(), onEllipsoidAngle2Changed(), onEllipsoidAngle3Changed(), onEllipsoidRadius1Changed(), onEllipsoidRadius2Changed(), onEllipsoidRadius3Changed(), onPrismCircumradiusChanged(), onPrismHeightChanged(), onPrismPolygonChanged(), onPrismXSkewChanged(), onPrismYSkewChanged(), onSphereAngle1Changed(), onSphereAngle2Changed(), onSphereAngle3Changed(), onSphereRadiusChanged(), onTorusAngle1Changed(), onTorusAngle2Changed(), onTorusAngle3Changed(), onTorusRadius1Changed(), onTorusRadius2Changed(), onWedgeX2maxChanged(), onWedgeX2minChanged(), onWedgeXmaxChanged(), onWedgeXminChanged(), onWedgeYmaxChanged(), onWedgeYminChanged(), onWedgeZ2maxChanged(), onWedgeZ2minChanged(), onWedgeZmaxChanged(), onWedgeZminChanged(), PartDesign::Prism::Polygon, PartDesign::FeaturePrimitive::Prism, PartDesign::Cylinder::Radius, PartDesign::Sphere::Radius, PartDesign::Cone::Radius1, PartDesign::Ellipsoid::Radius1, PartDesign::Torus::Radius1, PartDesign::Cone::Radius2, PartDesign::Ellipsoid::Radius2, PartDesign::Torus::Radius2, PartDesign::Ellipsoid::Radius3, PartDesign::Prism::SecondAngle, Gui::ViewProviderOrigin::setTemporaryVisibility(), PartDesign::FeaturePrimitive::Sphere, PartDesign::FeaturePrimitive::Torus, PartDesign::FeaturePrimitive::Wedge, Base::Exception::what(), PartDesign::Box::Width, PartDesign::Wedge::X2max, PartDesign::Wedge::X2min, PartDesign::Wedge::Xmax, PartDesign::Wedge::Xmin, PartDesign::Wedge::Ymax, PartDesign::Wedge::Ymin, PartDesign::Wedge::Z2max, PartDesign::Wedge::Z2min, PartDesign::Wedge::Zmax, and PartDesign::Wedge::Zmin.

◆ ~TaskBoxPrimitives()

Member Function Documentation

◆ onBoxHeightChanged

◆ onBoxLengthChanged

◆ onBoxWidthChanged

◆ onConeAngleChanged

◆ onConeHeightChanged

◆ onConeRadius1Changed

◆ onConeRadius2Changed

◆ onCylinderAngleChanged

◆ onCylinderHeightChanged

◆ onCylinderRadiusChanged

◆ onEllipsoidAngle1Changed

◆ onEllipsoidAngle2Changed

◆ onEllipsoidAngle3Changed

◆ onEllipsoidRadius1Changed

◆ onEllipsoidRadius2Changed

◆ onEllipsoidRadius3Changed

◆ onPrismCircumradiusChanged

◆ onPrismHeightChanged

◆ onPrismPolygonChanged

◆ onPrismXSkewChanged

◆ onPrismYSkewChanged

◆ onSphereAngle1Changed

◆ onSphereAngle2Changed

◆ onSphereAngle3Changed

◆ onSphereRadiusChanged

◆ onTorusAngle1Changed

◆ onTorusAngle2Changed

◆ onTorusAngle3Changed

◆ onTorusRadius1Changed

◆ onTorusRadius2Changed

◆ onWedgeX2maxChanged

◆ onWedgeX2minChanged

◆ onWedgeXmaxChanged

◆ onWedgeXminChanged

◆ onWedgeYmaxChanged

◆ onWedgeYminChanged

◆ onWedgeZ2maxChanged

◆ onWedgeZ2minChanged

◆ onWedgeZmaxChanged

◆ onWedgeZminChanged

◆ setPrimitive()


The documentation for this class was generated from the following files:
  • Sources/FreeCAD/src/Mod/PartDesign/Gui/TaskPrimitiveParameters.h
  • Sources/FreeCAD/src/Mod/PartDesign/Gui/TaskPrimitiveParameters.cpp