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