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=0) | |
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) |
Detailed Description
The DlgDisplayPropertiesImp class implements a dialog containing all available document templates to create a new document.
Constructor & Destructor Documentation
◆ DlgDisplayPropertiesImp()
DlgDisplayPropertiesImp::DlgDisplayPropertiesImp | ( | bool | floating, |
QWidget * | parent = nullptr , |
||
Qt::WindowFlags | fl = 0 |
||
) |
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(), Gui::DockWindowManager::instance(), Gui::Application::Instance, Gui::Selection(), and Gui::Application::signalChangedObject.
◆ ~DlgDisplayPropertiesImp()
DlgDisplayPropertiesImp::~DlgDisplayPropertiesImp | ( | ) |
Destroys the object and frees any allocated resources.
References Base::Subject< _MessageType >::Detach(), and Gui::Selection().
Member Function Documentation
◆ changeEvent()
|
protected |
◆ OnChange()
void Gui::Dialog::DlgDisplayPropertiesImp::OnChange | ( | Gui::SelectionSingleton::SubjectType & | rCaller, |
Gui::SelectionSingleton::MessageType | Reason | ||
) |
Observer message from the Selection.
◆ reject()
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 drafttaskpanels.task_shapestring.ShapeStringTaskPanel::action(), and Gui::Dialog::TaskDisplayProperties::reject().
◆ showDefaultButtons()
void DlgDisplayPropertiesImp::showDefaultButtons | ( | bool | ok | ) |
Referenced by Gui::Dialog::TaskDisplayProperties::TaskDisplayProperties().
The documentation for this class was generated from the following files:
- src/Gui/DlgDisplayPropertiesImp.h
- src/Gui/DlgDisplayPropertiesImp.cpp