#include <TaskLinearPatternParameters.h>
Public Member Functions | |
virtual void apply () | |
TaskLinearPatternParameters (TaskMultiTransformParameters *parentTask, QLayout *layout) | |
Constructor for task with parent task (MultiTransform mode) More... | |
TaskLinearPatternParameters (ViewProviderTransformed *TransformedView, QWidget *parent=0) | |
Constructor for task with ViewProvider. More... | |
virtual ~TaskLinearPatternParameters () | |
![]() | |
void exitSelectionMode () | |
App::DocumentObject * getBaseObject () const | |
Get the TransformedFeature object associated with this task. More... | |
const std::vector< App::DocumentObject * > & getOriginals (void) const | |
Returns the originals property of associated top feeature object. More... | |
App::DocumentObject * getSketchObject () const | |
Get the sketch object of the first original either of the object associated with this feature or with the parent feature (MultiTransform mode) More... | |
int getTransactionID () const | |
void setupTransaction () | |
TaskTransformedParameters (TaskMultiTransformParameters *parentTask) | |
Constructor for task with parent task (MultiTransform mode) More... | |
TaskTransformedParameters (ViewProviderTransformed *TransformedView, QWidget *parent=0) | |
Constructor for task with ViewProvider. More... | |
virtual ~TaskTransformedParameters () | |
![]() | |
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 () | |
![]() | |
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... | |
![]() | |
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 () | |
![]() | |
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 () | |
Protected Member Functions | |
virtual void addObject (App::DocumentObject *) | |
virtual void changeEvent (QEvent *e) | |
virtual void clearButtons () | |
void getDirection (App::DocumentObject *&obj, std::vector< std::string > &sub) const | |
double getLength (void) const | |
unsigned getOccurrences (void) const | |
bool getReverse (void) const | |
virtual void onSelectionChanged (const Gui::SelectionChanges &msg) | |
virtual void removeObject (App::DocumentObject *) | |
![]() | |
void addReferenceSelectionGate (bool edge, bool face, bool planar=true, bool whole=false) | |
void checkVisibility () | |
void fillAxisCombo (ComboLinks &combolinks, Part::Part2DObject *sketch) | |
void fillPlanesCombo (ComboLinks &combolinks, Part::Part2DObject *sketch) | |
PartDesign::Transformed * getObject () const | |
Returns the base transformation For stand alone features it will be objects associated with the view provider For features inside multitransform it will be the parent's multitransform object. More... | |
int getUpdateViewTimeout () const | |
void hideBase () | |
void hideObject () | |
bool isViewUpdated () const | |
bool originalSelected (const Gui::SelectionChanges &msg) | |
void recomputeFeature () | |
Recompute either this feature or the parent feature (MultiTransform mode) More... | |
void showBase () | |
void showObject () | |
virtual void slotDeletedObject (const Gui::ViewProviderDocumentObject &Obj) | |
Notifies when the object is about to be removed. More... | |
![]() | |
void actionEvent (QActionEvent *) | |
void showEvent (QShowEvent *) | |
![]() | |
void init (bool header) | |
virtual void paintEvent (QPaintEvent *event) | |
Additional Inherited Members | |
![]() | |
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... | |
![]() | |
enum selectionModes { none, addFeature, removeFeature, reference } | |
![]() | |
PartDesign::Transformed * getTopTransformedObject () const | |
Returns the base transformed object For stand alone features it will be objects associated with this object For features inside multitransform it will be the base multitransform object. More... | |
PartDesignGui::ViewProviderTransformed * getTopTransformedView () const | |
Returns the base transformation view provider For stand alone features it will be view provider associated with this object For features inside multitransform it will be the view provider of the multitransform object. More... | |
void onButtonAddFeature (const bool checked) | |
void onButtonRemoveFeature (const bool checked) | |
virtual void onFeatureDeleted (void)=0 | |
virtual void onSubTaskButtonOK () | |
Connect the subTask OK button to the MultiTransform task. More... | |
![]() | |
void processHide () | |
void processShow () | |
![]() | |
static void removeItemFromListWidget (QListWidget *widget, const QString &itemstr) | |
![]() | |
bool blockUpdate | |
Lock updateUI(), applying changes to the underlying feature and calling recomputeFeature() More... | |
bool insideMultiTransform | |
Flag indicating whether this object is a container for MultiTransform. More... | |
TaskMultiTransformParameters * parentTask | |
The MultiTransform parent task of this task. More... | |
QWidget * proxy | |
selectionModes selectionMode | |
int transactionID = 0 | |
ViewProviderTransformed * TransformedView | |
![]() | |
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 | |
![]() | |
bool expandable | |
bool header | |
QString headerText | |
Constructor & Destructor Documentation
◆ TaskLinearPatternParameters() [1/2]
TaskLinearPatternParameters::TaskLinearPatternParameters | ( | ViewProviderTransformed * | TransformedView, |
QWidget * | parent = 0 |
||
) |
◆ TaskLinearPatternParameters() [2/2]
TaskLinearPatternParameters::TaskLinearPatternParameters | ( | TaskMultiTransformParameters * | parentTask, |
QLayout * | layout | ||
) |
Constructor for task with parent task (MultiTransform mode)
References PartDesignGui::TaskTransformedParameters::blockUpdate, PartDesignGui::TaskTransformedParameters::none, PartDesignGui::TaskTransformedParameters::onSubTaskButtonOK(), PartDesignGui::TaskTransformedParameters::parentTask, PartDesignGui::TaskTransformedParameters::proxy, and PartDesignGui::TaskTransformedParameters::selectionMode.
◆ ~TaskLinearPatternParameters()
|
virtual |
References Base::Console(), Base::ConsoleSingleton::Error(), PartDesign::Body::findBodyOf(), PartDesignGui::TaskTransformedParameters::getObject(), App::OriginGroupExtension::getOrigin(), Gui::Application::getViewProvider(), Gui::Application::Instance, PartDesignGui::TaskTransformedParameters::proxy, Gui::ViewProviderOrigin::resetTemporaryVisibility(), and Base::Exception::what().
Member Function Documentation
◆ addObject()
|
protectedvirtual |
Reimplemented from PartDesignGui::TaskTransformedParameters.
◆ apply()
|
virtual |
◆ changeEvent()
|
protectedvirtual |
Implements PartDesignGui::TaskTransformedParameters.
References PartDesignGui::TaskTransformedParameters::proxy.
◆ clearButtons()
|
protectedvirtual |
Implements PartDesignGui::TaskTransformedParameters.
◆ getDirection()
|
protected |
References PartDesignGui::ComboLinks::getCurrentLink(), App::PropertyLinkSub::getSubValues(), and App::PropertyLinkSub::getValue().
Referenced by apply().
◆ getLength()
|
protected |
◆ getOccurrences()
|
protected |
◆ getReverse()
◆ onSelectionChanged()
|
protectedvirtual |
Implements PartDesignGui::TaskTransformedParameters.
References Gui::SelectionChanges::AddSelection, PartDesign::LinearPattern::Direction, PartDesignGui::TaskTransformedParameters::exitSelectionMode(), Base::Persistence::getClassTypeId(), PartDesignGui::TaskTransformedParameters::getObject(), PartDesignGui::getReferencedSelection(), Base::BaseClass::isDerivedFrom(), PartDesignGui::TaskTransformedParameters::none, PartDesignGui::TaskTransformedParameters::originalSelected(), PartDesignGui::TaskTransformedParameters::recomputeFeature(), PartDesignGui::TaskTransformedParameters::selectionMode, PartDesignGui::TaskTransformedParameters::setupTransaction(), and App::PropertyLinkSub::setValue().
◆ removeObject()
|
protectedvirtual |
Reimplemented from PartDesignGui::TaskTransformedParameters.
References PartDesignGui::TaskTransformedParameters::removeItemFromListWidget().
The documentation for this class was generated from the following files:
- src/Mod/PartDesign/Gui/TaskLinearPatternParameters.h
- src/Mod/PartDesign/Gui/TaskLinearPatternParameters.cpp