lyx_mirror/src/frontends/qt/GuiErrorList.h
Jean-Marc Lasgouttes c293be56bd Rename frontend qt4 to qt
In particular, the directory frontends/qt4 is renamed to frontends/qt.

Many configurations file have to be updated. All mentions of qt4 in
the source have been audited, and changed to qt if necessary.

The only part that has not been updated is the CMake build system.
2019-07-20 23:39:40 +02:00

76 lines
1.3 KiB
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 "ErrorList.h"
#include "ui_ErrorListUi.h"
class QListWidgetItem;
namespace lyx {
namespace frontend {
class GuiErrorList : public GuiDialog, public Ui::ErrorListUi
{
Q_OBJECT
public:
GuiErrorList(GuiView & lv);
public Q_SLOTS:
/// select an entry
void select();
/// open the LaTeX log
void viewLog();
/// show the output file despite compilation errors
void showAnyway();
private:
///
void showEvent(QShowEvent *);
///
void paramsToDialog();
///
bool isBufferDependent() const { return true; }
///
bool initialiseParams(std::string const & data);
///
void clearParams() {}
///
void dispatchParams() {}
///
bool canApply() const { return true; }
/// goto this error in the parent bv. Returns success.
bool goTo(int item);
///
ErrorList const & errorList() const;
private:
///
std::string error_type_;
///
mutable ErrorList error_list_;
///
Buffer const * buf_;
/// the parent document name
docstring name_;
///
bool from_master_;
};
} // namespace frontend
} // namespace lyx
#endif // GUIERRORLIST_H