]> git.lyx.org Git - lyx.git/blob - src/frontends/gtk/GInclude.h
some tabular fixes for the problems reported by Helge
[lyx.git] / src / frontends / gtk / GInclude.h
1 // -*- C++ -*-
2 /**
3  * \file GInclude.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author John Spray
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef GINCLUDE_H
13 #define GINCLUDE_H
14
15 #include "GViewBase.h"
16
17 namespace lyx {
18 namespace frontend {
19
20 class ControlInclude;
21
22 /** This class provides a GTK+ implementation of the Include Dialog.
23  */
24 class GInclude : public GViewCB<ControlInclude, GViewGladeB> {
25 public:
26         GInclude(Dialog & parent);
27 private:
28         virtual void apply();
29         virtual void doBuild();
30         virtual void update();
31
32         Gtk::RadioButton * includeradio_;
33         Gtk::RadioButton * inputradio_;
34         Gtk::RadioButton * verbatimradio_;
35         Gtk::Entry * fileentry_;
36         Gtk::Button * openbutton_;
37         Gtk::CheckButton * markspacescheck_;
38         Gtk::CheckButton * previewcheck_;
39
40         void onBrowseClicked();
41         void onOpenClicked();
42         void onTypeToggled();
43 };
44
45 } // namespace frontend
46 } // namespace lyx
47
48 #endif // GINCLUDE_H