lyx_mirror/src/frontends/gnome/GPreamble.h
Angus Leeming 02e9472374 doxygen fixes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5347 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-26 08:57:43 +00:00

68 lines
1.1 KiB
C++

// -*- C++ -*-
/**
* \file GPreamble.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Michael Koziarski
*
* Full author contact details are available in file CREDITS
*/
#ifndef GPREAMBLE_H
#define GPREAMBLE_H
#ifdef __GNUG__
#pragma interface
#endif
#include "ControlPreamble.h"
#include "GnomeBase.h"
namespace Gtk {
class Button;
class TextView;
}
/**
* This class implements the dialog to modify the LaTeX preamble
*/
class GPreamble : public GnomeCB<ControlPreamble> {
public:
///
GPreamble(ControlPreamble & c);
///
~GPreamble();
void apply();
void update();
private:
/// Build the dialog
void build();
/// Returns true if the dialog input is in a valid state.
bool validate() const;
///
void connect_signals();
///
void disconnect_signals();
/// generated by accessors.py
Gtk::Button * ok_btn() const;
/// generated by accessors.py
Gtk::Button * apply_btn() const;
/// generated by accessors.py
Gtk::Button * cancel_btn() const;
/// generated by accessors.py
Gtk::TextView * preamble() const;
///
SigC::Connection slot_preamble_;
};
#endif