Commit Graph

72 Commits

Author SHA1 Message Date
Angus Leeming
4bd1dd129c Forward declare ParagraphParameters in ControlParagraph.h.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4383 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-12 14:27:30 +00:00
John Levon
760e4f4ce6 Edwin's Para MVC. Sorry for the delay !
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4365 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-11 16:40:18 +00:00
Lars Gullik Bjønnes
1e39473100 Switch from SigC signals to boost::signals
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4281 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-29 16:21:03 +00:00
John Levon
435d527581 guii2
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4190 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-23 12:08:47 +00:00
Angus Leeming
e866942de6 (Rob Lahaye): sync the appearance of papersize stuff in a number of dialogs.
Has no structural effect as we don't use the strings per-se.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4099 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-01 09:46:36 +00:00
Lars Gullik Bjønnes
175bf75322 change some __GNUG_ to __GNUG__
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4043 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-23 08:16:27 +00:00
Jürgen Vigna
0b0238d904 Fix not updating of paragaph dialog in some cases (fix #229).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4031 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-19 10:51:06 +00:00
Angus Leeming
ced212a684 Ensure that the warning message is removed if the underlying paragraph will
accept our changes.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3982 a592a061-630c-0410-9148-cb99ea01b6c8
2002-04-12 09:35:50 +00:00
Angus Leeming
9c628bc4ac Whitespace; clean up #includes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3819 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-25 11:00:17 +00:00
Angus Leeming
b97138d0e8 * Use JMarc's browseRelFiles rather than browseFiles.
* Prevent activation of Ok,Apply in graphics dialog when file is not found
* Partial fix for bug 229. Still need to emit updateParagraph when leaving
  an inset.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3814 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-22 15:24:32 +00:00
Lars Gullik Bjønnes
f7ba7c8e9f ws cleanup
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3806 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 21:21:28 +00:00
Angus Leeming
9d5ac82f16 Further clean-up. Now looks a lot better.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3791 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 18:47:43 +00:00
Angus Leeming
293a38272a Make more use of the feedback controller routines.
Reduce the amount of repeated code in FormParagraph.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3790 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-20 17:53:39 +00:00
Jean-Marc Lasgouttes
f10227802b tentative fix for #190; other small things
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3782 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-19 21:42:50 +00:00
Angus Leeming
3beb3be67c Ensure all widgets follow the naming scheme.
This patch is house-keeping only. There are no issues associated with it.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3728 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-12 14:11:15 +00:00
Lars Gullik Bjønnes
82a83d7ae6 doxygen fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3717 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-11 22:47:41 +00:00
Angus Leeming
e918b1cc2b Activate the Ok, Apply buttons on pasting with the middle mouse button
for all remaining FL_INPUT objects that didn't yet do so.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3716 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-11 18:24:31 +00:00
Angus Leeming
7cbe56d12e sourcedoc-friendly files.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3713 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-11 17:00:41 +00:00
Lars Gullik Bjønnes
dbd7a961fc layout as string
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3640 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-02 16:39:54 +00:00
Angus Leeming
8dd507a10a Compile fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3558 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-18 10:08:42 +00:00
Lars Gullik Bjønnes
7ea7dabed1 to much stuff for my liking...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3554 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-16 15:59:55 +00:00
Angus Leeming
1c3b68bf4b J�rgen S's activation of intelligent code rather than my dumb attempt.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3524 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-11 18:57:30 +00:00
Angus Leeming
fd84082699 J�rgen S's "power user" patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3395 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-16 16:34:03 +00:00
Jean-Marc Lasgouttes
c890dfa0f8 add shortcuts to filedialogs directory buttons; small gnome patch from Michael
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3353 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 15:01:25 +00:00
Jürgen Vigna
dde058d322 Update the toolbar if we unlock an inset (or change paragraph).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3317 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-08 15:32:11 +00:00
Jean-Marc Lasgouttes
77aa584347 fix to default units from Juergen S.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3295 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-04 15:14:22 +00:00
Lars Gullik Bjønnes
b922cdd796 2001-12-28 Lars Gullik Bj�nnes <larsbj@birdstep.com>
* Makefile.am: added the new files to sources, removed layout.C

* layout.C: removed file

* layout.h: remove LYX_DUMMY_LAYOUT

* lyxtextclasslist.C (NumberOfLayout): do not special case dummy
layout.

* lyxlayout.[Ch]:
* lyxtextclass.[Ch]:
* lyxtextclasslist.[Ch]: new files

* include order changes to a lot of files, also changes because of
the six new files.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3269 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-28 13:26:54 +00:00
Lars Gullik Bjønnes
7e61459c3f apply setlength.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3164 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 23:18:44 +00:00
Allan Rae
e1eb45f5d3 extend John's getLyXText() patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3148 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 05:53:01 +00:00
Allan Rae
5f3773f2b8 John's getLyXText() fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3147 a592a061-630c-0410-9148-cb99ea01b6c8
2001-12-05 05:26:22 +00:00
Jean-Marc Lasgouttes
5d38385eb6 recreation patch from Ben ; page break patch from John ; remove useless examples
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3110 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-29 11:20:56 +00:00
Jean-Marc Lasgouttes
cb52251ccf form para crash fix from John
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3102 a592a061-630c-0410-9148-cb99ea01b6c8
2001-11-28 11:04:31 +00:00
Angus Leeming
06abf8895c J�rgen Spitzm�ller's changes to the paragraph and minipage dialogs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2917 a592a061-630c-0410-9148-cb99ea01b6c8
2001-10-23 09:04:46 +00:00
Angus Leeming
5bca243109 J�rgen Spitzm�ller's tweak of the Paragraph dialog.
Finally (?) fix memory leak in Maths Bitmap dialog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2717 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-10 12:25:40 +00:00
Lars Gullik Bjønnes
271f8d7eec some mods I had in my local tree, mostly small stuff, perhaps minus the the Makefile changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2713 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-09 22:02:19 +00:00
Angus Leeming
1b0c700cc1 John's paragraph spacing patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2661 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-03 09:25:09 +00:00
Angus Leeming
4b31235b77 John's patches (except for [PATCH] fix quit etc. from inset about which I
cannot comment).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2650 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-02 11:40:33 +00:00
Angus Leeming
592c50de2f Prevent resizing of the citation dialog.
Fix paragraph dialog bug.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2619 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-29 16:00:14 +00:00
Angus Leeming
f4c407e4f6 Clean-up of paragraph dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2615 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-29 12:52:41 +00:00
Dekel Tsur
32ef0d04c4 Fix paragraph spacing
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2562 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-20 19:08:46 +00:00
Angus Leeming
4aca97ca21 John's per-paragraph line spacing patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2521 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-16 10:14:48 +00:00
Angus Leeming
06c830f488 Disable various buttons when buffer is read only
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2464 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-09 15:10:24 +00:00
Lars Gullik Bjønnes
d1182f17da LyX Drinkers Union: patch 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2141 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-25 00:06:33 +00:00
Angus Leeming
0e7b7c2125 Add an updateParagraph signal, take the opportunity to make a couple of
cosmetic name changes to existing signals.
updateParagraph signal emitted from BufferView::fitCursor().
Add crude machinery to deal with it in the xforms Paragraph dialog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2130 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-15 16:18:43 +00:00
Angus Leeming
467323b2b8 Removed // -*- C++ -*- from all .C files!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2121 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-13 15:11:17 +00:00
Angus Leeming
0c2a3e5960 Added // -*- C++ -*- to the top of all files in controllers/ and xforms/
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2118 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-13 14:33:31 +00:00
Angus Leeming
9b7b1a17fc Modification to ButtonController, so that read-only list of widgets is
not refreshed every time Restore,Apply,Ok,Cancel are pressed. Has the real
advantage that the GUI's can control the widgets more accurately, since the
ButtonController cannot.

Demonstrated with some small change to the Paragraph dialog: enabling the
align buttons is now dependent on the AlignPossible entry in the Layout.

Also apply a small bug fix to getVectorFromString in helper_funcs.C


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2087 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-02 14:53:35 +00:00
Lars Gullik Bjønnes
83acbbd523 update copyright year
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2072 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-30 13:53:44 +00:00
Lars Gullik Bjønnes
4c6091b63f remove !NEW_INSETS cruft
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1980 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-03 14:31:33 +00:00
Angus Leeming
8999098e94 Remove some xforms cruft from BufferView.h BufferView_pimpl.h.
John's name-changing patch.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1878 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-03 14:30:58 +00:00