// -*- C++ -*- /** * \file GuiErrorList.h * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * * \author Alfredo Braunstein * * Full author contact details are available in file CREDITS. */ #ifndef GUIERRORLIST_H #define GUIERRORLIST_H #include "GuiDialog.h" #include "ControlErrorList.h" #include "ui_ErrorListUi.h" class QListWidgetItem; namespace lyx { namespace frontend { class GuiErrorListDialog : public GuiDialog, public Ui::ErrorListUi { Q_OBJECT public: GuiErrorListDialog(LyXView & lv); public Q_SLOTS: void select_adaptor(QListWidgetItem *); private: void closeEvent(QCloseEvent *); void showEvent(QShowEvent *); /// parent controller ControlErrorList & controller(); /// select an entry void select(QListWidgetItem *); /// update contents void updateContents(); }; } // namespace frontend } // namespace lyx #endif // GUIERRORLIST_H