Bo Peng
f189214a89
Session: restore toolbars in the right order and location
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16963 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-31 02:39:46 +00:00
Bo Peng
66b7c7eebf
BUG3127 Toolbar display: restore all toolbars to different lines. Not good but better than the current situation. qt > 4.2.2 is required.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16895 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-27 20:54:17 +00:00
Bo Peng
dbe93457cd
Fix bug 3092, use both pit and id to keep track of bookmarks.
...
* src/session.h/C: save pit instead of id
* src/lyxfunc.h/C: gotoBookmark function
* src/BufferView.h/C: proper update of bookmarks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16647 a592a061-630c-0410-9148-cb99ea01b6c8
2007-01-11 16:01:10 +00:00
Georg Baum
ed99f752f9
more unicode filenames
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16133 a592a061-630c-0410-9148-cb99ea01b6c8
2006-12-02 16:07:15 +00:00
Georg Baum
8d9df8bce5
fix gcc warnings
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15727 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-04 09:47:14 +00:00
Bo Peng
eaa33dca6d
Session/Toolbars:
...
* src/LyXAction.C: LFUN_TOOLBAR_TOGGLE_STATE
* src/session.h/C: add ToolbarSection class
* src/lyxfunc.C: handle LFUN_TOOLBAR_TOGGLE_STATE
* src/frontends/LyXView.h/C: toggleToolbarState(name)
* src/frontends/Toolbars.h/C: initFlags, toogle and save toolbar,
changed update logic
* src/frontends/qt4/QLToolbar.h/C: saveInfo. Surprisingly little is
asked from frontend.
* src/frontends/qt4/GuiView.C: save toolbar when lyx exits
* src/MenuBackend.h/C: add Toolbars submenu
* src/lfuns.h: add LFUN_TOOLBAR_TOGGLE_STATE
* src/ToolbarBackend.h: add AUTO flag
* lib/ui/stdmenus.ui: add view->Toolbar menu
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15691 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-02 16:01:36 +00:00
Georg Baum
4fb480f34f
fix compile error
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15675 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-01 17:06:17 +00:00
Bo Peng
f49f2f6e22
New bookmarks implementation:
...
* src/lyxfunc.C: handle LFUN_BOOKMARK_GOTO and LFUN_BOOKMARK_CLEAR
* src/session.h/C: store bookmarks here.
* src/lfuns.h, src/LyXAction.C: add LFUN_BOOKMARK_CLEAR
* src/BufferView.h/C: remove saved_positions, move LFUN_BOOKMARK_GOTO to lyxfunc.C
* src/MenuBackend.h/C: add Bookmarks menu type
* lib/ui/stdmenus.ui: change bookmarks menu items
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15673 a592a061-630c-0410-9148-cb99ea01b6c8
2006-11-01 15:55:17 +00:00
Bo Peng
b9c604e968
session: rename some functions
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15607 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-29 20:01:00 +00:00
Bo Peng
b884dee79e
src/session.h: add virtual destructor to stop compiler complaints.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15591 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-28 15:14:28 +00:00
Bo Peng
0fc684e6e6
class session reorganization
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15581 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-27 14:18:03 +00:00
André Pönitz
6c300f72a2
move everything into namespace lyx
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@15422 a592a061-630c-0410-9148-cb99ea01b6c8
2006-10-21 00:16:43 +00:00
Bo Peng
34770cd68b
Fix a few issues with session/lastopenedfiles, Bo Peng (ben.bob@gmail.com)
...
* src/bufferlist.C: save opened file list here, do not save slave document
* src/lyxfunc.C: not here
* src/session.[nC]: change to single file addition
* src/lyx_main.C: needed change because of single file addition
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13777 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-28 14:29:38 +00:00
Lars Gullik Bjønnes
3b9338a3a8
Whitespace cleanup.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13565 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 23:56:29 +00:00
Lars Gullik Bjønnes
b2effebe20
2006-04-06 Bo Peng <ben.bob@gmail.com>
...
session support that
* handle recent opened files (previously lastfile)
* save/load bookmarks when quit lyx
* save/load buffer cursor location whan a file is closed
* save/load windows position and size when a file is closed
* add rc entries load_session, use_lastfilepos,
screen_geometry_height, screen_geometry_width,
screen_geometry_xysaved.
* trigger LFUN_QUIT when Alt-F4 or close-button is used to close lyx.
* remove lastfile.h lastfile.C (merged in session.h, session.C)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13561 a592a061-630c-0410-9148-cb99ea01b6c8
2006-04-05 22:56:18 +00:00