#include <TaskPrimitiveParameters.h>
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... | |
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::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 |
QWidget * | myDummy |
class TaskGroup * | myGroup |
class TaskHeader * | myHeader |
ActionPanelScheme * | myScheme |
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, Base::Console(), PartDesign::FeaturePrimitive::Cylinder, PartDesign::FeaturePrimitive::Ellipsoid, Base::ConsoleSingleton::Error(), PartDesign::Body::findBodyOf(), 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(), 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, 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()
TaskBoxPrimitives::~TaskBoxPrimitives | ( | ) |
References Base::Console(), Base::ConsoleSingleton::Error(), PartDesign::Body::findBodyOf(), Gui::ViewProviderDocumentObject::getObject(), App::OriginGroupExtension::getOrigin(), Gui::Application::getViewProvider(), Gui::Application::Instance, Gui::ViewProviderOrigin::resetTemporaryVisibility(), and Base::Exception::what().
Member Function Documentation
◆ onBoxHeightChanged
|
slot |
◆ onBoxLengthChanged
|
slot |
◆ onBoxWidthChanged
|
slot |
◆ onConeAngleChanged
|
slot |
◆ onConeHeightChanged
|
slot |
◆ onConeRadius1Changed
|
slot |
◆ onConeRadius2Changed
|
slot |
◆ onCylinderAngleChanged
|
slot |
◆ onCylinderHeightChanged
|
slot |
◆ onCylinderRadiusChanged
|
slot |
◆ onEllipsoidAngle1Changed
|
slot |
◆ onEllipsoidAngle2Changed
|
slot |
◆ onEllipsoidAngle3Changed
|
slot |
◆ onEllipsoidRadius1Changed
|
slot |
◆ onEllipsoidRadius2Changed
|
slot |
◆ onEllipsoidRadius3Changed
|
slot |
◆ onPrismCircumradiusChanged
|
slot |
◆ onPrismHeightChanged
|
slot |
◆ onPrismPolygonChanged
|
slot |
◆ onSphereAngle1Changed
|
slot |
◆ onSphereAngle2Changed
|
slot |
◆ onSphereAngle3Changed
|
slot |
◆ onSphereRadiusChanged
|
slot |
◆ onTorusAngle1Changed
|
slot |
◆ onTorusAngle2Changed
|
slot |
◆ onTorusAngle3Changed
|
slot |
◆ onTorusRadius1Changed
|
slot |
◆ onTorusRadius2Changed
|
slot |
◆ onWedgeX2maxChanged
|
slot |
◆ onWedgeX2minChanged
|
slot |
◆ onWedgeXmaxChanged
|
slot |
◆ onWedgeXminChanged
|
slot |
◆ onWedgeYmaxChanged
|
slot |
◆ onWedgeYminChanged
|
slot |
◆ onWedgeZ2maxChanged
|
slot |
◆ onWedgeZ2minChanged
|
slot |
◆ onWedgeZmaxChanged
|
slot |
◆ onWedgeZminChanged
|
slot |
◆ setPrimitive()
void TaskBoxPrimitives::setPrimitive | ( | App::DocumentObject * | obj | ) |
The documentation for this class was generated from the following files:
- src/Mod/PartDesign/Gui/TaskPrimitiveParameters.h
- src/Mod/PartDesign/Gui/TaskPrimitiveParameters.cpp