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"
24 class ControlPrefs : public ControlDialogBI {
26 ControlPrefs(LyXView &, Dialogs &);
28 // FIXME: we should probably devolve the individual
29 // settings to methods here. But for now, this will
32 LyXRC & rc() { return rc_; }
34 LyXRC const & rc() const { return rc_; }
36 /// various file pickers
37 std::string const browsebind(std::string const & file);
38 std::string const browseUI(std::string const & file);
39 std::string const browsekbmap(std::string const & file);
40 std::string const browsedict(std::string const & file);
43 std::string const browse(std::string const & file, std::string const & title);
46 std::string const browsedir(std::string const & path, std::string const & title);
48 /// redraw widgets (for xforms color change)
52 void setColor(LColor_color col, std::string const & hex);
54 /// update the screen fonts after change
55 void updateScreenFonts();
57 /// set global converters
58 void setConverters(Converters const & conv);
60 /// set global formats
61 void setFormats(Formats const & form);
65 virtual void setParams();
67 /// apply current lyxrc
74 #endif // CONTROLPREFS_H