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