mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 21:49:51 +00:00
2a1da61470
* QErrorListDialog::showEvent(): new method. Set the error on the first item. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16848 a592a061-630c-0410-9148-cb99ea01b6c8
46 lines
847 B
C++
46 lines
847 B
C++
// -*- C++ -*-
|
|
/**
|
|
* \file QErrorListDialog.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 QERRORLISTDIALOG_H
|
|
#define QERRORLISTDIALOG_H
|
|
|
|
#include "ui/QErrorListUi.h"
|
|
|
|
#include <QDialog>
|
|
#include <QCloseEvent>
|
|
|
|
class QListWidgetItem;
|
|
|
|
namespace lyx {
|
|
namespace frontend {
|
|
|
|
class QErrorList;
|
|
|
|
class QErrorListDialog : public QDialog, public Ui::QErrorListUi {
|
|
Q_OBJECT
|
|
public:
|
|
QErrorListDialog(QErrorList * form);
|
|
~QErrorListDialog();
|
|
|
|
public Q_SLOTS:
|
|
void select_adaptor(QListWidgetItem *);
|
|
protected:
|
|
void closeEvent(QCloseEvent *);
|
|
void showEvent(QShowEvent *);
|
|
private:
|
|
QErrorList * form_;
|
|
};
|
|
|
|
} // namespace frontend
|
|
} // namespace lyx
|
|
|
|
#endif // QTOCERRORLIST_H
|