Commit Graph

1482 Commits

Author SHA1 Message Date
André Pönitz
86af8a2811 move LaTeXHighlighte
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20796 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-06 19:03:41 +00:00
André Pönitz
b8c43ddb2f Urm...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20794 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-06 17:29:53 +00:00
Abdelrazak Younes
3435635a7b Move TabWidget related code to TabWorkArea class in GuiWorkArea.{cpp,h}
The close button is back...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20787 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-06 15:48:58 +00:00
André Pönitz
58f5bed05d only a partial patch. will rework immediately.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20785 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-06 15:03:58 +00:00
André Pönitz
f39116c9df half of another one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20784 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-06 14:31:48 +00:00
André Pönitz
c0afc10375 next one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20783 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-06 14:13:25 +00:00
André Pönitz
035ec3b14e next one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20780 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-06 12:03:13 +00:00
André Pönitz
a5f7d951d1 next one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20779 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-06 11:45:53 +00:00
André Pönitz
c417412fd4 next one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20778 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-06 11:33:33 +00:00
André Pönitz
4cee524cac next one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20777 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-06 11:17:57 +00:00
André Pönitz
64e5b6de92 next one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20776 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-06 11:03:21 +00:00
André Pönitz
7a32331ab2 next one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20775 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-06 10:23:51 +00:00
André Pönitz
5629673a88 next ones
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20774 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-06 09:55:21 +00:00
André Pönitz
540a00cd02 next one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20773 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-06 09:39:29 +00:00
André Pönitz
06fe2c019f next one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20772 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-06 09:19:53 +00:00
André Pönitz
5ac488927c next one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20770 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-06 08:47:08 +00:00
André Pönitz
85b05737d4 next one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20766 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-05 23:12:55 +00:00
André Pönitz
f3d1cf3ca1 next one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20765 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-05 22:53:01 +00:00
André Pönitz
58296b3994 next one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20764 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-05 22:27:04 +00:00
André Pönitz
c2f2b1742d next one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20763 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-05 22:08:56 +00:00
André Pönitz
d1d0501625 next one
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20762 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-05 21:53:54 +00:00
André Pönitz
1a5acd927f 37 or so
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20761 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-05 21:06:08 +00:00
André Pönitz
169d3fa39e 38...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20760 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-05 20:43:26 +00:00
André Pönitz
33030d3ed8 39 to go
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20759 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-05 20:16:05 +00:00
André Pönitz
94d13e0056 start dissolving frontends/controllers. 40 steps to go.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20757 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-05 19:04:38 +00:00
Edwin Leuven
294cb6277b small cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20748 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-05 11:58:34 +00:00
Uwe Stöhr
a2fe099fc0 GuiBox.cpp: fix update of height checkbox
BoxUi.ui: fix the ui according to r20727
InsetBox.cpp: fix that e.g. "1\width" wasn't output to TeX

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20739 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-05 00:36:38 +00:00
André Pönitz
98eff22b9a remove uneeded code;
move some other code to the place where it is used


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20735 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-04 17:35:27 +00:00
André Pönitz
1aed51c75c configure chack for rcc
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20733 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-04 16:57:16 +00:00
Abdelrazak Younes
ee1c4b7aee Transfer the setting of the current LyXView from workArea::focusInEvent() to GuiView activation event.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20732 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-04 15:46:58 +00:00
Abdelrazak Younes
9271a64edd Fix tab text update when file name changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20729 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-04 10:16:06 +00:00
Edwin Leuven
d8ad05cc1a cleanup dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20727 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-04 07:48:26 +00:00
André Pönitz
eff699554e shuffle stuff around
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20723 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 22:28:53 +00:00
André Pönitz
1bf589ad1e generate Qt resources for lib/images/*. Unused so far.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20719 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 21:56:32 +00:00
André Pönitz
095cf23394 shuffle some code around
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20706 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 18:56:37 +00:00
Uwe Stöhr
d172c3d4b4 GuiWrap.cpp: fix checkbox state handling when dialog is updated
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20691 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 09:57:51 +00:00
Uwe Stöhr
e6ee456ced WrapUi.ui: better dialog layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20690 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 09:56:28 +00:00
Abdelrazak Younes
4fc79439ad Add some more updates on window switch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20684 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 08:03:01 +00:00
Abdelrazak Younes
4461bbc42e Fix toc widget on window switch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20683 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 07:49:15 +00:00
Abdelrazak Younes
51b5c6ae04 Oups... Fix crash on startup...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20681 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 07:17:58 +00:00
Abdelrazak Younes
1fe543fcd5 Fix some crashes on exit and on windows switch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20680 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-03 07:12:28 +00:00
André Pönitz
c4033d4012 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20671 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-02 21:51:54 +00:00
André Pönitz
8279ab9cf0 mere two functions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20670 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-02 21:01:25 +00:00
André Pönitz
19ab5ceef9 s/pkglib_/noinst_/
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20669 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-02 20:34:55 +00:00
André Pönitz
b847b8c7df the delegate patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20667 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-02 18:27:20 +00:00
Abdelrazak Younes
fce745f111 Simplify WorkArea (de-)registering: now done at WorkArea construction and destruction.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20665 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-02 16:32:58 +00:00
Abdelrazak Younes
f0402e69c6 Fix some issues with buffer closing.
* Switch WorkAreaManager to std::list instead of vector.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20664 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-02 14:39:48 +00:00
Abdelrazak Younes
5249b74e5b Cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20656 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-02 09:12:13 +00:00
Abdelrazak Younes
4ce0961b5a Replace Buffer' changed() and closing() signals with a WorkAreaManager before Andre erase everything :-)
The resulting source code is not much bigger actually.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20654 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-02 09:00:08 +00:00
Jean-Marc Lasgouttes
522c624821 fix compilation on mac
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20653 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-02 07:51:25 +00:00
Abdelrazak Younes
fc742ab7d2 Some fixes and cleanup to command buffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20652 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-02 06:59:02 +00:00
André Pönitz
8ae95bb178 compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20650 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-01 22:19:39 +00:00
Abdelrazak Younes
71f366d4dd Transfer the rest of Toolbars to GuiToolbars and delete Toolbars.{cpp,h}
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20648 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-01 21:51:06 +00:00
Abdelrazak Younes
e8029f91ee cleanup GuiLayoutBox.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20646 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-01 21:26:25 +00:00
Abdelrazak Younes
f16caac393 cleanup GuiLayoutBox a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20645 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-01 21:08:07 +00:00
Abdelrazak Younes
3ca9ddb6ed Move most of the Gui specific code in Toolbars to its new qt4 specialization GuiToolbars.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20644 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-01 20:45:50 +00:00
Edwin Leuven
893b969696 listen to andré
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20640 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-01 17:40:42 +00:00
Jean-Marc Lasgouttes
619a52ecc4 compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20638 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-01 14:21:33 +00:00
Edwin Leuven
cdff3df5d1 avoid costly updating
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20637 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-01 13:17:56 +00:00
Jürgen Spitzmüller
49cf92170a * src/frontends/qt4/GuiToolbar.cpp (update):
- only update visible toolbars (performance fix).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20626 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-01 09:19:09 +00:00
Abdelrazak Younes
16f4f20fca Potentially fix slowness issue with Selection. Cache the Selection status when the data is changed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20622 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-01 08:18:14 +00:00
Uwe Stöhr
bb62da8d11 GuiClipboard.cpp: add missing ";"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20621 a592a061-630c-0410-9148-cb99ea01b6c8
2007-10-01 00:11:21 +00:00
Abdelrazak Younes
e3e83d1c65 Fix slowness issue with Clipboard. Cache the Clipboard status when the data is changed.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20617 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-30 20:28:15 +00:00
André Pönitz
fad47c0fe0 boost/utility -> boost/noncopyable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20608 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-30 15:47:00 +00:00
André Pönitz
cd72af583f cosmetics
(maily move layout related enums into a header of there own to remov
include dependencies, alos rename a few things)


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20598 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-29 20:02:32 +00:00
André Pönitz
581b67b26e move ChangeLogs to the attic
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20587 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-29 14:12:55 +00:00
Abdelrazak Younes
7ee96c2f11 * GuiParagraph: uncheck "Immediate Apply" by default.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20575 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-28 23:30:19 +00:00
André Pönitz
4eedb8abd6 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20574 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-28 23:26:59 +00:00
André Pönitz
db2c96f511 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20573 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-28 23:14:33 +00:00
André Pönitz
595c401eae cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20572 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-28 22:53:00 +00:00
André Pönitz
d4d1814219 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20571 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-28 22:26:28 +00:00
André Pönitz
94e968e72e cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20570 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-28 21:41:56 +00:00
Edwin Leuven
38df07a8a7 put widget in layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20569 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-28 12:34:35 +00:00
Abdelrazak Younes
6b6730f469 set eol-style.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20564 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-28 09:45:50 +00:00
Uwe Stöhr
6d45fcfbe1 BoxUi.ui, WrapUi.ui: squash a compiler warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20550 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 21:12:05 +00:00
Uwe Stöhr
bfec99c126 GuiWrap.cpp: revert r20509 as the bug in ButtonController.cpp is fixed with r20548
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20549 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 21:05:36 +00:00
Uwe Stöhr
cf41e919eb ButtonController.cpp: fix a bug introduced in r20018: don't enable all widgets in the dialog, see http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg128222.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20548 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 21:03:26 +00:00
Uwe Stöhr
e63f19a97a GuiBox: fix bug 3242 http://bugzilla.lyx.org/show_bug.cgi?id=3242:
make minipage optional height argument optional

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20547 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 20:19:06 +00:00
Edwin Leuven
5247d5506f clean up layout
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20545 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 20:04:18 +00:00
Richard Heck
0787ade6c0 This is the first part of a cleanup of how we handle the InsetCommand hierarchy. This part starts to disentangle the type of the inset from the command that a single instance of the inset represents. This involves two sorts of changes:
(i) The file format is changed, so that command insets are represented as:
    \begin_inset CommandInset insetype
    LatexCommand command
    ...
    \end_inset
This involves some lyx2lyx and changes to the readInset() routine in factory.cpp
(ii) The InsetCommand and InsetCommandParams classes also have to be changed, as the command name was used in these classes for various purposes for which the inset type ought really to be used.
Further clean-up to come.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20544 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 18:24:18 +00:00
Abdelrazak Younes
cd56d44a69 disable window geometry session handling for Qt < 4.2.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20543 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 15:07:40 +00:00
Abdelrazak Younes
90d1935d94 Add session support to some more dialogs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20542 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 14:59:51 +00:00
Abdelrazak Younes
5bca0d424a gcc compil fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20541 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 14:47:42 +00:00
Abdelrazak Younes
a9f4ddae2d Add session support to spell-checking and search dialogs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20540 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 14:37:36 +00:00
Abdelrazak Younes
83b63b2c53 * GuiDialog: Initial Window geometry session support. Inheriting class will have to be be modified to make use of that.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20539 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 14:35:12 +00:00
Abdelrazak Younes
49388f6abd add #include <QShowEvent> just in case.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20538 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 14:22:58 +00:00
Abdelrazak Younes
3e37d45f12 * DialogView: Initial Window geometry session support.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20537 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 14:05:05 +00:00
Abdelrazak Younes
738d5b06ba * qt4/DialogView.h: new template class based on QDialog.
* qt4/Dialogs.cpp: use DialogView by default instead of DockView for GuiParagraph


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20534 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 11:27:52 +00:00
Abdelrazak Younes
c2b6823b2f minor tweaks.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20533 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 10:44:29 +00:00
Abdelrazak Younes
580738caec Fix Qt4.1 compil error.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20532 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 10:00:12 +00:00
Abdelrazak Younes
98b47fdc85 Gives the user some information about the crash.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20531 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 09:49:14 +00:00
Abdelrazak Younes
097ca4b228 Change the paragraph settings dialog:
- now floating by default
- re-layout horizontally for minimum mouse movement.
- allow key shortcuts.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20530 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-27 08:56:18 +00:00
Abdelrazak Younes
c1540f8d92 more bug fixes...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20524 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-26 20:18:41 +00:00
Abdelrazak Younes
3545dc0ee3 Potential bug fix...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20517 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-26 14:50:35 +00:00
Abdelrazak Younes
66b5fb67b3 Potential bug fix...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20516 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-26 14:47:47 +00:00
Abdelrazak Younes
a29371bf47 compil fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20515 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-26 14:39:10 +00:00
Abdelrazak Younes
5b2415b594 Potential bug fix...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20514 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-26 14:37:26 +00:00
Abdelrazak Younes
2e2d67a7de Redesign and cleanup the Paragraph Settings dialog:
- GuiParagraphDialog: Renamed to GuiParagraph
- Now use the DockView infrastructure (and is thus docked by default)
- Additional mode for immediate application of changed parameters.

Some bits are missing due to some remaining bugs in the GUI dialog updating following the big GUII cleanup.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20513 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-26 13:13:01 +00:00
Abdelrazak Younes
960af372a8 De-serialization of the paragraph settings dialog step 3: fix the multi-paragraph selection case.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20512 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-26 08:40:16 +00:00
Abdelrazak Younes
67206b5d60 De-serialization of the paragraph settings dialog step 2: the dialog does not have to be modal anymore.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20511 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-26 07:38:09 +00:00
Abdelrazak Younes
38421f8022 De-serialization of the paragraph settings dialog step 1: use current paragraph directly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20510 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-26 07:34:57 +00:00
Uwe Stöhr
2c885f9a6d GuiWrap.cpp: disconnect the widgets that are by default disabled from readonly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20509 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-25 23:50:55 +00:00
Uwe Stöhr
21c4d09a19 GuiWrap: make the optional options really optional by checkboxes in the dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20478 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-24 22:35:00 +00:00
Uwe Stöhr
b7d0510502 Fileformat increased to 287: support for optional arguments of package wrapfig that is used for wrap floats
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20462 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-24 13:43:58 +00:00
Uwe Stöhr
63d05dbff4 GuiBox.cpp: fix bug 4233 http://bugzilla.lyx.org/show_bug.cgi?id=4233
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20460 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-24 11:44:19 +00:00
Uwe Stöhr
bf57381fb4 GuiDocument.cpp: - replace bookmarkslevel edit field by a spinbox (by Pavel)
- fix the pagemode handling

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20442 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-22 22:20:15 +00:00
Uwe Stöhr
65a9b1a683 PDFOptions: replace bookmarkslevel edit field by a spinbox (by Pavel)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20441 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-22 22:18:44 +00:00
Richard Heck
9eb79dcfe5 Silence a warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20434 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-22 15:56:26 +00:00
Uwe Stöhr
f675f011be PDF-support patches by Pavel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20429 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-22 11:39:19 +00:00
Uwe Stöhr
77f4172bb2 PDFSupportUi.ui: set styles
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20426 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-22 00:34:18 +00:00
Abdelrazak Younes
24a74bdb53 * GuiApplication::notify():
- don't crash with abort() but exit gracefully when an exception is caught.
- try to catch LyX specific exceptions.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20419 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 20:27:07 +00:00
Richard Heck
9997fdda53 Fix some typos that were preventing compilation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20402 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-21 01:00:31 +00:00
Uwe Stöhr
4826b931b5 add the missing PDFSupportUi.ui
but the PDF stuff still doesn't compile

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20399 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 23:45:29 +00:00
André Pönitz
3ff14b8300 Pavel Sanda's "PDFOptions" patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20389 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 22:31:18 +00:00
Richard Heck
c18108d92b Silence a warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20365 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-20 04:27:16 +00:00
André Pönitz
978f65391e reduce #includes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20363 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-19 22:37:22 +00:00
André Pönitz
72fe3d9fc1 One more second..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20362 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-19 21:28:11 +00:00
Edwin Leuven
cf4679b1da oops! fix case
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20359 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-19 14:59:42 +00:00
Edwin Leuven
a229ecb226 another small layout tweak
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20358 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-19 12:29:08 +00:00
Edwin Leuven
cc9e364d83 make sure formats are sorted and converters up-to-date
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20357 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-19 10:16:44 +00:00
Edwin Leuven
95169237dc layout tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20356 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-19 09:08:07 +00:00
André Pönitz
a81782869e compile fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20333 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-17 23:00:53 +00:00
André Pönitz
f86525fc2e simplify KeySymbol stuff. which hopefully works...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20322 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-17 18:41:03 +00:00
André Pönitz
1e62913610 cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20319 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-16 20:58:22 +00:00
Lars Gullik Bjønnes
7d6269a440 Move encode into anon namespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20306 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-16 10:38:59 +00:00
Lars Gullik Bjønnes
26f336769a Remove warnings reported with gcc 4.3:
- Modifier on return type ignored
	- Ambigous else
	- Ambigous logical operators
	- Semi-colon instead of empty block
	- Missing header files
	- Missing using std::XX
	- Initialization out of order


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20304 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-16 10:36:57 +00:00
André Pönitz
150b11e953 Why would boost::array<Bullet, 4> be better than Bullet[4]?
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20301 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 23:04:28 +00:00
André Pönitz
fe2085b0e1 consmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20300 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 22:56:09 +00:00
André Pönitz
8e44e482c4 forgot these
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20299 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 20:32:38 +00:00
André Pönitz
50de85396c some remnaming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20298 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 20:31:50 +00:00
Bo Peng
93196b1f73 Embedding: add a check box to InsetGraphic and show/change embedding status
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20297 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 18:31:32 +00:00
André Pönitz
d348b0183b Rename class socket_callback into SocketCallback; adjust buidl systems;
prevent double deletion of socket notifier


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20296 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 17:47:35 +00:00
Edwin Leuven
ea0e5ee1d8 small layout tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20295 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 17:32:15 +00:00
Edwin Leuven
76e3fbcf7a * new file formats panel that includes copier
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20292 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 17:09:57 +00:00
André Pönitz
6c26624d39 shuffle stuff around; minor coding style issues
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20289 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 15:42:22 +00:00
Abdelrazak Younes
78b78ec6e1 Give a sane behaviour to page up/down scrolling when clicking in the page scroll area of the scrollbar.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20287 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 13:59:26 +00:00
Edwin Leuven
e99d97c127 extract code that sets color of widget from ButtonController and move to qt_helpers
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20285 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 13:06:48 +00:00
Abdelrazak Younes
5afe768b67 Fix crash with math inset with empty string.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20284 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 12:34:21 +00:00
Richard Heck
2499fdf7f5 This is the last of a series of patches that merges the layout modules development in personal/branches/rgheck back into the tree.
Design goal: Allow the use of layout "modules", which are to LaTeX packages as layout files are to LaTeX document classes. Thus, one could have a module that defined certain character styles, environments, commands, or what have you, and include it in various documents, each of which uses a different document class, without having to modify the layout files themselves. For example, a theorems.module could be used with article.layout to provide support for theorem-type environments, without having to modify article.layout itself, and the same module could be used with book.layout, etc.

This patch adds the GUI for managing modules.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20282 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 01:55:09 +00:00
Richard Heck
6f0703e707 Repair behavior of citation dialog after all the recent changes in src/frontends/. Previously, there had been a virtual initialiseParams() method in QCitation which overrode the corresponding method in ControlCitation. But now there is no "local" controller, and so intialiseParams() overrode nothing and so never got called.
I've also made some minor changes here to GuiSelectionManager, changing updateView(), which is now used as a commonly overridden method of GuiDialog, back to update(). The method does not serve the same purpose here.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20281 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-15 01:53:26 +00:00
Richard Heck
12ac451406 Surely we do not need to see this every time either.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20271 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-14 06:35:59 +00:00
Richard Heck
50a7ee7633 Surely we do not need to see this every time.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20270 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-14 06:33:53 +00:00
Bo Peng
1109af0b0f Embedding: handle readOnly files correctly.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20262 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-13 15:09:56 +00:00
Bo Peng
2bf225183b Embedding: fix the add file feature (update dialog, mark buffer dirty, copy embedded file ...)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20256 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-13 05:30:44 +00:00
Bo Peng
4e7fa2bfef Embedding: initialize enableCB checkbox correctly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20255 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-13 05:04:05 +00:00
Bo Peng
eb04266ab9 Embedding: mark buffer dirty after enable/disable bundling
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20254 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-13 04:56:46 +00:00
Bo Peng
3cdd9376f5 Embedding: mark buffer dirty after changing embedding status
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20253 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-13 04:45:49 +00:00
Enrico Forestieri
e5cb4fc10f Fix crash with old versions (earlier than 2.2.92) of fontconfig.
* src/frontends/qt4/GuiFontLoader.{cpp,h}
	(GuiFontLoader::GuiFontLoader): don't store font IDs anymore,
	as we are not going to clean up after ourselves.
	(GuiFontLoader::~GuiFontLoader): make it virtual again and
	do nothing (avoids a crash with fontconfig < 2.2.92).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20246 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-12 19:07:22 +00:00
Enrico Forestieri
cc9fb465a6 Compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20235 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-12 01:12:10 +00:00
André Pönitz
887bd847c6 remove unnneded #include
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20233 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 22:31:24 +00:00
André Pönitz
cc4b9be893 shuffle stuff around
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20225 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 21:27:57 +00:00
André Pönitz
470aba2a0e cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20217 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 18:33:42 +00:00
André Pönitz
34492a9d03 less functions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20216 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 17:06:15 +00:00
Bo Peng
905324dd16 Embedding: for safety, update before changing embedding status
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20213 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-11 16:00:16 +00:00
André Pönitz
94e61a3bc9 shuffle some frontend stuff around. merge controller(base) and "Kernel". Make frontend::Dialog pure virtual
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20202 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-10 22:32:59 +00:00
André Pönitz
a17926e673 remove Dialog::title_, direct setting the title works as well.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20196 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-10 19:02:11 +00:00
André Pönitz
d5c3b142ba remove duplicated entry
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20194 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-10 18:09:37 +00:00
Uwe Stöhr
17112f655d Helge's wrapfig patch:
- Format incremented to 284
- LaTeX-package wrapfig is now used instead of flotflt for wrap floats (this allows us to implement now also a table wrap float)

(the optional overhang argument of wrapfig will be implemented later)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20185 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 23:47:22 +00:00
Abdelrazak Younes
be38aa2638 fix outline dialog for non-Mac platform.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20178 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 20:51:04 +00:00
Edwin Leuven
2ec54cfde7 more frontend cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20172 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 15:56:58 +00:00
Edwin Leuven
cc832049a9 connect to the right slots...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20165 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-09 12:06:37 +00:00
André Pönitz
022a231f3e fix some index/label issue
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20162 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-08 22:08:46 +00:00
André Pönitz
d21894949b make Controller a standalone class.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20161 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-08 21:16:54 +00:00
Peter Kümmel
d19e684383 msvc fixes: remove warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20160 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-08 21:00:49 +00:00
Peter Kümmel
e5cf6e8566 remove recursive call
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20159 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-08 21:00:03 +00:00
Bo Peng
b0d904a2cc Dock the Embedding dialog (code copied from the ViewSource dialog and I do not really know what I am doing)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20156 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-08 20:04:28 +00:00
Bo Peng
2436921050 add missing header file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20154 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-08 19:22:41 +00:00
Abdelrazak Younes
d69238ae62 remove dead code.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20151 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-08 17:48:14 +00:00
Abdelrazak Younes
9e3823945a Restore docked outline widget. Warning: still instable!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20147 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-08 17:28:14 +00:00
Abdelrazak Younes
133041073b header cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20145 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-08 16:36:53 +00:00
Abdelrazak Younes
9ad3cebbc7 oups...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20144 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-08 16:32:11 +00:00
Abdelrazak Younes
252b170b6d fix view source window title.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20143 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-08 16:31:28 +00:00
Abdelrazak Younes
f044fc3dd0 Restore docked View source widget.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20142 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-08 16:04:25 +00:00
Bo Peng
cf84439502 Embedding: use a vector to store multiple ParConstIterator of multiple insets referring to the same embedded file, polish the internal logics of EmbeddedFile(s)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20137 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-08 04:10:43 +00:00
Bo Peng
e9a2729037 Embedding: bring embedding dialog back to shape
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20129 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-07 16:33:55 +00:00
Enrico Forestieri
92065820e5 Register math fonts with Qt 4.2 or higher. Using Qt 4.1, the old
xft-fonts package is still required. However, on *nix there seem
to be no way to tell fontconfig to prefer our fonts instead of
others matching the requirements, so, in case of conflict, the
fontconfig files should be manually adjusted, or some existing
font package used (note that the quality of the bakoma fonts is
better than that of the xft ones). There is no such problem on
Windows where our private fonts are always preferred over the
installed ones (and I hope the same holds true for Mac).

	* src/LyX.cpp
	(LyX::exec): don't call addFontResources() and restoreFontResources()
	anymore, as the frontend code will do the job.

	* src/frontends/qt4/GuiFontLoader.{cpp,h}
	(GuiFontLoader::GuiFontLoader): register math fonts with Qt.
	(GuiFontLoader::~GuiFontLoader): unregister math fonts.

	* src/support/os.h
	* src/support/os_unix.cpp
	* src/support/os_win32.cpp
	* src/support/os_cygwin.cpp:
	remove code dealing with fonts.

	* configure.ac: don't check for fontconfig headers anymore.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20128 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-07 16:22:05 +00:00
Bo Peng
fc2f8c8e4f Embedding: remove AUTO feature, remove STATUS from embedding dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20120 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-07 03:10:42 +00:00
Bo Peng
d4a2219813 Embedding: remove AUTO feature, barely make it compile
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20119 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-07 03:02:24 +00:00
André Pönitz
665119e4f6 simplify About dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20088 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-05 22:54:47 +00:00
André Pönitz
5c8f9bc525 compile fix. inclomplete transactioN???
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20078 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-05 20:52:35 +00:00
André Pönitz
c9ea6e6eef the fun begins....
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20077 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-05 20:33:29 +00:00
Edwin Leuven
9044e9d68a resuscitate menus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20064 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-05 11:55:03 +00:00
Peter Kümmel
9ecadac14d GuiView is a template
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20046 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-04 18:40:58 +00:00
Peter Kümmel
9862ca834e move getSecond to frontend_helpers.h
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20044 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-04 18:35:58 +00:00
Edwin Leuven
f427215caf lil' cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20042 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-04 18:08:51 +00:00
Edwin Leuven
39ee5b3fb2 renaming of some methods that hurt the eyes + removal of:
- column and row count, 
- tabular width and method that goes with it
- method declaration without implementation: void delete_column(col_type)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20032 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-04 10:52:08 +00:00
André Pönitz
9a95d2a936 rename a few view functions from foo() to fooView()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20024 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-03 20:28:26 +00:00
Bo Peng
cec37055da Fix scons for Andre's patch, add a missing header file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20023 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-03 20:13:26 +00:00
André Pönitz
ff3b32e8b7 move stuff from a class template to a ordinary class...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20022 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-03 18:22:17 +00:00
André Pönitz
9f88315d52 fix thinko
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20019 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-03 06:11:51 +00:00
André Pönitz
212386be8a merge ButtonController and its view (Qt2BC in this case)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20018 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-03 05:59:32 +00:00
Bo Peng
c247f0ffe0 Embedding: fix a few embedding bugs
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20017 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-03 04:03:43 +00:00
Edwin Leuven
80a05b1eb5 get rid of (cyg)win path panel in prefs by moving it to the latex panel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20013 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-02 20:17:36 +00:00
Alfredo Braunstein
a00ef3ff93 crash fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20012 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-02 19:54:01 +00:00
Richard Heck
9f2848f4f7 Another compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20006 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-02 14:57:30 +00:00
André Pönitz
904fd84bba all CheckedWidgets are line edits...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19988 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-02 08:19:43 +00:00
André Pönitz
dd7059d798 simplify ButtonPolicy machinery
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19987 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-02 07:53:07 +00:00
Bo Peng
f8422ebb00 Embedding: fix a file selection and a file copy bug
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19986 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-02 05:36:39 +00:00
André Pönitz
0fa9160767 forgot this
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19982 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-01 21:05:31 +00:00
Bo Peng
044d958788 Embedding dialog: use two buttons (will have more) for the actions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19981 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-01 20:48:51 +00:00
André Pönitz
af8621ea73 merge GuiBC<.,.> into Qt2BC
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19979 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-01 20:44:14 +00:00
Bo Peng
a7e45a7376 Embedding dialog: add extract and extractAll functions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19977 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-01 20:08:16 +00:00
Abdelrazak Younes
aef5a7b9f7 comment out debug info.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19969 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-01 09:26:37 +00:00
Bo Peng
7a6edab5c1 Embedding: add 'addFile' to embed arbitrary file, fix a few bugs along the way
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19967 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-01 04:20:34 +00:00
Richard Heck
d7a33bc841 This patch continues 19964. It takes advantage of the work there to simplify a few things elsewhere. First, in ControlDocument::dispatchParams(), we're setting the TextClass and then dispatching the BufferParams, which sets it again now. So we can get rid of the first call. This, however, requires loading the TextClass somewhere other than LFUN_TEXTCLASS_APPLY, which I do in BufferParams::setBaseClass(), which is when you'd actually need to do it. So I've moved some of the loading logic there. (It seemed a good idea to make setBaseClass() return whether it was successful, then, though this isn't used at the moment.)
That makes another simplification both possible and desirable. For some reason, whenever you change the Document Class combobox in Document Settings, LyX tries to read whatever you choose _before_ you try to hit "Apply". Why? I see no good reason. You get the warning earlier that way, but maybe you weren't going to try to load it anyway and were going to change your mind. So I have removed that behavior, in which case you'll get the warning when you try to apply the parameters. This means we can also remove ControlDocument::loadTextclass().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19965 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-01 04:03:24 +00:00
Bo Peng
9ff98fb5bc Fix compiling error caused by Andre's patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19963 a592a061-630c-0410-9148-cb99ea01b6c8
2007-09-01 02:43:14 +00:00
André Pönitz
d5483e3551 somewhat more uniform naming
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19962 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-31 22:37:05 +00:00
André Pönitz
fc36725282 Merge QController into individual dialogs. Also various cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19961 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-31 22:16:11 +00:00
Bo Peng
e4e09c4b0b Embedding: small adjustments of interfaces, single and double click in the embedding dialog
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19960 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-31 22:02:34 +00:00
André Pönitz
7bf090853f fix make dist
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19958 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-31 18:30:23 +00:00
Bo Peng
cc6fe67c35 Embedding feature patch 3: basic gui support
*  lib/ui/stdmenus.inc: add menu item embedded files
	*  src/BufferParams.cpp: set default embedded status to false
	*  src/EmbeddedFiles.h|cpp: add a few member functions
	*  src/frontends/qt4/Dialogs.cpp: add embedding dialog
	*  src/frontends/qt4/GuiEmbeddedFiles.h|cpp: embedding dialog
	*  src/frontends/qt4/ui/EmbeddedFilesUi.ui: embedding dialog
	*  src/frontends/controllers/ControlEmbeddedFiles.h|cpp: embedding dialog control
	*  src/frontends/qt4/Makefile.am: build system update
	*  src/frontends/controllers/Makefile.am
	*  development/scons/scons_manifest.py


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19953 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-31 15:42:35 +00:00
Martin Vermeer
b779dbc683 Fix ambiguity in translation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19943 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-31 11:09:46 +00:00
André Pönitz
a1cec91afa move our stuff off the Q* namespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19935 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-31 05:53:55 +00:00
André Pönitz
edd3e65556 compile fiz
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19923 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-30 20:14:33 +00:00
André Pönitz
f82c3e8e65 xpm -> png
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19922 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-30 20:09:12 +00:00
Edwin Leuven
d927e69716 single depth for preference items,
fixes bug http://bugzilla.lyx.org/show_bug.cgi?id=4153

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19914 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-30 14:22:56 +00:00
Richard Heck
781f1af8d7 Fix bug 3999: Highlight search text.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19907 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-30 01:26:18 +00:00
Richard Heck
53bc63d95c This is one of a series of patches that will merge the layout modules development in personal/branches/rgheck back into the tree.
Design goal: Allow the use of layout "modules", which are to LaTeX packages as layout files are to LaTeX document classes. Thus, one could have a module that defined certain character styles, environments, commands, or what have you, and include it in various documents, each of which uses a different document class, without having to modify the layout files themselves. For example, a theorems.module could be used with article.layout to provide support for theorem-type environments, without having to modify article.layout itself, and the same module could be used with book.layout, etc.

This third patch just re-factors some code presently in QCitation*. (It also incorporates some bug fixes that have been committed separately.) We're going to use essentially the same set of widgets for choosing modules that is used for choosing citation keys, so we pull the controlling logic out into a new class, QSelectionManager. I did not make this a QWidget. That seemed to me to be overkill, and it would have made things much more complicated, I think...and I'm not all that experienced with Qt, anyway. Anyone who wants to do that is of course welcome.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19860 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-28 16:49:40 +00:00
Abdelrazak Younes
e7101b70f1 header cleanup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19852 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-28 15:07:39 +00:00
Abdelrazak Younes
a43e822c98 Transfer rowpainter.cpp:paintText() to BufferView::draw()
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19843 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 22:53:16 +00:00
Abdelrazak Younes
42ad173cd7 Disable the pixmap cache for Qt4.1 because of font problems when resizing the window.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19830 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 11:13:09 +00:00
Abdelrazak Younes
9484768959 New 'Save all on shutdown or cancel' feature from Stephan Witt.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19824 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-27 06:35:24 +00:00
Abdelrazak Younes
a6936fe7d5 disable painting updates when adding/removing a workArea. This fixes these spurious messages with Qt4.1:
When opening another document, the following is printed to the console:

QWidget::repaint: recursive repaint detected.
QPixmap::operator=: Cannot assign to pixmap during painting
Painter must be active to set rendering hints
[repeated many times here]
Painter must be active to set rendering hints
QPainter:🔚 Painter is not active, aborted
QPixmap::operator=: Cannot assign to pixmap during painting
QPixmap::operator=: Cannot assign to pixmap during painting
currentTabChanged 1File/c/work/file2.lyx

and, when closing LyX:

QPixmap::operator=: Cannot assign to pixmap during painting
QPaintDevice: Cannot destroy paint device that is being painted.  Be sure to QPainter::end() painters!

I suspect that solving these issues might also solve the missing close
tab button problem.




git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19783 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-24 22:15:20 +00:00
Abdelrazak Younes
ebff6bd6fb Transfer command buffer handling to QLToolbar.
* Toolbar::focusCommandBuffer(): new pure virtual method.
* Toolbars::display(): now return the address of the found toolbar.
* GuiView: get rid of command_buffer_, transferred to QLToolbar.
* QCommandBuffer: replace focus_command with setFocusProxy on edit_;



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19767 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-24 07:13:07 +00:00
Richard Heck
6e93e77f22 This is one of a series of patches that will merge the layout modules development in personal/branches/rgheck back into the tree.
Design goal: Allow the use of layout "modules", which are to LaTeX packages as layout files are to LaTeX document classes. Thus, one could have a module that defined certain character styles, environments, commands, or what have you, and include it in various documents, each of which uses a different document class, without having to modify the layout files themselves. For example, a theorems.module could be used with article.layout to provide support for theorem-type environments, without having to modify article.layout itself, and the same module could be used with book.layout, etc.

This first patch does some reworking of the infrastructrue. We need to distinguish between the TextClass that a particular document is using and the layout of that document, since modules, in particular, can modify the layout. The solution adopted here is to add a TextClass pointer to BufferParams, which will hold the layout. The layout itself is then constructed from the TextClass the document is using. At present, this is completely trivial, but that will change when modules are added.

The pointer in question is a boost::shared_ptr. This is needed because CutAndPaste saves a copy of the layout with each cut or copied selection. We cannot assume the selection vanishes when the document is closed, so there are two options: (i) keep a list of all the layouts that have ever been used by any document; (ii) used some kind of smart pointer. The latter seems preferable, as the former would waste memory. More importantly, the use of a smart pointer allows modules to be modified on disk and then reloaded while LyX is running, and it will eventually allow the same for layout files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19756 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-23 16:41:13 +00:00
Alfredo Braunstein
68748f5344 compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19754 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-23 14:35:31 +00:00
Abdelrazak Younes
c7d83abbac Put LyXView on a diet, step 2: Transfer ControlCommandBuffer handling from LyXView to QCommandBuffer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19753 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-23 13:20:01 +00:00
Abdelrazak Younes
8381d36098 delete unneeded Menubar virtual interface.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19751 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-23 12:54:35 +00:00
Abdelrazak Younes
77d4d1256d Put LyXView on a diet, step 2: get rid of menubar direct access from the core. Menubar handling is a frontend thing.
* LyXView:
- getMenubars(): deleted.
- menubar_: transfered to GuiView::private.
- updateMenubar(): deleted, QLMenubar::update() is a void method anyway (to be deleted soon).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19750 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-23 12:44:21 +00:00
Abdelrazak Younes
674632104f Put LyXView on a diet, step 1: get rid of toolbars direct access from the core. Toolbar handling is a frontend thing; the goal is to progressively transfer that to the frontend.
* LyXView:
- getToolbars(): deleted.
- toolbars_: now protected. The goal is to transfer that to GuiView.
- openLayoutList(): new method. The core should not know how this list is displayed.
- showMiniBuffer(): new pure virtual method to show the mini-buffer.
- focus_command_buffer: deleted.

* GuiView:
- focus_command_widget(): deleted.
- showMiniBuffer(): implemented.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19748 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-23 12:21:47 +00:00
Abdelrazak Younes
a2022b1950 Delete include of config.h. This was needed only for the qt3 port.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19747 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-23 08:58:22 +00:00
Abdelrazak Younes
23c7c10656 Hide tab bar if there's only one tab.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19746 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-23 08:56:13 +00:00
André Pönitz
ef521debc2 add #include for BOOST_CURRENT_FUNCTION
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19738 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-22 22:58:31 +00:00
Abdelrazak Younes
13a2812c22 Fix crash on first load with mouse wheel: this was because the scrollbar was not updated.
* loadLyXFile::setBuffer(): get rid of a premature optimisation, we make sure that everything is properly drawn in any case.

* GuiView::setCurrentWorkArea(): make sure everything is updated if we don't change tab.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19717 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-22 08:48:01 +00:00
Abdelrazak Younes
0fcae6cc10 * BufferView::buffer() returns a reference instead of a pointer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19691 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-21 13:03:55 +00:00
Abdelrazak Younes
1356543c45 The BufferView/WorkArea/LyXView reorg a.k.a Multiple WorkAreas:
* Buffer:
- get rid of cursor_ and anchor_
- ~Buffer(): update the labels of its master buffer before closing
- closing(): pass the Buffer address.

* BufferView():
- BufferView(): needs a valid Buffer (should be const in the future.
- most of the change is about removing all test of buffer_ nullity.
- resize(): deleted.
- setBuffer(): deleted.

* Application:
- newLyXView(): simplification
- updated design description in Application.h

* Gui/GuiImplementation: remove all WorkAreas and BufferView creation/Deletion. Workareas are directly handled by  LyXView/GuiView and BufferView is created/delete by WorkArea.

* LyXView/GuiView: implement the new design

What is not working yet:
- the close tab button: it is implemented but does not show up.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19686 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-21 07:33:46 +00:00
Abdelrazak Younes
7206f23872 fix MSVC warnings
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19685 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-21 07:17:49 +00:00
Georg Baum
d81eb848ff compile fix for qt 4.2.1.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19661 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-20 17:23:33 +00:00
Richard Heck
7a870a41d1 Fix margin problem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19659 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-20 17:04:00 +00:00
Richard Heck
b3bff4232a Improvements to the citation dialog UI. It is now possible to search particular fields (author, title, etc) and to filter keys by entry types (article, book, etc).
The changes are essentially of three types. 

First, the std::maps previously used here for storing BibTeX data have become full-fledged classes and so what were previously just a bunch of functions have now become methods of these new  classes. This leads to a lot of minor changes in other files, to adapt to the  new signature. The changes in insets/ are mostly of this kind.

Second, there are some slightly more substantial changes in src/insets/InsetBibtex.cpp. We now store lists of the field names and entry types that have been used.

Finally, there are the changes to the citation UI. These are mostly straightforward, though adding the new functionality exposed some inadequacies in the previous code that also had to be fixed.

One other change: BibTeX keys are now docstring. This solves some Unicode issues.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19657 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-20 16:30:02 +00:00
Abdelrazak Younes
8ad113c30a Fix bug 4123:
http://bugzilla.lyx.org/show_bug.cgi?id=4123

* GuiView:
- closeEvent(): set quitting=true only when quitting. I don't know why and how this was changed but it was clearly wrong.
- update_view_state_qt(): only update when focus is in. Make sure this is the current LyXView.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19643 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-19 10:48:16 +00:00
André Pönitz
6d5a52b8e3 implement --enable-monolithic-{client,frontend-qt4,controllers}. Careful with frontend-qt4, it takes ~490 MB to build (but 3 instead of 8 minutes...)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19641 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-19 09:44:34 +00:00
Abdelrazak Younes
e62684db34 disable pixmap cache under X11
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19616 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-17 07:14:03 +00:00
Martin Vermeer
f0ece382e4 Streamlining CollapseStatus stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19610 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-16 16:36:50 +00:00
Abdelrazak Younes
5a82011b90 Fix color of \Omega.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19609 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-16 16:35:38 +00:00
Abdelrazak Younes
4d8c291cd0 cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19585 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-15 08:29:10 +00:00
Abdelrazak Younes
550649963c Transfer q_key_state() from GuiWorkArea.cpp to QKeySymbol.cpp. This will also be used later in GuiView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19562 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-14 15:00:09 +00:00
Abdelrazak Younes
588c4ba3ec Probable compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19557 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-14 13:20:16 +00:00
Abdelrazak Younes
3d1cfa550b Transfer Drag&Drop handling from GuiWorkArea to GuiView.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19556 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-14 13:14:47 +00:00
Abdelrazak Younes
32268e2632 cosmetics + move frontends/* to frontend namespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19553 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-14 09:54:59 +00:00
Richard Heck
b5ff56e5e8 Fix bug 4121. The cause was the empty on_available_entered method. Not sure why
that caused the bug, but it does.
Also fix some other UI bugs, relating to resets of the selection models. These
look gratuitous and cause problems in the current code.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19530 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-13 23:25:47 +00:00
Abdelrazak Younes
c5ed92e7df * QLPainter::text():
- reorganize the code to minimize indentation by returning early for special cases
- use a pixmap cache for word drawing. This can be disabled by setting USE_PIXMAP_CACHE to 0 at the top of QLPainter.cpp.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19513 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-13 17:35:09 +00:00
Jean-Marc Lasgouttes
1a0f7da043 compilation fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19504 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-13 15:22:13 +00:00
Alfredo Braunstein
6e34079211 This implements selection of current cursor position (and main selection) \
in the view source panel

* Buffer.cpp (getSourceCode, writeLaTeXSource): fix sync between output and texrow
* frontends/controllers/ControlViewSource.{h,cpp} (getRows): new method to get the current selection in term of latex rows
* frontends/qt4/QViewSource.{h,cpp}: make a selection in the ViewSource widget



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19503 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-13 14:24:49 +00:00
Abdelrazak Younes
484dd46b35 Optimisation: don't search twice the hash tables.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19501 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-13 13:56:54 +00:00
André Pönitz
e2a5dd2fc6 whitespace
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19453 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-12 12:51:00 +00:00
André Pönitz
ed73dc21ad cosmetics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19452 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-12 12:44:42 +00:00
André Pönitz
6b229b2250 cosmetics (whitespace and no-op functions)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19451 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-12 12:40:11 +00:00
André Pönitz
a4e8658088 moccable files are special after all
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19445 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-11 23:36:42 +00:00
André Pönitz
848c89564f remove lyxrc dependence from support/*
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19441 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-11 22:37:09 +00:00
Jean-Marc Lasgouttes
8f818f241a typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19440 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-11 21:22:33 +00:00
Jean-Marc Lasgouttes
7c6a6e02c4 fix linking of qt4 frontend
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19435 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-11 20:55:10 +00:00
André Pönitz
da1c04ea9a fix linking error in the frontend
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19430 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-11 18:24:00 +00:00
André Pönitz
8cea333572 fix building with automake; break scons, cmake and qmake
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19427 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-11 15:48:15 +00:00
André Pönitz
8a79744d8b merge qt4/Makefile.am and qt4/ui/Makefile.am
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19414 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-10 23:19:07 +00:00
André Pönitz
67e61a3956 enable building of shared libraries. reduces final linktime. also combine boost stuff into a single library
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19410 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-10 22:33:54 +00:00
Lars Gullik Bjønnes
5ae54ddafb Get rid of a few warnings.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19409 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-10 20:14:54 +00:00
Christian Ridderström
1050cc4471 Converted '#warning ...' into FIXME-comments
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19397 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-10 11:47:12 +00:00
Bo Peng
e27da75af1 Listings ui changes from Pavel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19384 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-09 21:18:21 +00:00
Jean-Marc Lasgouttes
951701394e [the "translation" patch series] Part 4: translating the LyX menu on the mac
* development/MacOSX/Makefile.am: when installing, create bogus 
	language directories to allow translation through Qt.

	* src/frontends/qt4/GuiApplication.cpp (MenuTranslator): new class, 
	redirects some Qt translation requests to gettext.
	(GuiApplication): install the MenuTranslator.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19354 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-07 21:23:40 +00:00
Bo Peng
421acabc01 Fix loading non-lyx child documents with relative path names, change 'Load' to 'Edit' in the child document dialog. (Bug 4107 and 4111)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19346 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-07 18:39:34 +00:00
Richard Heck
519e73acc8 Make LYX_ALIGN_LAYOUT always be an available layout. This simplifies a couple
chunks of code and makes a lot of sense.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19332 a592a061-630c-0410-9148-cb99ea01b6c8
2007-08-06 05:04:38 +00:00
Bo Peng
e1076527ba src/frontends/qt4/GuiApplication.cpp: fix a bug that prevents translator of languages with long names to be loaded
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19259 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-31 17:09:50 +00:00
Jürgen Spitzmüller
59f41d955f * src/frontends/controllers/frontend_helpers.{cpp,h}:
- new function getSortedColors
* src/frontends/qt4/QPrefs.cpp:
	- use that to sort the colors (bug 2571)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19236 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-30 13:48:46 +00:00
Bo Peng
3ac3578e2d Fix Bug 4053: Update other controls allows invalid listings parameters to be passed in listings-related dialogs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19224 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-27 18:17:00 +00:00
Jürgen Spitzmüller
52e5755c84 * src/frontends/qt4/qlkey.h: add AltGr as modifier key (fix bug 4026)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19119 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-18 16:52:52 +00:00
Abdelrazak Younes
1007714d2e Properly fix bug 3258.
* InsetTabular: 
  - remove the is_deleted_ boolean
  - dispatch(): remove the call to updateDialog at the end

* ControlTabular::initialiseParams(): connect to the current tabular if found.

* QTabular::update_contents(): initialiseParams() each time.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19112 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-18 09:55:33 +00:00
Abdelrazak Younes
d3b4961e16 With or without multiview, a crash can happen randomly if the statusbar timer times out after the view is closed. Two reason for that:
1) LyXFunc::lyx_view_ is not set to 0
2) quiting is not set to true.

This patch add safe guards when closing a view and/or exiting.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19095 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-17 09:21:52 +00:00
Abdelrazak Younes
4a53fa6e01 Allow unicode in Layout names.
* Layout.h:
  - name_, obsoleted_by_, depends_on_ are now docstrings.

All other changes results from the above string -> docstring changes. In particular, we now try to translate the layout names only if possible (i.e. if they are ASCII only).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19042 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 13:39:08 +00:00
Jürgen Spitzmüller
029e93d723 * src/frontends/qt4/ui/ParagraphUi.ui: just tiny cosmetics (make dialog more compact)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19035 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-11 10:09:19 +00:00
Michael Schmitt
39cf8bcf16 * src/frontends/LyXView.h:
* src/frontends/Toolbars.cpp:
	* src/frontends/qt4/QLToolbar.cpp:
	* src/frontends/LyXView.cpp:
	* src/frontends/Toolbars.h:
	* src/LyXFunc.cpp:
	* src/ToolbarBackend.cpp:
	* src/ToolbarBackend.h: fix toolbar issues: translate toolbar name
	in user message; check for ill-formed toolbars in UI files; output
	reasonable error messages in case of erroneous toolbar names


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19018 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-09 20:33:32 +00:00
Michael Schmitt
1f2f2892c4 * src/frontends/qt4/QParagraph.cpp:
* src/frontends/qt4/QParagraph.h: fix untranslateable label in the
	paragraph dialog


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19017 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-09 19:01:27 +00:00
Jürgen Spitzmüller
7562340249 fix unicode decomposition (bugs 3313 and 3498):
* src/support/docstring.{cpp,h}:
	- rename normalize_kc to normalize_c and use normalization form C (instead of KC)

* src/callback.cpp:
* src/Trans.cpp:
* src/frontends/qt4/GuiClipboard.cpp:
* src/frontends/qt4/GuiSelection.cpp:
* lib/lyx2lyx/lyx_1_5.py:
	- use normalization forms C and D instead of KC and KD.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18991 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-05 14:45:00 +00:00
Abdelrazak Younes
14fd0298b9 Auto raising the dialog when the user click on a Citation inset...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18974 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-03 08:59:10 +00:00
Abdelrazak Younes
c05eb62135 add comment and ling to bug 3907.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18973 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-03 08:23:04 +00:00
Abdelrazak Younes
574b2ac06f Use native file dialog on non cygwin windows installation (fix bug 3907).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18972 a592a061-630c-0410-9148-cb99ea01b6c8
2007-07-03 06:41:54 +00:00
Richard Heck
3fcc6711f0 Fix some issues with the paragraph settings dialog. The main change
is that we distinguish between the "Default" alignment and whatever
that default happens to be: I.e., so far as the code goes, the UI now
distinguishes LYX_ALIGN_LAYOUT from LYX_ALIGN_WHATEVER, when WHATEVER
happens to be the default. So you can explicitly force, say, left-align,
and that will stick between document classes.

* src/Paragraph.cpp:
Don't output params if alignment is the default.

* src/ParagraphParameters.cpp
Treat LYX_ALIGN_LAYOUT as its own alignment.

* src/Text2.cpp
Treat LYX_ALIGN_LAYOUT as its own alignment, and force it to be accepted
as a possible alignment.

* src/frontends/controllers/ControlParagraph.{h,cpp}
New method haveMultiParSelection().

*src/frontends/qt4/QParagraph.{h,cpp}
*src/frontends/qt4/ui/ParagraphUi.ui
UI adjustments as mentioned.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18922 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-28 00:48:06 +00:00
Jürgen Spitzmüller
8b9972cbba Fix bug 2753: LyX doesn't support paths and filenames with parentheses
* src/frontends/qt4/QBibtex.cpp:
* src/frontends/qt4/QExternal.cpp:
* src/frontends/qt4/QGraphics.cpp:
* src/frontends/qt4/QInclude.cpp:
	- remove path validator

* src/support/filetools.{cpp,h}:
	- new validator for exporting LaTeX files

* src/insets/ExternalSupport.cpp:
* src/insets/InsetBibtex.cpp:
* src/insets/InsetGraphics.cpp:
* src/insets/InsetInclude.cpp:
	- use validator when exporting a LaTeX file

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18897 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 16:55:42 +00:00
Jürgen Spitzmüller
a96a5c55af * src/frontends/qt4/QPrint.cpp:
- use internal_path to prevent assert on windows (bug 3916).

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18896 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 16:46:40 +00:00
Jürgen Spitzmüller
874f4b99fd * src/frontends/qt4/QDocument.cpp:
* src/frontends/qt4/QInclude.cpp:
* src/frontends/qt4/QListings.cpp:
	- add missing slot to "pass validation" checkbox togling signal.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18889 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-26 08:00:44 +00:00
Jürgen Spitzmüller
bcf64dd11c Fix bug 1749. CAUTION: lyx2lyx not fully working yet (see FIXMEs).
* development/FORMAT: 
	- document file format change

* src/Buffer.cpp: bump format to 275.

* lib/lyx2lyx/LyX.py:
* lib/lyx2lyx/lyx_1_5.py:
	- conversion and reversion of scaleBeforeRotation param (doesn't work yet!)

* src/insets/InsetGraphicsParams.{cpp,h}: 
	- new param scaleBeforeRotation
* src/insets/InsetGraphics.cpp:
	- swap order of scale and rotate (if scaleBeforeRotation is false)

* src/frontends/qt4/QGraphics.C:
* src/frontends/qt4/QGraphicsDialog.{cpp,h}:
* src/frontends/qt4/ui/GraphicsUi.ui:
	- add checkbox to toggle scaleBeforeRotation.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18885 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-25 13:49:51 +00:00
Jürgen Spitzmüller
91c6d03678 Fix bug 2520: Make InsetExternal translateable
* po/lyx_pot.py:
	- new function external_l10n: parse external_templates and extract the relevant parts for translation.
* development/scons/SConstruct:
* po/Makefile.in.in:
	- use external_l10n

* src/insets/InsetExternal.cpp:
* src/frontends/qt4/QExternal.cpp: 
	- make eveything translatable

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18866 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-23 07:50:13 +00:00
Richard Heck
1a3daacc5f Fix some UI bugs related to the paragraph settings dialog. The default
checkbox has been changed to a radio button, so that other alignments
can be chosen without the user's having to uncheck "Default".

There was some disagreement about the interface here. See, for example,
this thread:
  http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg121328.html
For now, this will do.

The interface here is not fully functional. At present, if the Default 
happens to be Justified, then checking Justified is simply equivalent to
checking Default. This is due to the behavior of Text::setParagraph(), and
it should be changed if this interface is retained.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18860 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-22 22:34:16 +00:00
Edwin Leuven
37e2aa69f7 * this one got lost in http://www.lyx.org/trac/changeset/18842
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18845 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-21 16:14:52 +00:00
Edwin Leuven
2eff2cfc94 * Get rid the of the QWidgetAction subclass and use homebrew tearoff widget:
this is a qt 4.1 solution and behaves on all platforms
  

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18842 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-21 09:51:50 +00:00
Stefan Schimanski
5286634d17 * On MacOSX enter is no activation key for a QListWidget. Hence it
does not close the command completion popup. Moreover setFocus does
not focus the widget correctly, probably because the popup widget
behavior is different. An activateWindow solves the problem by
selecting the LyX view again as active window.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18840 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-21 06:38:50 +00:00
Jürgen Spitzmüller
f6120a555b * src/frontends/qt4/ui/ListingsUi.ui: cosmetics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18822 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-19 07:29:40 +00:00
Stefan Schimanski
00d0c18280 * update cursor position on resize _after_ drawing. Because before
the coordinate cache of the math inset is not valid and InsetMathNest
  depends on that to compute the cursor position.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18816 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-18 15:39:52 +00:00
Edwin Leuven
2b35bede3d Fix stuff that slipped in with 18812
* IconPalette.cpp : typo's
 * QLToolbar.cpp   : unused code

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18813 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-17 18:24:27 +00:00
Edwin Leuven
f0d56f56ef * Allow toolbar menus and panels (qt>=4.2) to be torn off
IconPalette now subclasses QWidgetAction so that we can 
  insert them in QMenu (before we were painting ourselves)



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18812 a592a061-630c-0410-9148-cb99ea01b6c8
2007-06-17 17:55:36 +00:00