]> git.lyx.org Git - features.git/commit
Finish implementation of "use system colors" checkbox.
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 9 Aug 2010 12:15:02 +0000 (12:15 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 9 Aug 2010 12:15:02 +0000 (12:15 +0000)
commitb01fcee92d650474f36cbee987af26cd27fdc17d
treead5cb517203d717f3193464c1becd6ba67eacda5
parentaba279a9289d171a2f59edf51c96fe6a242fd11b
Finish implementation of "use system colors" checkbox.

ColorCache:
  * method isSystem() allows to know whether a color can be overridden by system colors
  * method get() has a variant that accepts a bool (system color or not)
  * code simplifications
GuiPrefs:
  * hide colors set from the system when they are inherited
  * syncronize list of colors and checkbox

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35101 a592a061-630c-0410-9148-cb99ea01b6c8
src/frontends/qt4/ColorCache.cpp
src/frontends/qt4/ColorCache.h
src/frontends/qt4/GuiPrefs.cpp
src/frontends/qt4/GuiPrefs.h