Abdelrazak Younes
b8cd772329
some more LFUN transfer from LyXFunc to GuiView.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21741 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 12:37:09 +00:00
Abdelrazak Younes
47f54dd68b
get rid of LyXView::errors(). This was redundant with GuiBufferDelegate::errors().
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21740 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 11:53:10 +00:00
Abdelrazak Younes
f745a9c3c5
Take care of cursor update flags correctly and redraw if needed.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21739 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 11:45:20 +00:00
Abdelrazak Younes
3eb9c09679
Fix crash on exit.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21738 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 11:19:42 +00:00
Pavel Sanda
cf5ff50617
Fix dialog handling of Insert Plain Text
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21737 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 10:54:19 +00:00
Abdelrazak Younes
10cc0a8842
Simplify Dialog::name() handling.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21736 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 10:45:14 +00:00
Abdelrazak Younes
d4b02ad711
simplify window creation.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21735 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 09:56:33 +00:00
Abdelrazak Younes
42015a8ebd
Transfer some more dialog related code from core to frontend:
...
- LFUN_INSET_APPLY handling goes to GuiView.
- Dialog needs a GuiView instead of a LyXView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21734 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 09:44:02 +00:00
Uwe Stöhr
97aa558cac
support for \pagebreak:
...
- rename former "pagebreak" to "newpage" since it produces a \newpage
- new LFUN
- menu entry
- tex2lyx support
- fileformat change
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21732 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 02:10:00 +00:00
André Pönitz
95b1b94e32
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21721 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-22 23:47:13 +00:00
André Pönitz
b43ce80676
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21720 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-22 23:34:57 +00:00
André Pönitz
dcac6d3375
small simplification
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21719 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-22 23:29:53 +00:00
Abdelrazak Younes
573722b8de
compile fix. Sorry.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21718 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-22 22:49:11 +00:00
Abdelrazak Younes
baa9153134
Remove unused code.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21717 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-22 22:20:51 +00:00
Jürgen Spitzmüller
74dfd86649
* src/insets/InsetTabular.cpp (doDispatch):
...
- add missing recordUndo to LFUN_CLIPBOARD_PASTE /
LFUN_PRIMARY_SELECTION_PASTE (bug 4371)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21715 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-22 09:09:39 +00:00
Abdelrazak Younes
b9d2666b98
Move Dialog.{h,cpp} and ButtonPolicy.{h,cpp} to frontends/qt4/
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21714 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-22 08:01:09 +00:00
Abdelrazak Younes
d3887a2ce0
fix MSVC warning.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21713 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-22 07:49:25 +00:00
Abdelrazak Younes
b42e2d61d8
Updates controls after reinitialization.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21712 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-22 07:33:18 +00:00
André Pönitz
e5fe3a68c7
forgot those
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21708 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-22 00:04:19 +00:00
André Pönitz
4c3e546375
remove one <boost/shared_ptr.hpp>
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21707 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-22 00:03:18 +00:00
André Pönitz
5d16f8030d
use strfwd.h
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21706 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-21 23:55:42 +00:00
André Pönitz
98ddc514da
remove a few uses of boost::scoped_ptr
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21705 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-21 23:47:47 +00:00
André Pönitz
d33cedef34
replace boost::noncopyable by plain C++ idiom
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21704 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-21 23:31:12 +00:00
André Pönitz
974924a5d5
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21703 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-21 22:54:10 +00:00
Abdelrazak Younes
a3315920a2
Some more cleanup of LyXView:
...
- transfer GuiBufferDelegate and GuiBufferViewDelegate to GuiView
- delete showDialog() and use LFUN_DIALOG_SHOW in LyXFunc::dispatch().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21702 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-21 22:48:13 +00:00
André Pönitz
24ec082d8e
cosmetics
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21699 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-21 22:04:50 +00:00
Abdelrazak Younes
4b1812a791
set eol-style
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21696 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-21 21:18:04 +00:00
André Pönitz
02a7584d5a
get rid of a boost::signals::connection
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21695 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-21 21:15:23 +00:00
Abdelrazak Younes
a37a73e3c9
Introducing GuiMenubar::init() to avoid destructing the object in order to re-initialize it.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21694 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-21 21:14:34 +00:00
André Pönitz
77a89e1486
remove unneeded #include
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21693 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-21 20:32:17 +00:00
Abdelrazak Younes
8460c9a072
Introducing Application::resetGui() that will reset all dialogs in all lyx windows (including toolbars and menubars).
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21689 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-21 15:12:47 +00:00
Abdelrazak Younes
0f56650139
Fix initial disabling of the layout combo.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21686 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-20 22:29:17 +00:00
Abdelrazak Younes
e615380e42
Fix crash when closing a buffer.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21685 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-20 22:23:06 +00:00
Abdelrazak Younes
ba3fa9bd03
- Cleanup and simplify the layout list GUI handling.
...
- Transfer toolbar, statusbar and layoutlist handling to the frontend.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21684 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-20 22:03:56 +00:00
Abdelrazak Younes
359ced5e65
Transfer some LFUNs from LyXFunc to GuiView.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21681 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-19 20:56:05 +00:00
Abdelrazak Younes
14dbb6ca3d
correct comment. Thanks Martin.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21678 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-19 14:13:06 +00:00
Abdelrazak Younes
37a5647be1
Transfer LyXView::loadLyXFile() to lyxFunc::loadAndViewFile(). This enables to get rid of the flashing tabbar bug and is more correct anyway.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21677 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-19 12:03:38 +00:00
Abdelrazak Younes
7e9cf3cec1
Resize bug correction. The tabbar hiding trick did not interact correctly with resize events :-(
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21676 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-19 11:21:45 +00:00
Abdelrazak Younes
c0a9d2587c
Painting tweaks:
...
- avoid one redraw on file loading due to a resize event.
- fix the initial offset_ref_ value of BufferView.
- add new TabWorkArea::addWorkArea() method.
- avoid tab bar flashing when only one file is opened.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21674 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-19 10:04:14 +00:00
Abdelrazak Younes
dba4159cc2
Remove some methods from GuiView.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21672 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-18 23:49:52 +00:00
Abdelrazak Younes
6feb6a8947
use sizeof instead of hardcoded value.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21671 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-18 23:46:15 +00:00
Abdelrazak Younes
c61ff2e0b8
cleanup and reorder initialisation code of GuiView and GuiToolbars. Move some things to GuiView::Private.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21670 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-18 23:30:41 +00:00
Abdelrazak Younes
7d209e5c32
Fix long standing initialisation FIXME.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21669 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-18 22:51:58 +00:00
Abdelrazak Younes
9f26cdda31
rev 21667: Forgot this!
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21668 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-18 22:29:58 +00:00
Abdelrazak Younes
01470ddcb7
Remove unused methods.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21667 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-18 22:27:04 +00:00
Abdelrazak Younes
b3ae9f9b71
ParagraphMetrics::computeRowSignature(): Fix crc computing; char_type is 4 bytes!
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21666 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-18 21:47:46 +00:00
Abdelrazak Younes
1b147f12b0
Spoiling some fun from Andre': put Application on a diet and remove unnecessary string conversions and method indirections.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21665 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-18 20:36:52 +00:00
André Pönitz
7bd8477a60
less string conversions
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21663 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-18 10:14:43 +00:00
André Pönitz
d5fc2425a9
consolidate showDialog() incarnations
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21662 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-18 00:39:15 +00:00
André Pönitz
55b4fbcf21
merge GuiView/Dialogs
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21661 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-18 00:01:14 +00:00