]> git.lyx.org Git - lyx.git/blob - src/frontends/gnome/GLog.h
fix tooltips in toolbar
[lyx.git] / src / frontends / gnome / GLog.h
1
2 // -*- C++ -*-
3 /**
4  * \file GLog.h
5  * Copyright 2001 The LyX Team.
6  * See the file COPYING.
7  *
8  * \author Michael Koziarski <michael@koziarski.org>
9  */
10
11 #ifndef GLOG_H
12 #define GLOG_H
13
14 #ifdef __GNUG__
15 #pragma interface
16 #endif
17
18 #include "ControlLog.h"
19 #include "GnomeBase.h"
20
21 namespace Gtk {
22         class Button;
23         class TextView;
24 }
25
26 /**
27  * This class implements the dialog to modify the LaTeX preamble
28  */
29 class GLog : public FormCB<ControlLog> {
30 public:
31         ///
32         GLog(ControlLog & c);
33         ///
34         ~GLog();
35
36         void apply();
37         void update();
38         
39 private:
40         /// Build the dialog
41         void build();
42
43         /// Returns true if the dialog input is in a valid state.
44         bool validate() const;
45         
46         /// generated by accessors.py
47         Gtk::Button * refresh_btn() const;
48         /// generated by accessors.py
49         Gtk::Button * close_btn() const;
50         /// generated by accessors.py
51         Gtk::TextView * log_text() const;
52
53         
54 };
55
56 #endif