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.
16 #include "ControlFloat.h"
17 #include "GnomeBase.h"
27 * This class implements the dialog to modify the LaTeX preamble
29 class GFloat : public GnomeCB<ControlFloat> {
43 /// Returns true if the dialog input is in a valid state.
44 bool validate() const;
47 void connect_signals();
49 void disconnect_signals();
51 /// generated by accessors.py
52 Gtk::HBox * other_options() const;
53 /// generated by accessors.py
54 Gtk::CheckButton * page_of_floats() const;
55 /// generated by accessors.py
56 Gtk::CheckButton * top_of_page() const;
57 /// generated by accessors.py
58 Gtk::CheckButton * bottom_of_page() const;
59 /// generated by accessors.py
60 Gtk::CheckButton * here_if_possible() const;
61 /// generated by accessors.py
62 Gtk::RadioButton * here_definitely() const;
63 /// generated by accessors.py
64 Gtk::Button * close_btn() const;
65 /// Disable all the uncheckable buttons
66 void update_sensitive();
68 SigC::Connection conn_top_;
69 SigC::Connection conn_bottom_;
70 SigC::Connection conn_page_;
71 SigC::Connection conn_ifposs_;
72 SigC::Connection conn_definitely_;
73 SigC::Connection conn_disable_;