lyx_mirror/src/frontends
Guillaume Munch 2dfb5f80ce Limit the size of navigation menus for performance.
After d5a5fbb8, as indicated in the commit log, it remained to make sure that
the sub-menus of the navigation menu showing the TOCs are generated in a delayed
fashion, to avoid corner cases regarding performance when documents have very
lengthy tocs (e.g. in a document with 1000 sections it takes a few hundreds
milliseconds for the menu to be refreshed). But this idea actually requires
substantial changes to the way menus are computed, so it is not for now.

In the meanwhile, I reintroduce a max size for menus, after which it is cut
off. This differs from the one that I removed at d5a5fbb8 in two ways: 1) if
there are more items than the max size, then we still show something instead of
nothing, 2) we allow ourselves to rely on qt's scrollable menus and therefore
allow bigger menus than before the above commit. The philosophy is that it is
better to show something than nothing, that it's better to show a scrollable
menu than to cut the menu to fit the screen, and that beyond a certain size the
scrollable menu becomes useless anyways.
2015-12-17 20:38:04 +00:00
..
qt4 Limit the size of navigation menus for performance. 2015-12-17 20:38:04 +00:00
tests Fix C++11 std::regex incompatibility 2015-11-24 20:31:14 +01:00
.gitignore
alert.h Remove heavy includes 2014-11-30 12:52:01 +01:00
Application.h Auto feature for minibuffer toolbar 2015-07-15 17:41:09 +02:00
Clipboard.h GuiLog: Use GuiClipboard to put the log on the clipboard 2014-04-29 15:38:35 +02:00
CMakeLists.txt Cmake testing: Added test_biblio 2013-08-07 15:00:03 +02:00
Delegates.h
FontLoader.h Work around broken math symbol display (bug 7954) 2014-03-08 11:13:39 +01:00
FontMetrics.h Use QFontMetrics information for underlines (and friends) width and position 2015-09-08 10:44:03 +02:00
KeyModifier.h
KeySymbol.h
Makefile.am Add cmake files to autoconf's dist 2014-08-31 15:21:20 +02:00
mouse_state.h
Painter.h Re-implement text justification 2015-07-20 23:43:05 +02:00
Selection.h
WorkArea.h
WorkAreaManager.cpp
WorkAreaManager.h