Commit Graph

282 Commits

Author SHA1 Message Date
André Pönitz
def443366e Martin's patch to put \underleftarrow and \underrightarrow in the math panel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3506 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-08 08:30:09 +00:00
Angus Leeming
98385a16b8 Stabilise the tooltips interface and use it successfully in the Bibtex,
Citation and Texinfo dialogs.

Remove all the horrible #if FL_REVISION < 89 cruft from FormBase and
put it in a little wrapper class Tooltips. For now use the 0.88 code for
all versions of xforms as I can't see an easy way of changing the tooltip
on the fly with fl_set_object_helper.

To use, call setTooltipHandler for each widget, add a choice widget to
the dialog together with 4 lines of code to set/get the level of verbosity.
Finally, and two methods, getMinimalTooltip and getVerboseTooltip to return
the tooltip.

What could be easier? Please try this out.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3496 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-06 17:15:28 +00:00
Angus Leeming
599e49cf7d Framework to select the verbosity of the tooltip.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3493 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-06 12:12:04 +00:00
Angus Leeming
25e82b0745 J�rgen's first go at tooltips etc...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3491 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-05 20:36:12 +00:00
Angus Leeming
aeba607310 Herbert's graphic7.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3490 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-05 18:43:28 +00:00
Angus Leeming
a1b36fec35 You want real tooltips too? You got 'em. See the ChangeLog for how to use.
Works with both xforms 0.88 and 0.89.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3489 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-05 17:25:16 +00:00
Angus Leeming
625f8c79ac Provide the framework for really easy feedback messages.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3486 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-05 14:59:26 +00:00
Angus Leeming
bcfdd54d46 Yes, yet another patch from Herbert!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3484 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-05 12:19:32 +00:00
Angus Leeming
5f4027ce80 Prohibit resizing of the graphics dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3481 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-04 17:14:25 +00:00
Angus Leeming
a625b2d27f Herbert's latest "graphic5" patch (with the zippedFile stuff commented out),
his one-line fix to updateWidgetsFromLengthString,
a tiny bug fix of my own.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3480 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-04 15:36:45 +00:00
Angus Leeming
e173216d0a * Add a DEFAULT state to InsetGraphicsParams::DisplayType.
* InsetGraphics::updateInset will interogate lyxrc.display_graphics if
params.display == DEFAULT.
* Ensure that the "default" display is read to and written from file correctly.

Next to do: pass a GraphicsParams struct to the GraphicsCache when adding
an image rather tahn just the filename and use this to decide exactly
how to display the image. Will therefore be able to strip out the
lyxrc stuff from ImageLoader et al.

