2002-06-15 09:22:03 +00:00
|
|
|
|
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file GAbout.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-15 09:22:03 +00:00
|
|
|
*
|
2002-09-25 14:26:13 +00:00
|
|
|
* \author Michael Koziarski
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS
|
2002-06-15 09:22:03 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef GABOUT_H
|
|
|
|
#define GABOUT_H
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "ControlAboutlyx.h"
|
|
|
|
#include "GnomeBase.h"
|
|
|
|
|
|
|
|
namespace Gtk {
|
|
|
|
class Button;
|
|
|
|
class Label;
|
|
|
|
class TextView;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* This class implements the dialog to display the information About LyX
|
|
|
|
*/
|
2002-09-26 08:57:43 +00:00
|
|
|
class GAbout : public GnomeCB<ControlAboutlyx> {
|
2002-06-15 09:22:03 +00:00
|
|
|
public:
|
|
|
|
///
|
|
|
|
GAbout(ControlAboutlyx & c);
|
|
|
|
///
|
|
|
|
~GAbout();
|
|
|
|
|
|
|
|
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 * close_btn() const;
|
|
|
|
/// generated by accessors.py
|
|
|
|
Gtk::Label * version() const;
|
|
|
|
/// generated by accessors.py
|
|
|
|
Gtk::TextView * credits() const;
|
|
|
|
/// generated by accessors.py
|
|
|
|
Gtk::TextView * copyright() const;
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|