2002-06-03 03:38:30 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file GLog.h
|
2002-09-25 14:26:13 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2002-06-03 03:38:30 +00:00
|
|
|
*
|
2002-12-01 22:59:25 +00:00
|
|
|
* \author Michael Koziarski
|
2002-09-25 14:26:13 +00:00
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
* Full author contact details are available in file CREDITS.
|
2002-06-03 03:38:30 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef GLOG_H
|
|
|
|
#define GLOG_H
|
|
|
|
|
|
|
|
|
|
|
|
#include "ControlLog.h"
|
|
|
|
#include "GnomeBase.h"
|
|
|
|
|
|
|
|
namespace Gtk {
|
|
|
|
class Button;
|
|
|
|
class TextView;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* This class implements the dialog to modify the LaTeX preamble
|
|
|
|
*/
|
2002-09-26 08:57:43 +00:00
|
|
|
class GLog : public GnomeCB<ControlLog> {
|
2002-06-03 03:38:30 +00:00
|
|
|
public:
|
|
|
|
///
|
2003-02-08 00:25:34 +00:00
|
|
|
GLog();
|
2002-06-03 03:38:30 +00:00
|
|
|
///
|
|
|
|
~GLog();
|
|
|
|
|
|
|
|
void apply();
|
|
|
|
void update();
|
2002-12-01 22:59:25 +00:00
|
|
|
|
2002-06-03 03:38:30 +00:00
|
|
|
private:
|
|
|
|
/// Build the dialog
|
|
|
|
void build();
|
|
|
|
|
|
|
|
/// Returns true if the dialog input is in a valid state.
|
|
|
|
bool validate() const;
|
2002-12-01 22:59:25 +00:00
|
|
|
|
2002-06-03 03:38:30 +00:00
|
|
|
/// generated by accessors.py
|
|
|
|
Gtk::Button * refresh_btn() const;
|
|
|
|
/// generated by accessors.py
|
|
|
|
Gtk::Button * close_btn() const;
|
|
|
|
/// generated by accessors.py
|
|
|
|
Gtk::TextView * log_text() const;
|
|
|
|
|
2002-12-01 22:59:25 +00:00
|
|
|
|
2002-06-03 03:38:30 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|