mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
3a79aaab3f
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9353 a592a061-630c-0410-9148-cb99ea01b6c8
49 lines
990 B
C++
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
|