Commit Graph

61 Commits

Author SHA1 Message Date
Angus Leeming
990007a012 Workaround for xforms bug, not hiding tooltip on dialog close.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5356 a592a061-630c-0410-9148-cb99ea01b6c8
2002-10-03 11:25:01 +00:00
Angus Leeming
f991ac4421 Fix leaking pixmap icon.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5352 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-30 20:00:42 +00:00
Angus Leeming
b261483f24 Rob's dialog clean-up and Martin's 'disfucation' of insetgraphics.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5238 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-09 09:49:47 +00:00
Angus Leeming
1eb8155fa0 This file is part of LyX, the document processor.
Licence details can be found in the file COPYING.

and thank God for sed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5211 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-05 15:14:23 +00:00
Angus Leeming
6fac1dc980 Really dull and boring header shit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5210 a592a061-630c-0410-9148-cb99ea01b6c8
2002-09-05 14:10:50 +00:00
Angus Leeming
c265d16ed0 Nothing but a changed email address (trying to factor my tree in in small steps)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4998 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-15 16:02:22 +00:00
Angus Leeming
1e3d2fce7f No longer pass Controller & or Dialogs & to the View c-tors.
GUI now contains a controller rather than derives from a controller.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4942 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-12 14:28:43 +00:00
John Levon
283f8347a8 remove debugging code I accidentally committed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4855 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-04 23:15:42 +00:00
John Levon
7c98b3bd37 spellchecker cleanup - fscked knows why pspell is broken, I am TOTALLY
baffled by that one.

Various other cleanups, including a fixed version of lyxlex that doesn't
destroy the preamble ...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4854 a592a061-630c-0410-9148-cb99ea01b6c8
2002-08-04 23:11:50 +00:00
Lars Gullik Bjønnes
5fd921e9e6 2002-07-02 Lars Gullik Bj�nnes <larsbj@birdstep.com>
Dialogs.h: remove static from redrawGUI and
toggleTooltips.

And changes because of this.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4517 a592a061-630c-0410-9148-cb99ea01b6c8
2002-07-02 19:23:10 +00:00
Angus Leeming
a97c4f51c3 xforms clean-up, described in detail in my mail of 31 May. See
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg38939.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4393 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-13 13:43:51 +00:00
John Levon
6da2c4d96d More very minor syncing ..
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4375 a592a061-630c-0410-9148-cb99ea01b6c8
2002-06-12 03:16:41 +00:00
Angus Leeming
38b1890429 Prevent crashes experienced by speakers of "long" languages like Norwegian
and German when they select a tab of some tabbed-folder that is only partly
displayed. Of course, the crash no longer happens with xforms 0.9999, but this
is still the elegant thing to do.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4141 a592a061-630c-0410-9148-cb99ea01b6c8
2002-05-08 17:52:02 +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
0fde5a4c78 whitespace changes only (believe it or not!)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3801 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-21 16:59:12 +00:00
Angus Leeming
9bf713b476 Clean-up tooltips further, rewrite formatted as a one-pass algo and
ensure that fl_set_object_helper is called only when the dialog is
visible, else it does not respect line breaks. Wierd, I know!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3766 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-18 15:56:00 +00:00
Angus Leeming
ff6f729817 iThe cursor now behaves properly in the dialogs...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3740 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-13 11:26:36 +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
Angus Leeming
4fff141501 Give people a rational basis to describe what they dislike about tooltips!!!
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3703 a592a061-630c-0410-9148-cb99ea01b6c8
2002-03-11 09:54:42 +00:00
Angus Leeming
3026a589b0 John's possible fix to the Bad Window problems that some people have
been experiencing.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3610 a592a061-630c-0410-9148-cb99ea01b6c8
2002-02-28 14:36:23 +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
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
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
65b6ee4cd3 White space changes only.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3445 a592a061-630c-0410-9148-cb99ea01b6c8
2002-01-28 18:42:37 +00:00
Angus Leeming
9c6e6a958a Generalise Dekel's fix to the "select choice < 1" problem.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2791 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-24 10:49:55 +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
5bc3841d41 Rob Lahaye's "iconify dialogs with main window if so desired" patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2703 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-07 10:11:02 +00:00
Angus Leeming
d51710eb3e Add a pre-handler that triggers an input event when text is pasted into
an xforms text input widget.
Use this in the Preamble dialog.

