mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 21:49:51 +00:00
fb69a2e3e4
- Fix error navigation with the keyboard (bug 4895). git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24998 a592a061-630c-0410-9148-cb99ea01b6c8
64 lines
1.1 KiB
C++
64 lines
1.1 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();
|
|
|
|
private:
|
|
///
|
|
void showEvent(QShowEvent *);
|
|
/// update contents
|
|
void updateContents();
|
|
///
|
|
bool isBufferDependent() const { return true; }
|
|
///
|
|
bool initialiseParams(std::string const & data);
|
|
///
|
|
void clearParams() {}
|
|
///
|
|
void dispatchParams() {}
|
|
|
|
/// goto this error in the parent bv
|
|
void goTo(int item);
|
|
///
|
|
ErrorList const & errorList() const;
|
|
private:
|
|
///
|
|
std::string error_type_;
|
|
/// the parent document name
|
|
docstring name_;
|
|
};
|
|
|
|
} // namespace frontend
|
|
} // namespace lyx
|
|
|
|
#endif // GUIERRORLIST_H
|