]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/QErrorList.h
enable Font cache only for MacOSX and inline width() for other platform.
[lyx.git] / src / frontends / qt4 / QErrorList.h
1 // -*- C++ -*-
2 /**
3  * \file QErrorList.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 QERRORLIST_H
13 #define QERRORLIST_H
14
15 #include "QDialogView.h"
16
17 class QListWidgetItem;
18
19 namespace lyx {
20 namespace frontend {
21
22 class ControlErrorList;
23 class QErrorListDialog;
24
25 class QErrorList :
26         public QController<ControlErrorList, QView<QErrorListDialog> >
27 {
28 public:
29         friend class QErrorListDialog;
30
31         QErrorList(Dialog &);
32 private:
33         /// select an entry
34         void select(QListWidgetItem *);
35         /// required apply
36         virtual void apply() {}
37         /// build dialog
38         virtual void build_dialog();
39         /// update contents
40         virtual void update_contents();
41 };
42
43 } // namespace frontend
44 } // namespace lyx
45
46 #endif // QERRORLIST_H