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"
18 #include "funcrequest.h"
27 class ControlPrefs : public ControlDialogBI {
29 ControlPrefs(LyXView &, Dialogs &);
31 // FIXME: we should probably devolve the individual
32 // settings to methods here. But for now, this will
35 LyXRC & rc() { return rc_; }
37 LyXRC const & rc() const { return rc_; }
39 /// various file pickers
40 string const browsebind(string const & file);
41 string const browseUI(string const & file);
42 string const browsekbmap(string const & file);
43 string const browsedict(string const & file);
46 string const browse(string const & file, string const & title);
49 string const browsedir(string const & path, string const & title);
51 /// redraw widgets (for xforms color change)
55 void setColor(LColor::color col, string const & hex);
57 /// update the screen fonts after change
58 void updateScreenFonts();
60 /// set global converters
61 void setConverters(Converters const & conv);
63 /// set global formats
64 void setFormats(Formats const & form);
68 virtual void setParams();
70 /// apply current lyxrc
77 #endif // CONTROLPREFS_H