lyx_mirror/src/frontends/gtk/GInclude.h
John Spray 3a79aaab3f gtk include dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9353 a592a061-630c-0410-9148-cb99ea01b6c8
2004-12-07 00:29:15 +00:00

49 lines
990 B
C++

// -*- C++ -*-
/**
* \file GInclude.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author John Spray
*
* Full author contact details are available in file CREDITS.
*/
#ifndef GINCLUDE_H
#define GINCLUDE_H
#include "GViewBase.h"
namespace lyx {
namespace frontend {
class ControlInclude;
/** This class provides a GTK+ implementation of the Include Dialog.
*/
class GInclude : public GViewCB<ControlInclude, GViewGladeB> {
public:
GInclude(Dialog & parent);
private:
virtual void apply();
virtual void doBuild();
virtual void update();
Gtk::RadioButton * includeradio_;
Gtk::RadioButton * inputradio_;
Gtk::RadioButton * verbatimradio_;
Gtk::Entry * fileentry_;
Gtk::Button * openbutton_;
Gtk::CheckButton * markspacescheck_;
Gtk::CheckButton * previewcheck_;
void onBrowseClicked();
void onOpenClicked();
void onTypeToggled();
};
} // namespace frontend
} // namespace lyx
#endif // GINCLUDE_H