]> git.lyx.org Git - features.git/commit
* center the line in the layout category headers in the middle of the lowercase...
authorStefan Schimanski <sts@lyx.org>
Mon, 10 Mar 2008 13:02:57 +0000 (13:02 +0000)
committerStefan Schimanski <sts@lyx.org>
Mon, 10 Mar 2008 13:02:57 +0000 (13:02 +0000)
commit473091fb8296fe2857aa5650c9d108c626fdc47d
tree61da6b755384ffb7b8cc2f1aed94b0f61f031433
parent29dca708f7c9fc25f40f7db0b16ff629980072f4
* center the line in the layout category headers in the middle of the lowercase chars
    * some messages for the statusbar
    * configuration option for grouping of the layouts
    * put category headers above the first item of each category in the
      layout list.
      To avoid scrolling we have to sneak in space for the headers.
      So we tweak this value accordingly. It's not nice, but the
      only possible way it seems.

    Note 1: Because QComboBox uses the "first row's height * rowCount" to
    estimate the height of the popup, we have to fake some extra pixel
    lines to avoid scrolling because of the extra space taken by the
    headers. This is a hack, but I don't see a better way to establish that.

    Note 2: An alternative implementation is to insert headers as real list
    items. But it seems that QListView cannot skip them in cursor
    navigation then. So we stick to the upper approach.

    * remove checkbox in layout menu

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23626 a592a061-630c-0410-9148-cb99ea01b6c8
src/LyXRC.cpp
src/LyXRC.h
src/frontends/qt4/GuiPrefs.cpp
src/frontends/qt4/GuiToolbar.cpp
src/frontends/qt4/GuiToolbar.h
src/frontends/qt4/ui/PrefUi.ui