]> git.lyx.org Git - lyx.git/blob - src/frontends/gnome/GLog.h
fix math fonts with LyX/Mac
[lyx.git] / src / frontends / gnome / GLog.h
1 // -*- C++ -*-
2 /**
3  * \file GLog.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Michael Koziarski
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef GLOG_H
13 #define GLOG_H
14
15
16 #include "ControlLog.h"
17 #include "GnomeBase.h"
18
19 namespace Gtk {
20         class Button;
21         class TextView;
22 }
23
24 /**
25  * This class implements the dialog to modify the LaTeX preamble
26  */
27 class GLog : public GnomeCB<ControlLog> {
28 public:
29         ///
30         GLog();
31         ///
32         ~GLog();
33
34         void apply();
35         void update();
36
37 private:
38         /// Build the dialog
39         void build();
40
41         /// Returns true if the dialog input is in a valid state.
42         bool validate() const;
43
44         /// generated by accessors.py
45         Gtk::Button * refresh_btn() const;
46         /// generated by accessors.py
47         Gtk::Button * close_btn() const;
48         /// generated by accessors.py
49         Gtk::TextView * log_text() const;
50
51
52 };
53
54 #endif