]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/GuiLog.h
ad6fe49e1b7db6e3e30a6396c90703a4fc959643
[lyx.git] / src / frontends / qt4 / GuiLog.h
1 // -*- C++ -*-
2 /**
3  * \file GuiLog.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author John Levon
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef GUILOG_H
13 #define GUILOG_H
14
15 #include "GuiDialog.h"
16 #include "ControlLog.h"
17 #include "ui_LogUi.h"
18
19 namespace lyx {
20 namespace frontend {
21
22 class LogHighlighter;
23
24 class GuiLogDialog : public GuiDialog, public Ui::LogUi
25 {
26         Q_OBJECT
27 public:
28         GuiLogDialog(LyXView & lv);
29 private Q_SLOTS:
30         void updateClicked();
31 private:
32         void closeEvent(QCloseEvent * e);
33         /// parent controller
34         ControlLog & controller() const;
35         /// Apply changes
36         void applyView() {}
37         /// update
38         void update_contents();
39
40         /// log syntax highlighter
41         LogHighlighter * highlighter;
42 };
43
44
45 } // namespace frontend
46 } // namespace lyx
47
48 #endif // QLOG_H