Commit Graph

56 Commits

Author SHA1 Message Date
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
d0fb0834e3 * New xforms helper functions getVectorFromChoice, getVectorFromBrowser
* Used in the citation and reference dialogs to only update the choices and
  browsers when absolutely necessary.

* Renamed the widgets in the reference dialog in standard style.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2797 a592a061-630c-0410-9148-cb99ea01b6c8
2001-09-24 16:37:24 +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
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
8ae23e7526 John's recent build.diff patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2582 a592a061-630c-0410-9148-cb99ea01b6c8
2001-08-24 14:57:27 +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
Angus Leeming
50b65ca806 Merge natbib branch into head
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2286 a592a061-630c-0410-9148-cb99ea01b6c8
2001-07-19 14:12:37 +00:00
Angus Leeming
11d542be6b Fix for qt2 citation dialog crash when selecting first key
of available bibliography keys.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2135 a592a061-630c-0410-9148-cb99ea01b6c8
2001-06-17 13:22:56 +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
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
071d35750a controller-view split for TOC popup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1863 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-30 19:24:28 +00:00
Angus Leeming
79a7f6b162 Squashed bugs in Citation and (I hope) External Material popups. Could
people please check this one more time...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1860 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-30 13:47:39 +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
015412da02 Implemented controller-view split for Graphics and Index popups.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1845 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-28 13:11:08 +00:00
Angus Leeming
b63ac8a6c3 Implemented controller-view split for Search popup.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1829 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-26 15:25:37 +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
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
Dekel Tsur
01e9bd2f39 Do not put space between multiple keys.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1753 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-13 15:03:54 +00:00
Angus Leeming
4505b2f7b3 create and use a little setEnabled() xforms wrapper function.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1676 a592a061-630c-0410-9148-cb99ea01b6c8
2001-03-05 19:02:40 +00:00
Angus Leeming
f0c75a909e altering "Text after" now activates the Ok,Apply buttons
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1533 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-19 14:01:23 +00:00
Angus Leeming
eb5f9093b4 white-space changes to FormCitation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1525 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-16 18:50:28 +00:00
Angus Leeming
50be761b25 change ButtonController's trigger_change_ vector to dont_trigger_change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1518 a592a061-630c-0410-9148-cb99ea01b6c8
2001-02-15 11:15:31 +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
Lars Gullik Bjønnes
037d17588d update patch from Angus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1245 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-29 15:06:42 +00:00
Allan Rae
2748a88bbd Angus's 23rd November patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1242 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-28 06:46:06 +00:00
Lars Gullik Bjønnes
adaef99e60 some formatting changes some simplifications and removal of dead code
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1198 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-04 10:00:12 +00:00
Jean-Marc Lasgouttes
f2eaff9f30 A first try at colors and format preferences (Angus)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1187 a592a061-630c-0410-9148-cb99ea01b6c8
2000-11-03 09:47:02 +00:00
Jean-Marc Lasgouttes
c9dbe4fd82 Cleanup patches for xforms (Angus) and KDE (John)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1148 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-24 13:13:59 +00:00
Jean-Marc Lasgouttes
8effd3eec4 The forms resize patch, and small updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1142 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-20 09:50:09 +00:00
Allan Rae
ba01a232ea Angus's FormInset work; Dekel's languages patch; my reworking of Angus's stuff + other xforms cleanup; No guarantee I got the kde or gnome stuff right wrt updateBufferDependent
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1110 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-13 05:57:05 +00:00
Lars Gullik Bjønnes
e7401bd8f2 use more std::functors add some of my own, some change to fl_display etc. read the change log...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1102 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-11 21:06:43 +00:00
Allan Rae
d4c8acbcb2 Angus's xforms patch -- I don't like some of it but overall we need it...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1090 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-10 01:33:42 +00:00
Allan Rae
2c80c7bdd1 Dekel's lyxrc.example; Angus's FormDocument; John's build-listerrors; POTFILES.in and ext_l10n.h now handled by Makefile rules
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1084 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-05 07:57:00 +00:00
Allan Rae
82ef1fd1de Angus's xforms patch + Preferences redesign -- need help fixing BadDrawable + Abort (core dumped)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1072 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-03 05:53:25 +00:00
Allan Rae
20b05ef8c1 FormBase extends its reach into the codebase and gains a ButtonController
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1062 a592a061-630c-0410-9148-cb99ea01b6c8
2000-10-02 00:10:25 +00:00
Lars Gullik Bjønnes
5f1427b648 more type changes, some consts added
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1061 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-29 18:44:07 +00:00
Lars Gullik Bjønnes
0031da054f fix call to Dispatch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1028 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-19 11:18:35 +00:00
Lars Gullik Bjønnes
2fa9fa22c4 citation patch from Angus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@998 a592a061-630c-0410-9148-cb99ea01b6c8
2000-09-04 13:22:22 +00:00
Allan Rae
f4d7b803f3 major GUII cleanup + Baruchs patch + Angus's patch + removed a couple of generated files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@966 a592a061-630c-0410-9148-cb99ea01b6c8
2000-08-14 05:24:35 +00:00
Jürgen Vigna
612a097878 Better parbox use in tabulars, add of scrolling of inset and automatic
scrolling of tabularinsets. Much better update performance in inset-tabular.
Still some stuff todo.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@955 a592a061-630c-0410-9148-cb99ea01b6c8
2000-08-07 15:21:05 +00:00
Jean-Marc Lasgouttes
cd694827a9 Another clean-up patch from Angus
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@953 a592a061-630c-0410-9148-cb99ea01b6c8
2000-08-04 13:12:30 +00:00
Jean-Marc Lasgouttes
c44a392c34 Fix crash on exit (angus)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@951 a592a061-630c-0410-9148-cb99ea01b6c8
2000-08-03 13:48:33 +00:00
Jean-Marc Lasgouttes
046b5d824c Angus insetindex patch + protect patch from Dekel
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@950 a592a061-630c-0410-9148-cb99ea01b6c8
2000-08-03 12:56:25 +00:00
Allan Rae
8b52f51251 fix Angus's forgotten initializations
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@947 a592a061-630c-0410-9148-cb99ea01b6c8
2000-08-02 08:03:31 +00:00
Lars Gullik Bjønnes
9f674c6eff some fixes to prev patch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@945 a592a061-630c-0410-9148-cb99ea01b6c8
2000-08-01 18:11:14 +00:00