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 CONTROLPREFS_H
13 #define CONTROLPREFS_H
16 #include "ControlDialog_impl.h"
17 #include "support/std_string.h"
25 class ControlPrefs : public ControlDialogBI {
27 ControlPrefs(LyXView &, Dialogs &);
29 // FIXME: we should probably devolve the individual
30 // settings to methods here. But for now, this will
33 LyXRC & rc() { return rc_; }
35 LyXRC const & rc() const { return rc_; }
37 /// various file pickers
38 string const browsebind(string const & file);
39 string const browseUI(string const & file);
40 string const browsekbmap(string const & file);
41 string const browsedict(string const & file);
44 string const browse(string const & file, string const & title);
47 string const browsedir(string const & path, string const & title);
49 /// redraw widgets (for xforms color change)
53 void setColor(LColor_color col, string const & hex);
55 /// update the screen fonts after change
56 void updateScreenFonts();
58 /// set global converters
59 void setConverters(Converters const & conv);
61 /// set global formats
62 void setFormats(Formats const & form);
66 virtual void setParams();
68 /// apply current lyxrc
75 #endif // CONTROLPREFS_H