Angus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3476 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-01 18:53:50 +00:00
Angus Leeming
b5c2e2065f Rename figure-insert.xpm as graphics-insert.xpm.
Martin's tweek of the graphics dialog.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3466 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-31 15:11:23 +00:00
Angus Leeming
27652900a6 Yet another tweak from J�rgen.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3463 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-30 19:36:39 +00:00
Angus Leeming
b0f054d030 J�rgen S's changes to the citation dialog + a few tweaks of my own.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3459 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-30 19:09:25 +00:00
Angus Leeming
d899c547de The graphics part of J�rgen S's latest patch + a few tweaks of my own.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3458 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-30 18:49:41 +00:00
Angus Leeming
e1f75fc571 J�rgen S's patch to the graphics dialog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3455 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-30 14:55:27 +00:00
Angus Leeming
c96aa295e8 Fix a small compiler warning.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3451 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-29 16:40:07 +00:00
Angus Leeming
e07b31a47d Martin's changes to the space and style dialogs of the math panel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3449 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-29 12:31:24 +00:00
Angus Leeming
b28cf0655f J�rgen S's consistent minipage patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3447 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-29 09:38:09 +00:00
Angus Leeming
f09619a7e8 Herbert's big graphics patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3446 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-29 09:26:24 +00:00
Angus Leeming
2167a2f869 Remove code replicating that in the base class.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3444 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-28 18:35:07 +00:00
Angus Leeming
4e627bfe68 Martin's patch to shorten and broaded the AMS relational symbols in the
math panel.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3443 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-28 14:36:39 +00:00
Angus Leeming
39a99375e4 Martin's additional accents in the math panel patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3442 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-28 14:24:01 +00:00
Angus Leeming
3bbde60e5a Bugfixes: checkboxes to radiobuttons (from J�rgen S) and remove a little
redundant code (from me).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3432 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-25 10:21:46 +00:00
Jean-Marc Lasgouttes
d6dd467219 forminclude patch from herbert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3428 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-21 10:47:19 +00:00
Jean-Marc Lasgouttes
804493f2c4 grey-out comboxes when they are disabled; disable toolbar layout combox when forceDefaultParagraph is true; enlarge a bit the toolbar tooltips
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3427 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-20 23:17:17 +00:00
Jean-Marc Lasgouttes
f0a372d294 fix bug 175 (minipage in minipage); fix some warnings; apply external.diff from Herbert
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3420 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-19 17:05:24 +00:00
Angus Leeming
42bf3b3fc0 Martin's latest mods to the math panel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3416 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-18 12:18:20 +00:00
Jean-Marc Lasgouttes
d8037e4bfd use real LyXLength for minipages; new method LyXLength::inPixels
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3412 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-17 23:09:31 +00:00
Jean-Marc Lasgouttes
24b86e64c0 add configure.m4 to the distribution ; doc.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3408 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-17 17:16:19 +00:00
Allan Rae
605797c1b4 John's scalable font message and preferences inner_tab rename patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3405 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-17 10:53:14 +00:00
Allan Rae
c686dbe87f John's pref.diff minus the bold inner tabfolder in Preferences; ShowMessage() to console if minibuffer unavailable
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3401 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-17 06:43:34 +00:00
Angus Leeming
a61a18e2a0 Add the missing template instatiations!
Apologies to all.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3397 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-16 19:24:23 +00:00
Angus Leeming
7042b0204c J�rgen S's tabular resize patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3396 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-16 17:41:36 +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
Angus Leeming
ec8da0035d The reducing file dependencies in the frontends patch.
Ok, Ok, I know this touches a lot of files, but the benefits are worth the
huge re-compilation now. Trust me. Would I lie to you?

Actually, this also fixes a bug in ControlInset, so you'd have had to
recompile 31 files anyway. Happy now?


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3391 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-16 14:47:58 +00:00
Angus Leeming
16083c82e1 Martin's math panel patches.
John's thesaurus patch.
A patch of my own to clean-up the spellchecker code a little (functionality
not changed).


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3383 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-15 15:31:19 +00:00
Jean-Marc Lasgouttes
886dab108b compile fixes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3378 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 16:48:28 +00:00
Angus Leeming
de3b5aab16 Resolve virtual function name clashes:
* Rename InsetMinipage's width and height functions as pageWidth and
pageHeight, respectivelyi as they are functionally distinct from
the InsetCollapsable's methods of the same name.
* Change the "bool const &" parameters of UpdateableInset::searchForward and
searchBackward to "bool". Ditto with other classes, so all are now consistent.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3375 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 16:10:29 +00:00
Angus Leeming
754d59b4a1 Create a new support function lyx::count to use in place of std::count.
Remove countChar as lyx::count superceeds it.
Use the new function.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3372 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 13:04:06 +00:00
Angus Leeming
9be41f4c84 Compile fix following this weekend's commits.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3370 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 12:54:50 +00:00
Angus Leeming
998ddf60e3 Nobody complained so I'm committing my minibuffer completion patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3369 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 12:47:17 +00:00
Lars Gullik Bjønnes
711b3e0c8a spresize.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3366 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-14 02:28:33 +00:00
Jean-Marc Lasgouttes
5614c0459a fix assert with broken symlinks on buffer-open; fix bug #104 crash with --export with new graphics inset
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3362 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 23:00:15 +00:00
Lars Gullik Bjønnes
96e9048c24 bug 183
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3361 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 21:46:50 +00:00
Jean-Marc Lasgouttes
ebb331fe59 fix warning
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3358 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 17:50:57 +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
Lars Gullik Bjønnes
822c8ce430 the aik patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3349 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-13 01:46:33 +00:00
Jean-Marc Lasgouttes
8b8741cd5d fixes/cleanup to dispatch/getStatus stuff; fixes the bug where unwanted function names appear in minibuffer
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3346 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-12 20:00:47 +00:00
Allan Rae
2c265ad5cc Fix Michael's Purify #1 report
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3344 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-12 11:59:23 +00:00