mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 21:49:51 +00:00
60 lines
979 B
C
60 lines
979 B
C
|
|
||
|
// -*- C++ -*-
|
||
|
/**
|
||
|
* \file GAbout.h
|
||
|
* Copyright 2001 The LyX Team.
|
||
|
* See the file COPYING.
|
||
|
*
|
||
|
* \author Michael Koziarski <michael@koziarski.org>
|
||
|
*/
|
||
|
|
||
|
#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
|
||
|
*/
|
||
|
class GAbout : public FormCB<ControlAboutlyx> {
|
||
|
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
|