Presenter for CMakeProjectManager. More...
#include <CMakeProjectManagerPresenter.h>
Signals | |
| void | allStagesFinished (bool status) |
| sent when all the stages are finished with the resulting status | |
| void | cMakeProjectManagerPresenterClosed () |
| sent when the widget's window is closed | |
Public Member Functions | |
| CMakeProjectManagerPresenter (const QString &camitkFilePath, const QList< CMakeProjectManager::CMakeProjectManagerStage > &stages, QWidget *parent=nullptr) | |
| constructor | |
| ~CMakeProjectManagerPresenter () | |
| Destructor. | |
Protected Member Functions | |
| void | closeEvent (QCloseEvent *event) override |
| called when the user closes the widget's window using the window manager button | |
Presenter for CMakeProjectManager.
This widget will create a dialog where the user can see the different stages, starts the process and examine the results of each stages.
| CMakeProjectManagerPresenter::CMakeProjectManagerPresenter | ( | const QString & | camitkFilePath, |
| const QList< CMakeProjectManager::CMakeProjectManagerStage > & | stages, | ||
| QWidget * | parent = nullptr ) |
constructor
| camitkFilePath | the path to the file to be used by CMakeProjectManager |
| stages | the list of stages to perform |
| parent | (optional) |
References CMakeProjectManager::allStagesFinished(), allStagesFinished(), CMakeProjectManager::stageFinished(), and CMakeProjectManager::stageStarted().
| CMakeProjectManagerPresenter::~CMakeProjectManagerPresenter | ( | ) |
Destructor.
|
signal |
sent when all the stages are finished with the resulting status
Referenced by CMakeProjectManagerPresenter(), and CamiTKExtensionEditor::initializeClicked().
|
overrideprotected |
called when the user closes the widget's window using the window manager button
References cMakeProjectManagerPresenterClosed().
|
signal |
sent when the widget's window is closed
Referenced by closeEvent(), and CamiTKExtensionEditor::initializeClicked().