X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLyXRC.h;h=4032e6bebc01b89aa29334210064c96ba22f5cee;hb=5170489b983c08c8be8d878996710eb0f6db2679;hp=704fc753128279cd41d7bedaefb55d67d45cd2cb;hpb=269695aa5f50651cc7e49a480bc426e540b577b6;p=lyx.git diff --git a/src/LyXRC.h b/src/LyXRC.h index 704fc75312..4032e6bebc 100644 --- a/src/LyXRC.h +++ b/src/LyXRC.h @@ -19,6 +19,7 @@ #define LYXRC_H #include "paper.h" +#include "Length.h" #include "support/strfwd.h" @@ -57,6 +58,7 @@ public: RC_COMPLETION_INLINE_MATH, RC_COMPLETION_INLINE_TEXT, RC_COMPLETION_INLINE_DOTS, + RC_COMPLETION_MINLENGTH, RC_COMPLETION_POPUP_DELAY, RC_COMPLETION_POPUP_MATH, RC_COMPLETION_POPUP_TEXT, @@ -68,7 +70,7 @@ public: RC_CURSOR_WIDTH, RC_DATE_INSERT_FORMAT, RC_DEFAULT_DECIMAL_POINT, - RC_DEFAULT_LANGUAGE, + RC_DEFAULT_LENGTH_UNIT, RC_DEFAULT_VIEW_FORMAT, RC_DEFFILE, RC_DIALOGS_ICONIFY_WITH_MAIN, @@ -183,6 +185,7 @@ public: RC_USE_SYSTEM_COLORS, RC_USE_TOOLTIP, RC_USE_PIXMAP_CACHE, + RC_USE_QIMAGE, RC_VIEWDVI_PAPEROPTION, RC_VIEWER, RC_VIEWER_ALTERNATIVES, @@ -359,6 +362,8 @@ public: bool use_system_colors; /// Use pixmap cache? bool use_pixmap_cache; + /// Use QImage backend? + bool use_qimage; /// Spellchecker engine: aspell, hunspell, etc std::string spellchecker; /// Alternate language for spellchecker @@ -369,6 +374,8 @@ public: bool spellcheck_continuously; /// spellcheck notes and comments? bool spellcheck_notes; + /// minimum length of words to complete + unsigned int completion_minlength; /// bool use_kbmap; /// @@ -411,8 +418,6 @@ public: /// bool mark_foreign_language; /// - std::string default_language; - /// std::string gui_language; /// std::string default_view_format; @@ -528,6 +533,8 @@ public: /// Default decimal point when aligning table columns on decimal std::string default_decimal_point; /// + Length::UNIT default_length_unit; + /// enum ScrollWheelZoom { SCROLL_WHEEL_ZOOM_OFF, SCROLL_WHEEL_ZOOM_CTRL,