2002-05-29 Lars Gullik Bj�nnes <larsbj@birdstep.com>

Dialogs.C (Dialogs): simplify creation of dialog objects a bit.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4278 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Lars Gullik Bjønnes 2002-05-29 15:21:23 +00:00
parent 837e4e597c
commit 1b6bcf5fae
2 changed files with 67 additions and 35 deletions

View File

@ -1,14 +1,18 @@
2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
* Dialogs.C (Dialogs): simplify creation of dialog objects a bit.
2002-05-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr> 2002-05-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
* FormDocument.C (input): set preamble too when saving default * FormDocument.C (input): set preamble too when saving default
template. template.
2002-05-26 John Levon <moz@compsoc.man.ac.uk> 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
* Makefile.am: * Makefile.am:
* XWorkArea.h: * XWorkArea.h:
* XWorkArea.C: moved here * XWorkArea.C: moved here
2002-05-24 John Levon <moz@compsoc.man.ac.uk> 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
* ColorHandler.h: * ColorHandler.h:
@ -21,14 +25,14 @@
* Makefile.am: * Makefile.am:
* xfont_metrics.C: changes from above * xfont_metrics.C: changes from above
2002-05-23 John Levon <moz@compsoc.man.ac.uk> 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
* Makefile.am: * Makefile.am:
* XPainter.C: * XPainter.C:
* xfont_metrics.h: * xfont_metrics.h:
* xfont_metrics.C: moved font metrics code * xfont_metrics.C: moved font metrics code
2002-05-24 Juergen Vigna <jug@sad.it> 2002-05-24 Juergen Vigna <jug@sad.it>
* FormMathsBitmap.C: include local includes first (selfcontainment) * FormMathsBitmap.C: include local includes first (selfcontainment)
@ -40,7 +44,7 @@
* lyxlookup.h: * lyxlookup.h:
* lyxlookup.C: * lyxlookup.C:
* Makefile.am: move here * Makefile.am: move here
2002-05-23 John Levon <moz@compsoc.man.ac.uk> 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
* DropDown.h: * DropDown.h:
@ -61,13 +65,13 @@
* XFormsView.h: * XFormsView.h:
* XFormsView.C: LyXView is now in frontends/, * XFormsView.C: LyXView is now in frontends/,
XFormsView moved to here XFormsView moved to here
2002-05-23 John Levon <moz@compsoc.man.ac.uk> 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
* Makefile.am: * Makefile.am:
* XPainter.h: * XPainter.h:
* XPainter.C: move Painter here * XPainter.C: move Painter here
2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com> 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
* Menubar_pimpl.C: add scoped_ptr.hpp * Menubar_pimpl.C: add scoped_ptr.hpp

View File

