3 * Copyright 2001 the LyX Team
4 * Read the file COPYING
11 #pragma implementation
14 // the dialog definitions
15 #include "QAboutDialog.h"
16 #include "QBibitemDialog.h"
17 #include "QBibtexDialog.h"
18 #include "QCharacterDialog.h"
19 #include "QCitationDialog.h"
20 #include "QErrorDialog.h"
21 #include "QERTDialog.h"
22 #include "QExternalDialog.h"
23 #include "QGraphicsDialog.h"
24 #include "QIncludeDialog.h"
25 #include "QIndexDialog.h"
26 #include "QLogDialog.h"
27 #include "QMinipageDialog.h"
28 #include "QPreambleDialog.h"
29 #include "QPrintDialog.h"
30 #include "QRefDialog.h"
31 #include "QSearchDialog.h"
32 #include "QSpellcheckerDialog.h"
33 #include "QTabularCreateDialog.h"
34 #include "QTexinfoDialog.h"
35 #include "QThesaurusDialog.h"
36 #include "QURLDialog.h"
37 #include "QVCLogDialog.h"
42 #include "QCharacter.h"
43 #include "QCitation.h"
46 #include "QExternal.h"
47 #include "QGraphics.h"
51 #include "QMinipage.h"
52 #include "QParagraph.h"
53 #include "QPreamble.h"
57 #include "QSpellchecker.h"
58 #include "QTabularCreate.h"
60 #include "QThesaurus.h"
64 #include "QtLyXView.h"
66 #include "BufferView.h"
71 #include "xforms/FormBrowser.h"
72 #include "xforms/form_browser.h"
73 #include "xforms/FormDocument.h"
74 #include "xforms/FormERT.h"
75 #include "xforms/form_ert.h"
76 #include "xforms/FormFloat.h"
77 #include "xforms/form_float.h"
78 #include "xforms/FormMathsPanel.h"
79 #include "xforms/FormParagraph.h"
80 #include "xforms/FormPreferences.h"
81 #include "xforms/FormShowFile.h"
82 #include "xforms/FormTabular.h"
83 #include "xforms/FormToc.h"
84 #include "xforms/form_toc.h"
88 // this makes no real sense for Qt2
89 SigC::Signal0<void> Dialogs::redrawGUI;
92 Dialogs::Dialogs(LyXView * lv)
94 // dialogs that have been converted to new scheme
95 add(new GUICitation<QCitation, Qt2BC>(*lv, *this));
96 add(new GUIAboutlyx<QAbout, Qt2BC>(*lv, *this));
97 add(new GUIBibitem<QBibitem, Qt2BC>(*lv, *this));
98 add(new GUIBibtex<QBibtex, Qt2BC>(*lv, *this));
99 add(new GUICharacter<QCharacter, Qt2BC>(*lv, *this));
100 add(new GUIError<QError, Qt2BC>(*lv, *this));
101 add(new GUIERT<QERT, Qt2BC>(*lv, *this));
102 add(new GUIExternal<QExternal, Qt2BC>(*lv, *this));
103 add(new GUIGraphics<QGraphics, Qt2BC>(*lv, *this));
104 add(new GUIInclude<QInclude, Qt2BC>(*lv, *this));
105 add(new GUIIndex<QIndex, Qt2BC>(*lv, *this));
106 add(new GUILog<QLog, Qt2BC>(*lv, *this));
107 add(new GUIMinipage<QMinipage, Qt2BC>(*lv, *this));
108 add(new GUIPreamble<QPreamble, Qt2BC>(*lv, *this));
109 add(new GUIPrint<QPrint, Qt2BC>(*lv, *this));
110 add(new GUIRef<QRef, Qt2BC>(*lv, *this));
111 add(new GUISearch<QSearch, Qt2BC>(*lv, *this));
112 add(new GUISpellchecker<QSpellchecker, Qt2BC>(*lv, *this));
113 add(new GUITabularCreate<QTabularCreate, Qt2BC>(*lv, *this));
114 add(new GUITexinfo<QTexinfo, Qt2BC>(*lv, *this));
115 add(new GUIThesaurus<QThesaurus, Qt2BC>(*lv, *this));
116 add(new GUIUrl<QURL, Qt2BC>(*lv, *this));
117 add(new GUIVCLog<QVCLog, Qt2BC>(*lv, *this));
119 // dialogs not yet converted
120 add(new GUIERT<FormERT, xformsBC>(*lv, *this));
121 add(new GUIFloat<FormFloat, xformsBC>(*lv, *this));
122 add(new GUIShowFile<FormShowFile, xformsBC>(*lv, *this));
123 add(new GUIToc<FormToc, xformsBC>(*lv, *this));
125 // dialogs not yet MVCd
126 add(new FormDocument(lv, this));
127 add(new FormMathsPanel(lv, this));
128 add(new FormParagraph(lv, this));
129 add(new FormPreferences(lv, this));
130 add(new FormTabular(lv, this));
132 // reduce the number of connections needed in
133 // dialogs by a simple connection here.
134 hideAll.connect(hideBufferDependent.slot());