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 "QThesaurusDialog.h"
35 #include "QURLDialog.h"
36 #include "QVCLogDialog.h"
41 #include "QCharacter.h"
42 #include "QCitation.h"
45 #include "QExternal.h"
46 #include "QGraphics.h"
50 #include "QMinipage.h"
51 #include "QParagraph.h"
52 #include "QPreamble.h"
56 #include "QSpellchecker.h"
58 #include "QTabularCreate.h"
59 #include "QThesaurus.h"
63 #include "QtLyXView.h"
65 #include "BufferView.h"
70 #include "controllers/ControlAboutlyx.h"
71 #include "controllers/ControlBibitem.h"
72 #include "controllers/ControlBibtex.h"
73 #include "controllers/ControlCharacter.h"
74 #include "controllers/ControlCitation.h"
75 #include "controllers/ControlError.h"
76 #include "controllers/ControlERT.h"
77 #include "controllers/ControlExternal.h"
78 #include "controllers/ControlGraphics.h"
79 #include "controllers/ControlInclude.h"
80 #include "controllers/ControlIndex.h"
81 #include "controllers/ControlLog.h"
82 #include "controllers/ControlMinipage.h"
83 #include "controllers/ControlPreamble.h"
84 #include "controllers/ControlPrint.h"
85 #include "controllers/ControlRef.h"
86 #include "controllers/ControlSearch.h"
87 #include "controllers/ControlSpellchecker.h"
88 #include "controllers/ControlSplash.h"
89 #include "controllers/ControlTabularCreate.h"
90 #include "controllers/ControlThesaurus.h"
91 #include "controllers/ControlUrl.h"
92 #include "controllers/ControlVCLog.h"
94 #include "controllers/ControlCitation.h"
95 #include "controllers/ControlFloat.h"
96 #include "controllers/ControlRef.h"
97 #include "controllers/ControlToc.h"
102 // this makes no real sense for Qt2
103 SigC::Signal0<void> Dialogs::redrawGUI;
106 Dialogs::Dialogs(LyXView * lv)
108 splash_.reset(new QSplash(lv, this));
110 // dialogs that have been converted to new scheme
111 add(new GUICitation<QCitation, Qt2BC>(*lv, *this));
112 add(new GUIAboutlyx<QAbout, Qt2BC>(*lv, *this));
113 add(new GUIBibitem<QBibitem, Qt2BC>(*lv, *this));
114 add(new GUIBibtex<QBibtex, Qt2BC>(*lv, *this));
115 add(new GUICharacter<QCharacter, Qt2BC>(*lv, *this));
116 add(new GUIError<QError, Qt2BC>(*lv, *this));
117 add(new GUIERT<QERT, Qt2BC>(*lv, *this));
118 add(new GUIExternal<QExternal, Qt2BC>(*lv, *this));
119 add(new GUIGraphics<QGraphics, Qt2BC>(*lv, *this));
120 add(new GUIInclude<QInclude, Qt2BC>(*lv, *this));
121 add(new GUIIndex<QIndex, Qt2BC>(*lv, *this));
122 add(new GUILog<QLog, Qt2BC>(*lv, *this));
123 add(new GUIMinipage<QMinipage, Qt2BC>(*lv, *this));
124 add(new GUIPreamble<QPreamble, Qt2BC>(*lv, *this));
125 add(new GUIPrint<QPrint, Qt2BC>(*lv, *this));
126 add(new GUIRef<QRef, Qt2BC>(*lv, *this));
127 add(new GUISearch<QSearch, Qt2BC>(*lv, *this));
128 add(new GUISpellchecker<QSpellchecker, Qt2BC>(*lv, *this));
129 add(new GUITabularCreate<QTabularCreate, Qt2BC>(*lv, *this));
130 add(new GUIThesaurus<QThesaurus, Qt2BC>(*lv, *this));
131 add(new GUIUrl<QURL, Qt2BC>(*lv, *this));
132 add(new GUIVCLog<QVCLog, Qt2BC>(*lv, *this));
134 // reduce the number of connections needed in
135 // dialogs by a simple connection here.
136 hideAll.connect(hideBufferDependent.slot());