4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Alfredo Braunstein
9 * Full author contact details are available in file CREDITS.
12 #ifndef GUIERRORLIST_H
13 #define GUIERRORLIST_H
15 #include "GuiDialog.h"
16 #include "ErrorList.h"
17 #include "ui_ErrorListUi.h"
19 class QListWidgetItem;
24 class GuiErrorList : public GuiDialog, public Ui::ErrorListUi, public Controller
29 GuiErrorList(LyXView & lv);
33 void select(QListWidgetItem *);
37 void closeEvent(QCloseEvent *);
39 void showEvent(QShowEvent *);
41 Controller & controller() { return *this; }
43 void updateContents();
45 bool isBufferDependent() const { return true; }
47 bool initialiseParams(std::string const & data);
51 void dispatchParams() {}
53 /// goto this error in the parent bv
56 ErrorList const & errorList() const;
59 std::string error_type_;
60 /// the parent document name
64 } // namespace frontend
67 #endif // GUIERRORLIST_H