BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Application main window. More...
Public Member Functions | |
MainWindow () | |
~MainWindow () | |
Protected Member Functions | |
void | closeEvent (QCloseEvent *event) |
Private Member Functions | |
void | init_application () |
void | init_components () |
void | init_connections () |
Setup main connections. More... | |
void | write_settings () |
Private Attributes | |
ActionManager * | m_actionManager {nullptr} |
MainBarWidget * | m_barWidget {nullptr} |
ImportDataView * | m_importDataView {nullptr} |
std::unique_ptr< ApplicationModels > | m_models |
SettingsView * | m_settingsView {nullptr} |
SimulationView * | m_simView {nullptr} |
WelcomeView * | m_welcomeView {nullptr} |
Application main window.
Definition at line 34 of file mainwindow.h.
MainWindow::MainWindow | ( | ) |
Definition at line 38 of file mainwindow.cpp.
References init_application(), init_components(), init_connections(), and m_barWidget.
|
default |
|
protected |
Definition at line 49 of file mainwindow.cpp.
References gui2::WelcomeView::canCloseProject(), m_welcomeView, and write_settings().
|
private |
|
private |
Definition at line 74 of file mainwindow.cpp.
References gui2::MainBarWidget::addWidget(), m_barWidget, m_importDataView, m_models, m_settingsView, m_simView, m_welcomeView, and gui2::MainBarWidget::setCurrentIndex().
Referenced by MainWindow().
|
private |
Setup main connections.
Definition at line 93 of file mainwindow.cpp.
References gui2::ActionManager::clearResentProjectListRequest(), gui2::ActionManager::createNewProjectRequest(), m_actionManager, m_welcomeView, gui2::WelcomeView::onClearRecentProjectsList(), gui2::WelcomeView::onCreateNewProject(), gui2::WelcomeView::onOpenExistingProject(), gui2::WelcomeView::onSaveCurrentProject(), gui2::WelcomeView::onSaveProjectAs(), gui2::ActionManager::openExistingProjectRequest(), gui2::WelcomeView::recentProjectsListModified(), gui2::ActionManager::saveCurrentProjectRequest(), gui2::ActionManager::saveProjectAsRequest(), gui2::ActionManager::setRecentProjectsList(), and gui2::WelcomeView::updateNames().
Referenced by MainWindow().
|
private |
|
private |
Definition at line 51 of file mainwindow.h.
Referenced by init_connections().
|
private |
Definition at line 56 of file mainwindow.h.
Referenced by MainWindow(), and init_components().
|
private |
Definition at line 53 of file mainwindow.h.
Referenced by init_components().
|
private |
Definition at line 50 of file mainwindow.h.
Referenced by init_components().
|
private |
Definition at line 55 of file mainwindow.h.
Referenced by init_components().
|
private |
Definition at line 54 of file mainwindow.h.
Referenced by init_components().
|
private |
Definition at line 52 of file mainwindow.h.
Referenced by closeEvent(), init_components(), and init_connections().