I just rewrote the session management of windows geometry to use
QSettings. This commit also removes the possibility to fix the window
dimensions in the RC file. Instead we have now a single check box for
enabling/disabling geometry session management.
Each window has now its own saved geometry and icon size. Maybe I'll
cleanup session for toolbars too... but if anybody is interested, be my
guest.
Anyway, please test the new code on your favorite Window manager.
Abdel.
Author: younes
Date: Thu Nov 15 13:58:44 2007
New Revision: 21625
URL: http://www.lyx.org/trac/changeset/21625
Log:
Use QSettings for session management of windows geometry. This commit
also removes the possibility to fix the window dimensions in the RC
file. Instead we have now a single check box for enabling/disabling
geometry session management.
Modified:
lyx-devel/trunk/src/LyXFunc.cpp
lyx-devel/trunk/src/LyXRC.cpp
lyx-devel/trunk/src/LyXRC.h
lyx-devel/trunk/src/frontends/qt4/GuiApplication.cpp
lyx-devel/trunk/src/frontends/qt4/GuiPrefs.cpp
lyx-devel/trunk/src/frontends/qt4/GuiPrefs.h
lyx-devel/trunk/src/frontends/qt4/GuiView.cpp
lyx-devel/trunk/src/frontends/qt4/GuiView.h
lyx-devel/trunk/src/frontends/qt4/ui/PrefUi.ui