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
19 #include "ControlDialog_impl.h"
21 #include "funcrequest.h"
30 class ControlPrefs : public ControlDialogBI {
32 ControlPrefs(LyXView &, Dialogs &);
34 // FIXME: we should probably devolve the individual
35 // settings to methods here. But for now, this will
38 LyXRC & rc() { return rc_; }
40 LyXRC const & rc() const { return rc_; }
42 /// various file pickers
43 string const browsebind(string const & file);
44 string const browseUI(string const & file);
45 string const browsekbmap(string const & file);
46 string const browsedict(string const & file);
49 string const browse(string const & file, string const & title);
52 string const browsedir(string const & path, string const & title);
54 /// redraw widgets (for xforms color change)
58 void setColor(LColor::color col, string const & hex);
60 /// update the screen fonts after change
61 void updateScreenFonts();
63 /// set global converters
64 void setConverters(Converters const & conv);
66 /// set global formats
67 void setFormats(Formats const & form);
71 virtual void setParams();
73 /// apply current lyxrc
80 #endif // CONTROLPREFS_H