If anybody wants to help add this functionality to the rest of the dialogs
then feel free. Apart from FormPreferences (which has it's own prehandler
already that would need to be modified) there are about 60 text input
widgets that all need the extra code:
	extern "C" int C_CutandPastePH(FL_OBJECT *, int, FL_Coord, FL_Coord,
				       int, void *);

	fl_set_object_prehandler(widget, C_CutandPastePH);

Not too hard, is it?

Angus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2613 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-29 11:01:05 +00:00
Angus Leeming
ccb3cb54e5 Clean fix for Michael's reported bug with the character dialog. Occurred
because build() is called from the controller meaning that minw_ etc
were not reset.

Fix to citation dialog; the style should now remain centred within the frame.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2607 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-28 13:48:40 +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
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
Angus Leeming
62f5f89bec trivial changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2059 a592a061-630c-0410-9148-cb99ea01b6c8
2001-05-29 14:54:25 +00:00
Lars Gullik Bjønnes
47910a7a67 move more support functions into namespace lyx, small other changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1949 a592a061-630c-0410-9148-cb99ea01b6c8
2001-04-24 15:25:26 +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
Angus Leeming
58d99b4a97 * Baruch's GuiBC template.
* Some file (and class) name changes:
	ButtonController.[Ch] to ButtonControllerBase.[Ch]
	BCTemplates.h to ButtonController.h
	ControlBase.[Ch] to ControlButton.[Ch]
* Moved file browsing into the controllers for the Graphics, Include and
Print popups.
* Fixed search bug in Citation popup. Added case sensitive button.
* Implemented controller-view split for External Material popup. Think that
it's now correct, but could you check again, Dekel?

Angus


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1859 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-30 09:51:46 +00:00
Angus Leeming
a12309c76b Implementation of controller-view split for FormCharacter.
Some small clean-ups of code in frontends/controllers and frontends/xforms.
Added size_type and size() to Languages in language.h


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1798 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-21 13:27:03 +00:00
Angus Leeming
9f29ab3aa5 controller-view split of FormLog and FormVCLog.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1796 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-20 10:14:03 +00:00
Lars Gullik Bjønnes
fc8465aa1f use anon namespace, somewhat better comp. handling of minipages, not quite there yet
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1795 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-20 01:22:46 +00:00
Angus Leeming
5997291fc3 Rewrote the maths panel so that ALL the popups now derive from FormBaseBD,
cleaning up the logic in the process. Should now be easy to move to a
controller-view split.
Moved the minw_, minh_ bug-fix into the base class. Can now forget about it!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1793 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-19 15:38:22 +00:00
Angus Leeming
9c36dd0f40 Merging BRANCH_MVC back into HEAD.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1770 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-15 13:37:04 +00:00
Angus Leeming
2e279fe9c7 John's small fixes to qt2 and xforms + his elegant replacement to FL_TRANSIENT
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1612 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-23 16:19:54 +00:00
Angus Leeming
99a8f84465 extended ButtonController so that only FL_OBJECT *s in a trigger_change_
vector can actually cause the Ok, Apply buttons to change state on input.
Vector created for FormCitation.

Please test!


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1514 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-14 18:56:38 +00:00
Jean-Marc Lasgouttes
891bff2bfe A few patches I forgot to commit on friday.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1272 a592a061-630c-0410-9148-cb99ea01b6c8
2000-12-11 09:46:09 +00:00
Jean-Marc Lasgouttes
048b42443d Preference/Color changes from Angus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1253 a592a061-630c-0410-9148-cb99ea01b6c8
2000-12-04 14:10:44 +00:00
Lars Gullik Bjønnes
977cf6160f apply the patch from Angus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1229 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-21 21:51:25 +00:00
Lars Gullik Bjønnes
a32d2c972f fix a couple of hard crashes, constify local variables, whitespace changes, some changes to new code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1215 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-14 02:01:57 +00:00
Jean-Marc Lasgouttes
0c978e6a3f Color patch from Angus, KDE patch from Johnm menu patch from Rob, and the usual uninteresting tweaks from me.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1211 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-10 17:29:47 +00:00
Lars Gullik Bjønnes
7ec7c9da44 changes read the dirr and changelog, something should be remvoed/changed
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1205 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-08 09:39:46 +00:00