15 #ifndef BORNAGAIN_GUI_COREGUI_VIEWS_INFOWIDGETS_PROJECTLOADWARNINGDIALOG_H
16 #define BORNAGAIN_GUI_COREGUI_VIEWS_INFOWIDGETS_PROJECTLOADWARNINGDIALOG_H
19 #include <QStringList>
25 class QTableWidgetItem;
35 const QString& documentVersion =
"");
The service to collect messages from different senders.
The dialog to inform user about encountered problems during the loading of old project.
QWidget * createModelInfoPanel()
Info panel with summary over warnings in different models.
QStringList tableHeaderLabels() const
Returns labels for table header.
QWidget * createExplanationPanel()
Info panel with explanations what had happened and what to do.
QTableWidgetItem * createTableItem(const QString &name)
const MessageService * m_messageService
ProjectLoadWarningDialog(QWidget *parent, const MessageService *messageService=0, const QString &documentVersion="")
int numberOfTableRows() const
Returns number of rows in table with error messages, each row represents an error message.
QString explanationText() const
Returns explanations what went wrong.
QWidget * createDetailsPanel()
Info panel with table widget containing error messages.
QWidget * createTopPanel()
Top panel with warning icon and the header.
QTableWidget * createTableWidget()
Creates QTableWidget and fills it with error messages.
QString m_projectDocumentVersion
QString const & name(EShape k)