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