mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-25 09:35:39 +00:00
0be0fcfd59
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7598 a592a061-630c-0410-9148-cb99ea01b6c8
55 lines
908 B
C++
55 lines
908 B
C++
// -*- C++ -*-
|
|
/**
|
|
* \file GLog.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 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
|
|
*/
|
|
class GLog : public GnomeCB<ControlLog> {
|
|
public:
|
|
///
|
|
GLog();
|
|
///
|
|
~GLog();
|
|
|
|
void apply();
|
|
void update();
|
|
|
|
private:
|
|
/// Build the dialog
|
|
void build();
|
|
|
|
/// Returns true if the dialog input is in a valid state.
|
|
bool validate() const;
|
|
|
|
/// 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;
|
|
|
|
|
|
};
|
|
|
|
#endif
|