3 * Copyright 2001 the LyX Team
4 * Read the file COPYING
10 // real GUI implementations. Have to go at the top
11 // because Qt is stupid.
12 #include "citationdlg.h"
13 #include "copyrightdlg.h"
18 #include "tabcreatedlg.h"
24 #include FORMS_H_LOCATION
26 #include "QtLyXView.h"
29 #include "form_bibitem.h"
30 #include "form_bibtex.h"
31 #include "form_browser.h"
32 #include "form_character.h"
33 #include "form_credits.h"
34 #include "form_error.h"
35 #include "form_external.h"
36 #include "form_graphics.h"
37 #include "form_include.h"
38 #include "form_minipage.h"
39 #include "form_preamble.h"
40 #include "form_search.h"
41 #include "form_splash.h"
48 #include "ControlBibitem.h"
49 #include "ControlBibtex.h"
50 #include "ControlCharacter.h"
51 #include "ControlCitation.h"
52 #include "ControlCopyright.h"
53 #include "ControlCredits.h"
54 #include "ControlError.h"
55 #include "ControlExternal.h"
56 #include "ControlGraphics.h"
57 #include "ControlInclude.h"
58 #include "ControlIndex.h"
59 #include "ControlLog.h"
60 #include "ControlMinipage.h"
61 #include "ControlPreamble.h"
62 #include "ControlPrint.h"
63 #include "ControlRef.h"
64 #include "ControlSearch.h"
65 #include "ControlSplash.h"
66 #include "ControlTabularCreate.h"
67 #include "ControlUrl.h"
68 #include "ControlVCLog.h"
71 #include "FormBibitem.h"
72 #include "FormBibtex.h"
73 #include "FormCharacter.h"
74 #include "FormCitation.h"
75 #include "FormCopyright.h"
76 #include "FormCredits.h"
77 #include "FormDocument.h"
78 #include "FormError.h"
79 #include "FormExternal.h"
80 #include "FormGraphics.h"
81 #include "FormInclude.h"
82 #include "FormIndex.h"
84 #include "FormMinipage.h"
85 #include "FormMathsPanel.h"
86 #include "FormParagraph.h"
87 #include "FormPreamble.h"
88 #include "FormPreferences.h"
89 #include "FormPrint.h"
91 #include "FormSearch.h"
92 #include "FormSplash.h"
93 #include "FormTabular.h"
94 #include "FormTabularCreate.h"
95 //#include "FormToc.h"
97 #include "FormVCLog.h"
101 #pragma implementation
104 /* We don't implement this, but it's needed whilst we
105 * still rely on xforms
107 SigC::Signal0<void> Dialogs::redrawGUI;
109 Dialogs::Dialogs(LyXView * lv)
111 splash_.reset(new GUISplash<FormSplash>(*this));
113 add(new GUIBibitem<FormBibitem, xformsBC>(*lv, *this));
114 add(new GUIBibtex<FormBibtex, xformsBC>(*lv, *this));
115 add(new GUICharacter<FormCharacter, xformsBC>(*lv, *this));
116 add(new GUICitation<FormCitation, kdeBC>(*lv, *this));
117 add(new GUICopyright<FormCopyright, kdeBC>(*lv, *this));
118 add(new GUICredits<FormCredits, xformsBC>(*lv, *this));
119 add(new GUIError<FormError, xformsBC>(*lv, *this));
120 add(new GUIExternal<FormExternal, xformsBC>(*lv, *this));
121 add(new GUIGraphics<FormGraphics, xformsBC>(*lv, *this));
122 add(new GUIInclude<FormInclude, kdeBC>(*lv, *this));
123 add(new GUIIndex<FormIndex, kdeBC>(*lv, *this));
124 add(new GUILog<FormLog, kdeBC>(*lv, *this));
125 add(new GUIMinipage<FormMinipage, xformsBC>(*lv, *this));
126 add(new GUIPreamble<FormPreamble, xformsBC>(*lv, *this));
127 add(new GUIPrint<FormPrint, kdeBC>(*lv, *this));
128 add(new GUIRef<FormRef, kdeBC>(*lv, *this));
129 add(new GUISearch<FormSearch, xformsBC>(*lv, *this));
130 add(new GUITabularCreate<FormTabularCreate, kdeBC>(*lv, *this));
131 add(new GUIUrl<FormUrl, kdeBC>(*lv, *this));
132 add(new GUIVCLog<FormVCLog, kdeBC>(*lv, *this));
133 //add(new GUIToc<FormToc, kdeBC>(*lv, *this));
135 add(new FormDocument(lv, this));
136 add(new FormMathsPanel(lv, this));
137 add(new FormParagraph(lv, this));
138 add(new FormPreferences(lv, this));
139 add(new FormTabular(lv, this));
141 // reduce the number of connections needed in
142 // dialogs by a simple connection here.
143 hideAll.connect(hideBufferDependent.slot());