The DlgActivateWindowImp class provides a dialog to activate the MDI window of the main window you wish. More...
#include <DlgActivateWindowImp.h>
Public Member Functions | |
DlgActivateWindowImp (QWidget *parent=0, Qt::WindowFlags fl=0) | |
Constructs a DlgActivateWindowImp which is a child of 'parent', with the name 'name' and widget flags set to 'f'. More... | |
~DlgActivateWindowImp () | |
Destroys the object and frees any allocated resources. More... | |
Protected Member Functions | |
void | accept () |
Activates the MDI window you wish and closes the dialog. More... | |
Detailed Description
The DlgActivateWindowImp class provides a dialog to activate the MDI window of the main window you wish.
Since there could be a lot of MDI windows in an application you cannot put all of them into the "Windows" popup menu.
Constructor & Destructor Documentation
◆ DlgActivateWindowImp()
DlgActivateWindowImp::DlgActivateWindowImp | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | fl = 0 |
||
) |
Constructs a DlgActivateWindowImp 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::MainWindow::activeWindow(), Gui::getMainWindow(), and Gui::MainWindow::windows().
◆ ~DlgActivateWindowImp()
DlgActivateWindowImp::~DlgActivateWindowImp | ( | ) |
Destroys the object and frees any allocated resources.
Member Function Documentation
◆ accept()
|
protected |
Activates the MDI window you wish and closes the dialog.
References Gui::getMainWindow(), Gui::MainWindow::setActiveWindow(), and Gui::MainWindow::windows().
Referenced by ArchComponent.ComponentTaskPanel::editObject().
The documentation for this class was generated from the following files:
- src/Gui/DlgActivateWindowImp.h
- src/Gui/DlgActivateWindowImp.cpp