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 "ControlPreamble.h"
20 #include "GnomeBase.h"
28 * This class implements the dialog to modify the LaTeX preamble
30 class GPreamble : public GnomeCB<ControlPreamble> {
33 GPreamble(ControlPreamble & c);
44 /// Returns true if the dialog input is in a valid state.
45 bool validate() const;
48 void connect_signals();
50 void disconnect_signals();
52 /// generated by accessors.py
53 Gtk::Button * ok_btn() const;
54 /// generated by accessors.py
55 Gtk::Button * apply_btn() const;
56 /// generated by accessors.py
57 Gtk::Button * cancel_btn() const;
58 /// generated by accessors.py
59 Gtk::TextView * preamble() const;
62 SigC::Connection slot_preamble_;