3 * Copyright 2001 the LyX Team
4 * Read the file COPYING
11 #pragma implementation
14 // the dialog definitions
15 #include "QCitationDialog.h"
16 #include "QAboutDialog.h"
18 // the controller interface
20 #include "QCharacter.h"
21 #include "QCitation.h"
23 #include "QParagraph.h"
27 #include "QTabularCreate.h"
29 #include "QtLyXView.h"
31 #include "BufferView.h"
35 // xforms implementations
36 #include "../xforms/FormError.h"
37 #include "../xforms/FormGraphics.h"
38 #include "../xforms/FormPreferences.h"
39 #include "../xforms/FormTabular.h"
42 #include "controllers/ControlAboutlyx.h"
43 #include "controllers/ControlCitation.h"
44 #include "controllers/ControlIndex.h"
45 #include "controllers/ControlSplash.h"
47 #include "controllers/ControlCopyright.h"
48 #include "controllers/ControlCredits.h"
49 #include "controllers/ControlBibitem.h"
50 #include "controllers/ControlBibtex.h"
51 #include "controllers/ControlButtons.h"
52 #include "controllers/ControlCharacter.h"
53 #include "controllers/ControlCitation.h"
54 #include "controllers/ControlCommand.h"
55 #include "controllers/ControlERT.h"
56 #include "controllers/ControlError.h"
57 #include "controllers/ControlExternal.h"
58 #include "controllers/ControlFloat.h"
59 #include "controllers/ControlGraphics.h"
60 #include "controllers/ControlInclude.h"
61 #include "controllers/ControlLabel.h"
62 #include "controllers/ControlLog.h"
63 #include "controllers/ControlMinipage.h"
64 #include "controllers/ControlPreamble.h"
65 #include "controllers/ControlPrint.h"
66 #include "controllers/ControlRef.h"
67 #include "controllers/ControlSearch.h"
68 #include "controllers/ControlSpellchecker.h"
69 #include "controllers/ControlTabularCreate.h"
70 #include "controllers/ControlThesaurus.h"
71 #include "controllers/ControlToc.h"
72 #include "controllers/ControlUrl.h"
73 #include "controllers/ControlVCLog.h"
78 // this makes no real sense for Qt2
79 SigC::Signal0<void> Dialogs::redrawGUI;
82 Dialogs::Dialogs(LyXView * lv)
84 splash_.reset(new QSplash(lv, this));
86 // dialogs that have been converted to new scheme
87 add(new GUICitation<QCitation, Qt2BC>(*lv, *this));
88 add(new GUIAboutlyx<QAbout, Qt2BC>(*lv, *this));
89 add(new GUIIndex<QIndex, Qt2BC>(*lv, *this));
91 // reduce the number of connections needed in
92 // dialogs by a simple connection here.
93 hideAll.connect(hideBufferDependent.slot());