FreeCAD C++
Public Member Functions | Protected Attributes | List of all members
Gui::TaskView::TaskDialog Class Reference

#include <Gui/TaskView/TaskDialog.h>

Detailed Description

Father class of content with header and Icon.

Public Member Functions

virtual QDialogButtonBox::StandardButtons getStandardButtons (void) const
 tells the framework which buttons are wished for the dialog
 
virtual bool isAllowedAlterDocument (void) const
 
virtual bool isAllowedAlterView (void) const
 
virtual bool isAllowedAlterSelection (void) const
 
virtual void open ()
 is called by the framework when the dialog is opened
 
virtual void clicked (int)
 is called by the framework if a button is clicked which has no accept or reject role
 
virtual bool accept ()
 is called by the framework if the dialog is accepted (Ok)
 
virtual bool reject ()
 is called by the framework if the dialog is rejected (Cancel)
 
virtual void helpRequested ()
 is called by the framework if the user press the help button
 

Protected Attributes

std::vector< QWidget * > Content
 List of TaskBoxes of that dialog.
 

Member Function Documentation

◆ isAllowedAlterDocument()

virtual bool Gui::TaskView::TaskDialog::isAllowedAlterDocument ( void  ) const
virtual

Indicates whether this task dialog allows other commands to modify the document while it is open.

Reimplemented in FemGui::TaskDlgPost, PartGui::TaskDlgAttacher, PartDesignGui::TaskDlgFeaturePick, and PartDesignGui::TaskDlgBooleanParameters.

◆ isAllowedAlterSelection()

virtual bool Gui::TaskView::TaskDialog::isAllowedAlterSelection ( void  ) const
virtual

Indicates whether this task dialog allows other commands to modify the selection while it is open.

◆ isAllowedAlterView()

virtual bool Gui::TaskView::TaskDialog::isAllowedAlterView ( void  ) const
virtual

Indicates whether this task dialog allows other commands to modify the 3d view while it is open.