4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
9 * Full author contact details are available in file CREDITS.
12 #ifndef GPREFERENCES_H
13 #define GPREFERENCES_H
15 #include "GViewBase.h"
24 /** This class provides a GTK+ implementation of the Preferences Dialog.
26 class GPreferences : public GViewCB<ControlPrefs, GViewGladeB> {
28 GPreferences(Dialog & parent);
31 virtual void doBuild();
32 virtual void update();
35 Gtk::FontButton *romanfontbutton_;
36 Gtk::FontButton *sansseriffontbutton_;
37 Gtk::FontButton *typewriterfontbutton_;
38 Gtk::Adjustment *dpiadj_;
39 Gtk::Adjustment *zoomadj_;
43 Gtk::RadioButton *graphicscolorradio_;
44 Gtk::RadioButton *graphicsgrayscaleradio_;
45 Gtk::RadioButton *graphicsmonoradio_;
46 Gtk::RadioButton *graphicsnoneradio_;
48 Gtk::RadioButton *instprevonradio_;
49 Gtk::RadioButton *instprevoffradio_;
50 Gtk::RadioButton *instprevnomathradio_;
54 void keyboard_sensitivity ();
55 Gtk::CheckButton *keyboardmapcheck_;
56 Gtk::FileChooserButton *keyboardmap1fcbutton_;
57 Gtk::FileChooserButton *keyboardmap2fcbutton_;
61 std::vector<std::string> lang_;
62 Gtk::ComboBoxText defaultlanguagecombo_;
63 Gtk::Entry *languagepackageentry_;
64 Gtk::Entry *commandstartentry_;
65 Gtk::Entry *commandendentry_;
66 Gtk::CheckButton *usebabelcheck_;
67 Gtk::CheckButton *markforeigncheck_;
68 Gtk::CheckButton *globalcheck_;
69 Gtk::CheckButton *RTLsupportcheck_;
70 Gtk::CheckButton *autobegincheck_;
71 Gtk::CheckButton *autoendcheck_;
74 // >>> Spellchecker tab
75 Gtk::ComboBoxText spellcheckercombo_;
76 Gtk::Entry *alternativelanguageentry_;
77 Gtk::Entry *escapecharactersentry_;
78 Gtk::FileChooserButton *personaldictionaryfcbutton_;
79 Gtk::CheckButton *acceptcompoundcheck_;
80 Gtk::CheckButton *useinputenccheck_;
81 // <<< Spellchecker tab
84 } // namespace frontend
87 #endif // GPREFERENCES_H