#include <TaskPrimitiveParameters.h>
Public Member Functions | |
bool | setPrimitive (App::DocumentObject *) |
TaskBoxPrimitives (ViewProviderPrimitive *vp, QWidget *parent=nullptr) | |
~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=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::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... | |
DocumentObserver (Document *) | |
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 |
TaskBoxPrimitives::TaskBoxPrimitives | ( | ViewProviderPrimitive * | vp, |
QWidget * | parent = nullptr |
||
) |
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(), Part::PrismExtension::FirstAngle, Gui::ViewProviderDocumentObject::getDocument(), App::PropertyQuantityConstraint::getMaximum(), App::PropertyQuantityConstraint::getMinimum(), 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(), onCylinderXSkewChanged(), onCylinderYSkewChanged(), 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, Part::PrismExtension::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::~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().
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
References Part::PrismExtension::FirstAngle, App::DocumentObject::getDocument(), App::PropertyQuantityConstraint::getMaximum(), App::PropertyQuantityConstraint::getMinimum(), Gui::ViewProviderDocumentObject::getObject(), App::PropertyQuantity::getQuantityValue(), App::Document::recomputeFeature(), and App::PropertyQuantity::setValue().
Referenced by TaskBoxPrimitives().
|
slot |
References App::DocumentObject::getDocument(), App::PropertyQuantityConstraint::getMaximum(), App::PropertyQuantityConstraint::getMinimum(), Gui::ViewProviderDocumentObject::getObject(), App::PropertyQuantity::getQuantityValue(), App::Document::recomputeFeature(), Part::PrismExtension::SecondAngle, and App::PropertyQuantity::setValue().
Referenced by TaskBoxPrimitives().
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
bool TaskBoxPrimitives::setPrimitive | ( | App::DocumentObject * | obj | ) |