]> git.lyx.org Git - lyx.git/blob - src/frontends/gtk/GFloat.h
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / gtk / GFloat.h
1 // -*- C++ -*-
2 /**
3  * \file GFloat.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 GFLOAT_H
13 #define GFLOAT_H
14
15 #include "GViewBase.h"
16
17 namespace lyx {
18 namespace frontend {
19
20 class ControlFloat;
21
22 /** This class provides a GTK+ implementation of the ERT Dialog.
23  */
24 class GFloat : public GViewCB<ControlFloat, GViewGladeB> {
25 public:
26         GFloat(Dialog & parent);
27 private:
28         virtual void apply();
29         virtual void doBuild();
30         virtual void update();
31
32         void updateSensitivity();
33
34         // apply() won't act when this is true
35         bool applylock_;
36
37         Gtk::RadioButton * defaultradio_;
38         Gtk::RadioButton * heredefinitelyradio_;
39         Gtk::RadioButton * alternativeradio_;
40         Gtk::CheckButton * topcheck_;
41         Gtk::CheckButton * bottomcheck_;
42         Gtk::CheckButton * pageoffloatscheck_;
43         Gtk::CheckButton * hereifpossiblecheck_;
44         Gtk::CheckButton * ignorerulescheck_;
45         Gtk::CheckButton * spancolumnscheck_;
46         Gtk::CheckButton * rotatesidewayscheck_;
47 };
48
49 } // namespace frontend
50 } // namespace lyx
51
52 #endif // GFLOAT_H