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,3 +1,7 @@
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

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));