lyx_mirror/src/frontends/gtk/GPreferences.h
John Spray 757cb58173 Spellchecker options for gtk preferences dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13253 a592a061-630c-0410-9148-cb99ea01b6c8
2006-02-17 17:05:24 +00:00

88 lines
2.2 KiB
C++

// -*- C++ -*-
/**
* \file GPreferences.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 GPREFERENCES_H
#define GPREFERENCES_H
#include "GViewBase.h"
#include <vector>
namespace lyx {
namespace frontend {
class ControlPrefs;
/** This class provides a GTK+ implementation of the Preferences Dialog.
*/
class GPreferences : public GViewCB<ControlPrefs, GViewGladeB> {
public:
GPreferences(Dialog & parent);
private:
virtual void apply();
virtual void doBuild();
virtual void update();
// >>> Font tab
Gtk::FontButton *romanfontbutton_;
Gtk::FontButton *sansseriffontbutton_;
Gtk::FontButton *typewriterfontbutton_;
Gtk::Adjustment *dpiadj_;
Gtk::Adjustment *zoomadj_;
// <<< Font tab
// >>> Graphics tab
Gtk::RadioButton *graphicscolorradio_;
Gtk::RadioButton *graphicsgrayscaleradio_;
Gtk::RadioButton *graphicsmonoradio_;
Gtk::RadioButton *graphicsnoneradio_;
Gtk::RadioButton *instprevonradio_;
Gtk::RadioButton *instprevoffradio_;
Gtk::RadioButton *instprevnomathradio_;
// <<< Graphics tab
// >>> Keyboard tab
void keyboard_sensitivity ();
Gtk::CheckButton *keyboardmapcheck_;
Gtk::FileChooserButton *keyboardmap1fcbutton_;
Gtk::FileChooserButton *keyboardmap2fcbutton_;
// <<< Keyboard tab
// >>> Language tab
std::vector<std::string> lang_;
Gtk::ComboBoxText defaultlanguagecombo_;
Gtk::Entry *languagepackageentry_;
Gtk::Entry *commandstartentry_;
Gtk::Entry *commandendentry_;
Gtk::CheckButton *usebabelcheck_;
Gtk::CheckButton *markforeigncheck_;
Gtk::CheckButton *globalcheck_;
Gtk::CheckButton *RTLsupportcheck_;
Gtk::CheckButton *autobegincheck_;
Gtk::CheckButton *autoendcheck_;
// <<< Language tab
// >>> Spellchecker tab
Gtk::ComboBoxText spellcheckercombo_;
Gtk::Entry *alternativelanguageentry_;
Gtk::Entry *escapecharactersentry_;
Gtk::FileChooserButton *personaldictionaryfcbutton_;
Gtk::CheckButton *acceptcompoundcheck_;
Gtk::CheckButton *useinputenccheck_;
// <<< Spellchecker tab
};
} // namespace frontend
} // namespace lyx
#endif // GPREFERENCES_H