lyx_mirror/src/frontends/qt4/GuiErrorList.h
André Pönitz 470aba2a0e cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20217 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 18:33:42 +00:00

49 lines
928 B
C++

// -*- 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