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
Rename frontStrip to ltrim
Add new trim function.
modify source for this change.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4801 a592a061-630c-0410-9148-cb99ea01b6c8
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
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
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
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
* 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
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
* 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
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
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
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