]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/Dialogs.C
Angus Custom Export patch and removal of unused files from repository.
[lyx.git] / src / frontends / xforms / Dialogs.C
1 /* This file is part of
2  * ======================================================
3  *
4  *           LyX, The Document Processor
5  *
6  *           Copyright 1995 Matthias Ettrich
7  *           Copyright 1995-2001 The LyX Team.
8  *
9  * ======================================================
10  */
11
12 #include <config.h>
13
14 #ifdef __GNUG__
15 #pragma implementation
16 #endif
17
18 #include "Dialogs.h"
19
20 #include "GUI.h"
21 #include "xformsBC.h"
22
23 #include "combox.h"       // needed for clean destruction of boost::scoped_ptr
24 #include "form_aboutlyx.h"
25 #include "form_bibitem.h"
26 #include "form_bibtex.h"
27 #include "form_browser.h"
28 #include "form_character.h"
29 #include "form_citation.h"
30 #include "form_error.h"
31 #include "form_ert.h"
32 #include "form_external.h"
33 #include "form_float.h"
34 #include "form_forks.h"
35 #include "form_graphics.h"
36 #include "form_include.h"
37 #include "form_index.h"
38 #include "form_minipage.h"
39 #include "form_preamble.h"
40 #include "form_print.h"
41 #include "form_ref.h"
42 #include "form_search.h"
43 #include "form_sendto.h"
44 #include "form_spellchecker.h"
45 #include "form_tabular_create.h"
46 #include "form_texinfo.h"
47 #include "form_thesaurus.h"
48 #include "form_toc.h"
49 #include "form_url.h"
50
51 #include "FormAboutlyx.h"
52 #include "FormBibitem.h"
53 #include "FormBibtex.h"
54 #include "FormCharacter.h"
55 #include "FormCitation.h"
56 #include "FormError.h"
57 #include "FormERT.h"
58 #include "FormExternal.h"
59 #include "FormFloat.h"
60 #include "FormForks.h"
61 #include "FormGraphics.h"
62 #include "FormInclude.h"
63 #include "FormIndex.h"
64 #include "FormLog.h"
65 #include "FormMinipage.h"
66 #include "FormPreamble.h"
67 #include "FormPrint.h"
68 #include "FormRef.h"
69 #include "FormSearch.h"
70 #include "FormSendto.h"
71 #include "FormShowFile.h"
72 #include "FormSpellchecker.h"
73 #include "FormTabularCreate.h"
74 #include "FormTexinfo.h" 
75 #include "FormThesaurus.h" 
76 #include "FormToc.h"
77 #include "FormUrl.h"
78 #include "FormVCLog.h"
79
80 #include "FormDocument.h"
81 #include "FormMathsPanel.h"
82 #include "FormParagraph.h"
83 #include "FormPreferences.h"
84 #include "FormTabular.h"
85
86
87 Dialogs::Dialogs(LyXView * lv)
88 {
89         add(new GUIAboutlyx<FormAboutlyx, xformsBC>(*lv, *this));
90         add(new GUIBibitem<FormBibitem, xformsBC>(*lv, *this));
91         add(new GUIBibtex<FormBibtex, xformsBC>(*lv, *this));
92         add(new GUICharacter<FormCharacter, xformsBC>(*lv, *this));
93         add(new GUICitation<FormCitation, xformsBC>(*lv, *this));
94         add(new GUIError<FormError, xformsBC>(*lv, *this));
95         add(new GUIERT<FormERT, xformsBC>(*lv, *this));
96         add(new GUIExternal<FormExternal, xformsBC>(*lv, *this));
97         add(new GUIForks<FormForks, xformsBC>(*lv, *this));
98         add(new GUIGraphics<FormGraphics, xformsBC>(*lv, *this));
99         add(new GUIInclude<FormInclude, xformsBC>(*lv, *this));
100         add(new GUIIndex<FormIndex, xformsBC>(*lv, *this));
101         add(new GUILog<FormLog, xformsBC>(*lv, *this));
102         add(new GUIMinipage<FormMinipage, xformsBC>(*lv, *this));
103         add(new GUIFloat<FormFloat, xformsBC>(*lv, *this));
104         add(new GUIPreamble<FormPreamble, xformsBC>(*lv, *this));
105         add(new GUIPrint<FormPrint, xformsBC>(*lv, *this));
106         add(new GUIRef<FormRef, xformsBC>(*lv, *this));
107         add(new GUISearch<FormSearch, xformsBC>(*lv, *this));
108         add(new GUISendto<FormSendto, xformsBC>(*lv, *this));
109         add(new GUIShowFile<FormShowFile, xformsBC>(*lv, *this));
110         add(new GUISpellchecker<FormSpellchecker, xformsBC>(*lv, *this));
111         add(new GUITabularCreate<FormTabularCreate, xformsBC>(*lv, *this));
112 #ifdef HAVE_LIBAIKSAURUS
113         add(new GUIThesaurus<FormThesaurus, xformsBC>(*lv, *this));
114 #endif
115         add(new GUITexinfo<FormTexinfo, xformsBC>(*lv, *this));
116         add(new GUIToc<FormToc, xformsBC>(*lv, *this));
117         add(new GUIUrl<FormUrl, xformsBC>(*lv, *this));
118         add(new GUIVCLog<FormVCLog, xformsBC>(*lv, *this));
119
120         add(new FormDocument(lv, this));
121         add(new FormMathsPanel(lv, this));
122         add(new FormParagraph(lv, this));
123         add(new FormPreferences(lv, this));
124         add(new FormTabular(lv, this));
125         
126         // reduce the number of connections needed in
127         // dialogs by a simple connection here.
128         hideAll.connect(hideBufferDependent.slot());
129 }