The DlgDisplayPropertiesImp class implements a dialog containing all available document templates to create a new document. More...
#include <DlgDisplayPropertiesImp.h>
Classes | |
class | Private |
Public Member Functions | |
DlgDisplayPropertiesImp (bool floating, QWidget *parent=nullptr, Qt::WindowFlags fl=Qt::WindowFlags()) | |
Constructs a DlgDisplayPropertiesImp which is a child of 'parent', with the name 'name' and widget flags set to 'f'. More... | |
void | OnChange (Gui::SelectionSingleton::SubjectType &rCaller, Gui::SelectionSingleton::MessageType Reason) |
Observer message from the Selection. More... | |
void | reject () |
Destroys the dock window this object is embedded into without destroying itself. More... | |
void | showDefaultButtons (bool) |
~DlgDisplayPropertiesImp () | |
Destroys the object and frees any allocated resources. More... | |
Protected Member Functions | |
void | changeEvent (QEvent *e) |
The DlgDisplayPropertiesImp class implements a dialog containing all available document templates to create a new document.
DlgDisplayPropertiesImp::DlgDisplayPropertiesImp | ( | bool | floating, |
QWidget * | parent = nullptr , |
||
Qt::WindowFlags | fl = Qt::WindowFlags() |
||
) |
Constructs a DlgDisplayPropertiesImp which is a child of 'parent', with the name 'name' and widget flags set to 'f'.
The dialog will by default be modeless, unless you set 'modal' to true to construct a modal dialog.
References Gui::DockWindowManager::addDockWindow(), Base::Subject< _MessageType >::Attach(), draftgeoutils.faces::bind(), Gui::Application::Instance, Gui::DockWindowManager::instance(), Gui::Selection(), and Gui::Application::signalChangedObject.
DlgDisplayPropertiesImp::~DlgDisplayPropertiesImp | ( | ) |
Destroys the object and frees any allocated resources.
References Base::Subject< _MessageType >::Detach(), and Gui::Selection().
|
protected |
void Gui::Dialog::DlgDisplayPropertiesImp::OnChange | ( | Gui::SelectionSingleton::SubjectType & | rCaller, |
Gui::SelectionSingleton::MessageType | Reason | ||
) |
Observer message from the Selection.
void DlgDisplayPropertiesImp::reject | ( | ) |
Destroys the dock window this object is embedded into without destroying itself.
References Gui::DockWindowManager::instance(), and Gui::DockWindowManager::removeDockWindow().
Referenced by draftguitools.gui_hatch.Draft_Hatch_TaskPanel::accept(), draftguitools.gui_setstyle.Draft_SetStyle_TaskPanel::accept(), drafttaskpanels.task_shapestring.ShapeStringTaskPanelCmd::accept(), drafttaskpanels.task_shapestring.ShapeStringTaskPanelEdit::accept(), drafttaskpanels.task_shapestring.ShapeStringTaskPanel::action(), femexamples.examplesgui.FemExamples::clicked(), Gui::Dialog::TaskDisplayProperties::reject(), and PathScripts.PathToolBitLibraryGui.ToolBitLibrary::toolEdit().
void DlgDisplayPropertiesImp::showDefaultButtons | ( | bool | ok | ) |
Referenced by Gui::Dialog::TaskDisplayProperties::TaskDisplayProperties().