Commit Graph

1542 Commits

Author SHA1 Message Date
Abdelrazak Younes
623389fdcc Move inclusion of "frontends/Delegates.h" to qt4/GuiView.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21815 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-27 08:24:56 +00:00
André Pönitz
089c21ba76 no need to cast anymore
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21810 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-26 23:55:16 +00:00
André Pönitz
69f195acd1 make dialog stay above the main window
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21809 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-26 23:42:51 +00:00
Abdelrazak Younes
1060f922f0 Please JMarc: Make sure we always pass through LyXFunc::dispatch() even if this is a waste of CPU.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21807 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-26 22:45:17 +00:00
Pavel Sanda
b8e1e86676 Source highlighting of comments (by Bernhard Reiter)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21803 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-26 21:48:41 +00:00
Abdelrazak Younes
1133419a59 Cleanup LyXFunc::dispatch() following JMarc advice.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21797 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-26 14:36:50 +00:00
Abdelrazak Younes
b897636173 Free src/ from boost::filesystem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21784 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 21:21:03 +00:00
Uwe Stöhr
58135f8b27 support to set the examples folder in the preferences
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21776 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 18:26:58 +00:00
Abdelrazak Younes
49051b32ea Remove unused pure virtual method.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21774 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 18:18:23 +00:00
André Pönitz
d95451ae5c s/isFileReadable/isReadableFile;
introduce isReadableDirectory
replace isReadable by either isReadableFile or isReadableDirectory
remove isReadable


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21769 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-25 11:18:16 +00:00
André Pönitz
e7317582fb less boost, just plain C++.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21768 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-24 22:15:52 +00:00
Abdelrazak Younes
94c0fc55de Getting rid of Application::createView()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21760 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-24 08:51:11 +00:00
Abdelrazak Younes
662b5dba03 Introducing Application::getStatus() and Application::dispatch(). Transferring some LFUNs to those.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21759 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-24 07:58:12 +00:00
André Pönitz
502125671a only called once
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21754 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 23:57:11 +00:00
André Pönitz
c610af7ccd cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21749 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 22:15:17 +00:00
André Pönitz
f0230e1d9a remove unneeded default argument value
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21748 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 21:49:58 +00:00
André Pönitz
adcb084ea2 merge frontend::Painter into GuiPainter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21747 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 21:39:51 +00:00
André Pönitz
7bf3b204fa remove line noise
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21746 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-23 20:31:52 +00:00
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
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
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
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
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
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
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
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
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
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
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
André Pönitz
719a7beb48 make Application slimmer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21659 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-17 22:37:33 +00:00
André Pönitz
12f435035a move view_ids from Application to GuiApplication
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21658 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-17 22:25:42 +00:00
André Pönitz
d837643c95 make frontend::Application a bit slimmer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21657 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-17 22:11:11 +00:00
André Pönitz
1005c166c2 merge frontend::Gui and frontend::Application
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21656 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-17 20:47:50 +00:00
Abdelrazak Younes
926abae753 Simplify single par drawing:
* ParagraphMetrics::computeRowSignature(): Integrate row's dimensions and selection status in the row signature.
* TextMetrics::drawParagraph(): compute the row signature here and rely on that to decide if a redraw is needed or not.
* BufferView::Private: get rid of the ViewMetricsInfo member. Just keep the ScreenUpdateStrategy.
* BufferView::draw(): full screen update even for singlePar case because the row signature will detect if something needs to be redrawn.
* Text3.cpp: get rid of hack following architecture update.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21650 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-17 11:27:03 +00:00
Abdelrazak Younes
92b4b75a8f add '-' between LyX and version.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21647 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-16 22:21:40 +00:00
Abdelrazak Younes
d9194a2fcf Add version to application name in session info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21646 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-16 22:10:35 +00:00
Abdelrazak Younes
ce46ca8653 Hopefully fix the ignored -geometry option under X11.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21645 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-16 21:52:04 +00:00
Abdelrazak Younes
e0a62da75a Change organization name to LyX.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21644 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-16 17:28:50 +00:00
Abdelrazak Younes
ce84d0b6fc Work around X11 Windows manager limitations.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21643 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-16 17:19:46 +00:00
André Pönitz
72e3177e3d shuffle some code around
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21636 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 22:30:16 +00:00
André Pönitz
bb5f33e4d9 merge the two parts of the implementation of frontends::Dialogs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21635 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 21:57:00 +00:00
André Pönitz
e1ce2f92db reduce line noise
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21631 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 20:04:51 +00:00
Abdelrazak Younes
79e12182cb cosmetics and comments.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21630 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 19:46:30 +00:00
Abdelrazak Younes
e73f8040fe 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.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21625 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-15 12:58:44 +00:00
Abdelrazak Younes
b716616322 cleanups and cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21612 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 17:39:16 +00:00
Abdelrazak Younes
a97fcadb9d fix drawing issues following removal of WorkArea::width() and height().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21608 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 14:34:55 +00:00
Abdelrazak Younes
1f4e5c926a Bump the Qt requirement to version 4.0.0
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21607 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 14:24:59 +00:00
Abdelrazak Younes
e5eabfe067 Transfer geometry related session code from LyX::newLyXView() to GuiView::setGeometry().
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21606 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 13:56:13 +00:00
Abdelrazak Younes
9c928fba07 Cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21602 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 12:31:31 +00:00
Abdelrazak Younes
0c6306060e Fix the disappearing minibuffer by don't pretending we are flexible.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21600 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 11:14:06 +00:00
Pavel Sanda
1098ca796f Fix bug 2738: Wrong sorting of languages in Document dialog
http://bugzilla.lyx.org/show_bug.cgi?id=2738



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21598 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 02:01:50 +00:00
André Pönitz
d93679c1db cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21596 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 00:21:31 +00:00
André Pönitz
5609f23db4 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21595 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 00:09:52 +00:00
André Pönitz
cc7b2d438f compile fix;
cosmetics;


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21594 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-14 00:04:00 +00:00
André Pönitz
f625dd7ea0 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21593 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 23:50:28 +00:00
André Pönitz
cf9d42c670 shuffle stuff around
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21591 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 23:21:29 +00:00
Enrico Forestieri
a53e2ac8dc Fix thinko in r21048
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21590 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 23:06:40 +00:00
Enrico Forestieri
12aa33ff01 Fix thinko in r21047
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21589 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 23:05:02 +00:00
André Pönitz
0ee7c6e283 remove #includes; cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21588 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 23:00:36 +00:00
Abdelrazak Younes
12ecafd76e Transfer createView() from Application to GuiApplication and get rid of LyXView::setGeometry() pure virtual interface. The goal is to switch to Qt session handling for geometry instead of our own house made one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21585 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 15:29:15 +00:00
Abdelrazak Younes
f8490161bd Transfer some LFUNs from LyXFunc to GuiView and get rid of GuiView methods.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21583 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 14:49:50 +00:00
Abdelrazak Younes
fcdc4f8a6b Some more cosmetics and removal of unused methods in GuiView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21582 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 14:04:32 +00:00
Abdelrazak Younes
f111a8e322 Some cosmetics and a gcc compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21581 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 13:23:44 +00:00
Abdelrazak Younes
37d4a67e0d brown paper bag...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21580 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 10:47:40 +00:00
Abdelrazak Younes
e2aba1b550 compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21579 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 10:31:37 +00:00
Abdelrazak Younes
4eb2740a0d Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21577 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 10:20:55 +00:00
Abdelrazak Younes
c4db1d0f5a Push latest Andre's changes toward their true direction:
* WorkArea.h and LyXView.h: remove unneeded pure virtual interface.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21575 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 09:52:28 +00:00
Enrico Forestieri
7bfa3826d2 Fix slot connections
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21571 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-13 00:38:21 +00:00
André Pönitz
600db8e21d small refactoring
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21567 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-12 23:26:51 +00:00
André Pönitz
309232d26b make LyXView almost pure virtual. Merge implementation with GuiView
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21566 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-12 23:23:19 +00:00
André Pönitz
bc20c9f382 remove unneeded functions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21558 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-12 22:23:45 +00:00
André Pönitz
34859c9a4f make WorkArea a pure interface, move all implementation to GuiWorkArea
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21557 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-12 22:15:51 +00:00
Abdelrazak Younes
fe8bce6676 Transfer readOnly() and updateWindowTitle() from Delegates to WorkArea/WorkAreaManager. This permits to automatically update Windows and Tabs titles (thanks to Qt signal/slot connections).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21551 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-11 22:30:21 +00:00
André Pönitz
656724ffd0 undef unwanted X11 macros
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21547 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-11 12:14:06 +00:00
Abdelrazak Younes
2480fa573c * GuiView:
- addTabWorkArea(): Implement split view.
- maintain current_work_area_ pointer for the need of future embedded workAreas.
- transfer and some code to GuiView::Private and simplify some other things.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21546 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-11 10:09:48 +00:00
André Pönitz
8d06b3049b cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21544 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-10 13:44:50 +00:00