@ -92,36 +92,64 @@ bool Dialogs::tooltipsEnabled()
Dialogs::Dialogs(LyXView * lv) Dialogs::Dialogs(LyXView * lv)
{ {
add(new GUIAboutlyx<FormAboutlyx, xformsBC>(*lv, *this)); add(new GUI<ControlAboutlyx, FormAboutlyx,
add(new GUIBibitem<FormBibitem, xformsBC>(*lv, *this)); OkCancelPolicy, xformsBC>(*lv, *this));
add(new GUIBibtex<FormBibtex, xformsBC>(*lv, *this)); add(new GUI<ControlBibitem, FormBibitem,
add(new GUICharacter<FormCharacter, xformsBC>(*lv, *this)); OkCancelReadOnlyPolicy, xformsBC>(*lv, *this));
add(new GUICitation<FormCitation, xformsBC>(*lv, *this)); add(new GUI<ControlBibtex, FormBibtex,
add(new GUIError<FormError, xformsBC>(*lv, *this)); OkCancelReadOnlyPolicy, xformsBC>(*lv, *this));
add(new GUIERT<FormERT, xformsBC>(*lv, *this)); add(new GUI<ControlCharacter, FormCharacter,
add(new GUIExternal<FormExternal, xformsBC>(*lv, *this)); OkApplyCancelReadOnlyPolicy, xformsBC>(*lv, *this));
add(new GUIForks<FormForks, xformsBC>(*lv, *this)); add(new GUI<ControlCitation, FormCitation,
add(new GUIGraphics<FormGraphics, xformsBC>(*lv, *this)); NoRepeatedApplyReadOnlyPolicy, xformsBC>(*lv, *this));
add(new GUIInclude<FormInclude, xformsBC>(*lv, *this)); add(new GUI<ControlError, FormError,
add(new GUIIndex<FormIndex, xformsBC>(*lv, *this)); OkCancelPolicy, xformsBC>(*lv, *this));
add(new GUILog<FormLog, xformsBC>(*lv, *this)); add(new GUI<ControlERT, FormERT,
add(new GUIMinipage<FormMinipage, xformsBC>(*lv, *this)); NoRepeatedApplyReadOnlyPolicy, xformsBC>(*lv, *this));
add(new GUIFloat<FormFloat, xformsBC>(*lv, *this)); add(new GUI<ControlExternal, FormExternal,
add(new GUIPreamble<FormPreamble, xformsBC>(*lv, *this)); OkApplyCancelReadOnlyPolicy, xformsBC>(*lv, *this));
add(new GUIPrint<FormPrint, xformsBC>(*lv, *this)); add(new GUI<ControlForks, FormForks,
add(new GUIRef<FormRef, xformsBC>(*lv, *this)); OkApplyCancelPolicy, xformsBC>(*lv, *this));
add(new GUISearch<FormSearch, xformsBC>(*lv, *this)); add(new GUI<ControlGraphics, FormGraphics,
add(new GUISendto<FormSendto, xformsBC>(*lv, *this)); NoRepeatedApplyReadOnlyPolicy, xformsBC>(*lv, *this));
add(new GUIShowFile<FormShowFile, xformsBC>(*lv, *this)); add(new GUI<ControlInclude, FormInclude,
add(new GUISpellchecker<FormSpellchecker, xformsBC>(*lv, *this)); OkCancelReadOnlyPolicy, xformsBC>(*lv, *this));
add(new GUITabularCreate<FormTabularCreate, xformsBC>(*lv, *this)); add(new GUI<ControlIndex, FormIndex,
NoRepeatedApplyReadOnlyPolicy, xformsBC>(*lv, *this));
add(new GUI<ControlLog, FormLog,
OkCancelPolicy, xformsBC>(*lv, *this));
add(new GUI<ControlMinipage, FormMinipage,
NoRepeatedApplyReadOnlyPolicy, xformsBC>(*lv, *this));
add(new GUI<ControlFloat, FormFloat,
NoRepeatedApplyReadOnlyPolicy, xformsBC>(*lv, *this));
add(new GUI<ControlPreamble, FormPreamble,
NoRepeatedApplyReadOnlyPolicy, xformsBC>(*lv, *this));
add(new GUI<ControlPrint, FormPrint,
OkApplyCancelPolicy, xformsBC>(*lv, *this));
add(new GUI<ControlRef, FormRef,
NoRepeatedApplyReadOnlyPolicy, xformsBC>(*lv, *this));
add(new GUI<ControlSearch, FormSearch,
NoRepeatedApplyReadOnlyPolicy, xformsBC>(*lv, *this));
add(new GUI<ControlSendto, FormSendto,
OkApplyCancelPolicy, xformsBC>(*lv, *this));
add(new GUI<ControlShowFile, FormShowFile,
OkCancelPolicy, xformsBC>(*lv, *this));
add(new GUI<ControlSpellchecker, FormSpellchecker,
NoRepeatedApplyReadOnlyPolicy, xformsBC>(*lv, *this));
add(new GUI<ControlTabularCreate, FormTabularCreate,
OkApplyCancelReadOnlyPolicy, xformsBC>(*lv, *this));
#ifdef HAVE_LIBAIKSAURUS #ifdef HAVE_LIBAIKSAURUS
add(new GUIThesaurus<FormThesaurus, xformsBC>(*lv, *this)); add(new GUI<ControlThesaurus, FormThesaurus,
OkApplyCancelReadOnlyPolicy, xformsBC>(*lv, *this));
#endif #endif
add(new GUITexinfo<FormTexinfo, xformsBC>(*lv, *this)); add(new GUI<ControlTexinfo, FormTexinfo,
add(new GUIToc<FormToc, xformsBC>(*lv, *this)); OkCancelPolicy, xformsBC>(*lv, *this));
add(new GUIUrl<FormUrl, xformsBC>(*lv, *this)); add(new GUI<ControlToc, FormToc,
add(new GUIVCLog<FormVCLog, xformsBC>(*lv, *this)); OkCancelPolicy, xformsBC>(*lv, *this));
add(new GUI<ControlUrl, FormUrl,
NoRepeatedApplyReadOnlyPolicy, xformsBC>(*lv, *this));
add(new GUI<ControlVCLog, FormVCLog,
OkCancelPolicy, xformsBC>(*lv, *this));
add(new FormDocument(lv, this)); add(new FormDocument(lv, this));
add(new FormMathsPanel(lv, this)); add(new FormMathsPanel(lv, this));