]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/QErrorListDialog.h
enable Font cache only for MacOSX and inline width() for other platform.
[lyx.git] / src / frontends / qt4 / QErrorListDialog.h
1 // -*- C++ -*-
2 /**
3  * \file QErrorListDialog.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Alfredo Braunstein
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef QERRORLISTDIALOG_H
13 #define QERRORLISTDIALOG_H
14
15 #include "ui/QErrorListUi.h"
16
17 #include <QDialog>
18 #include <QCloseEvent>
19
20 class QListWidgetItem;
21
22 namespace lyx {
23 namespace frontend {
24
25 class QErrorList;
26
27 class QErrorListDialog : public QDialog, public Ui::QErrorListUi {
28         Q_OBJECT
29 public:
30         QErrorListDialog(QErrorList * form);
31         ~QErrorListDialog();
32 public Q_SLOTS:
33         void select_adaptor(QListWidgetItem *);
34 protected:
35         void closeEvent(QCloseEvent * e);
36 private:
37         QErrorList * form_;
38 };
39
40 } // namespace frontend
41 } // namespace lyx
42
43 #endif // QTOCERRORLIST_H