4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Michael Koziarski
9 * Full author contact details are available in file CREDITS
19 #include "ControlFloat.h"
20 #include "GnomeBase.h"
30 * This class implements the dialog to modify the LaTeX preamble
32 class GFloat : public GnomeCB<ControlFloat> {
35 GFloat(ControlFloat & c);
46 /// Returns true if the dialog input is in a valid state.
47 bool validate() const;
50 void connect_signals();
52 void disconnect_signals();
54 /// generated by accessors.py
55 Gtk::HBox * other_options() const;
56 /// generated by accessors.py
57 Gtk::CheckButton * page_of_floats() const;
58 /// generated by accessors.py
59 Gtk::CheckButton * top_of_page() const;
60 /// generated by accessors.py
61 Gtk::CheckButton * bottom_of_page() const;
62 /// generated by accessors.py
63 Gtk::CheckButton * here_if_possible() const;
64 /// generated by accessors.py
65 Gtk::RadioButton * here_definitely() const;
66 /// generated by accessors.py
67 Gtk::Button * close_btn() const;
68 /// Disable all the uncheckable buttons
69 void update_sensitive();
71 SigC::Connection conn_top_;
72 SigC::Connection conn_bottom_;
73 SigC::Connection conn_page_;
74 SigC::Connection conn_ifposs_;
75 SigC::Connection conn_definitely_;
76 SigC::Connection conn_disable_;