summaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/guiSQLiteStudio/dialogs/fileexecerrorsdialog.h
blob: 2b474ce3338c55cef20973383cff72deb6b401fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef FILEEXECERRORSDIALOG_H
#define FILEEXECERRORSDIALOG_H

#include <QDialog>

namespace Ui {
    class FileExecErrorsDialog;
}

class QTableWidgetItem;

class FileExecErrorsDialog : public QDialog
{
        Q_OBJECT

    public:
        explicit FileExecErrorsDialog(const QList<QPair<QString, QString> >& errors, bool rolledBack, QWidget *parent = nullptr);
        ~FileExecErrorsDialog();

    private:
        QTableWidgetItem* item(const QString& text);

        Ui::FileExecErrorsDialog *ui;
};

#endif // FILEEXECERRORSDIALOG_H