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) const;
38 std::string const browseUI(std::string const & file) const;
39 std::string const browsekbmap(std::string const & file) const;
40 std::string const browsedict(std::string const & file) const;
43 std::string const browse(std::string const & file,
44 std::string const & title) const;
47 std::string const browsedir(std::string const & path,
48 std::string const & title) const;
50 /// redraw widgets (for xforms color change)
54 void setColor(LColor_color col, std::string const & hex);
56 /// update the screen fonts after change
57 void updateScreenFonts();
59 /// set global converters
60 void setConverters(Converters const & conv);
62 /// set global formats
63 void setFormats(Formats const & form);
67 virtual void setParams();
69 /// apply current lyxrc
76 #endif // CONTROLPREFS_H