BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
ProjectLoadProblemDialog.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file GUI/View/Info/ProjectLoadProblemDialog.h
6 //! @brief Defines class ProjectLoadProblemDialog
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2018
11 //! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
15 #ifndef BORNAGAIN_GUI_VIEW_INFO_PROJECTLOADPROBLEMDIALOG_H
16 #define BORNAGAIN_GUI_VIEW_INFO_PROJECTLOADPROBLEMDIALOG_H
17 
18 #include <QDialog>
19 #include <QString>
20 
21 //! @class ProjectLoadProblemDialog
22 //! @brief The dialog to inform user about encountered problems during the loading of old project
23 
24 class ProjectLoadProblemDialog : public QDialog {
25 public:
26  ProjectLoadProblemDialog(QWidget* parent, const QStringList& details, QString documentVersion);
27 
28 private:
29  QWidget* createWarningWidget();
30  QLayout* buttonLayout();
31  QString explanationText() const;
32 
34 };
35 
36 #endif // BORNAGAIN_GUI_VIEW_INFO_PROJECTLOADPROBLEMDIALOG_H
The dialog to inform user about encountered problems during the loading of old project.
QString explanationText() const
Returns explanations what went wrong.
ProjectLoadProblemDialog(QWidget *parent, const QStringList &details, QString documentVersion)