lyx_mirror/src/frontends/qt4/QErrorListDialog.h
Abdelrazak Younes 2a1da61470 * QErrorList::update_contents(): avoid touching the dialog here.
* 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
2007-01-25 10:21:02 +00:00

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