]> git.lyx.org Git - lyx.git/blob - src/frontends/gnome/GAbout.h
applying Martin Craig's gnome patch. Upgrading to gtkmm-2.0+ from the 1.3 developmen...
[lyx.git] / src / frontends / gnome / GAbout.h
1 // -*- C++ -*-
2 /**
3  * \file GAbout.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 GABOUT_H
13 #define GABOUT_H
14
15 #ifdef __GNUG__
16 #pragma interface
17 #endif
18
19 #include "ControlAboutlyx.h"
20 #include "GnomeBase.h"
21
22 namespace Gtk {
23         class Button;
24         class Label;
25         class TextView;
26 }
27
28 /**
29  * This class implements the dialog to display the information About LyX
30  */
31 class GAbout : public GnomeCB<ControlAboutlyx> {
32 public:
33         ///
34         GAbout();
35         ///
36         ~GAbout();
37
38         void apply();
39         void update();
40
41 private:
42         /// Build the dialog
43         void build();
44
45         /// Returns true if the dialog input is in a valid state.
46         bool validate() const;
47
48         /// generated by accessors.py
49         Gtk::Button * close_btn() const;
50         /// generated by accessors.py
51         Gtk::Label * version() const;
52         /// generated by accessors.py
53         Gtk::TextView * credits() const;
54         /// generated by accessors.py
55         Gtk::TextView * copyright() const;
56
57
58 };
59
60 #endif