2 /* This file is part of
3 * =================================================
5 * LyX, The Document Processor
6 * Copyright 1995 Matthias Ettrich.
7 * Copyright 1995-2000 The LyX Team.
9 * =================================================
11 * \author Michael Koziarski
21 #include "ControlPreamble.h"
22 #include "GnomeBase.h"
30 * This class implements the dialog to modify the LaTeX preamble
32 class GPreamble : public FormCB<ControlPreamble> {
35 GPreamble(ControlPreamble & 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::Button * ok_btn() const;
56 /// generated by accessors.py
57 Gtk::Button * apply_btn() const;
58 /// generated by accessors.py
59 Gtk::Button * cancel_btn() const;
60 /// generated by accessors.py
61 Gtk::Text * preamble() const;
64 SigC::Connection slot_preamble_;