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 "QIndexDialog.h"
21 #include "QRefDialog.h"
22 #include "QURLDialog.h"
27 #include "QCharacter.h"
28 #include "QCitation.h"
30 #include "QParagraph.h"
35 #include "QTabularCreate.h"
38 #include "QtLyXView.h"
40 #include "BufferView.h"
45 #include "controllers/ControlAboutlyx.h"
46 #include "controllers/ControlBibitem.h"
47 #include "controllers/ControlBibtex.h"
48 #include "controllers/ControlCharacter.h"
49 #include "controllers/ControlCitation.h"
50 #include "controllers/ControlIndex.h"
51 #include "controllers/ControlRef.h"
52 #include "controllers/ControlSplash.h"
53 #include "controllers/ControlUrl.h"
55 #include "controllers/ControlButtons.h"
56 #include "controllers/ControlCitation.h"
57 #include "controllers/ControlERT.h"
58 #include "controllers/ControlError.h"
59 #include "controllers/ControlExternal.h"
60 #include "controllers/ControlFloat.h"
61 #include "controllers/ControlGraphics.h"
62 #include "controllers/ControlInclude.h"
63 #include "controllers/ControlLabel.h"
64 #include "controllers/ControlLog.h"
65 #include "controllers/ControlMinipage.h"
66 #include "controllers/ControlPreamble.h"
67 #include "controllers/ControlPrint.h"
68 #include "controllers/ControlRef.h"
69 #include "controllers/ControlSearch.h"
70 #include "controllers/ControlSpellchecker.h"
71 #include "controllers/ControlTabularCreate.h"
72 #include "controllers/ControlThesaurus.h"
73 #include "controllers/ControlToc.h"
74 #include "controllers/ControlVCLog.h"
79 // this makes no real sense for Qt2
80 SigC::Signal0<void> Dialogs::redrawGUI;
83 Dialogs::Dialogs(LyXView * lv)
85 splash_.reset(new QSplash(lv, this));
87 // dialogs that have been converted to new scheme
88 add(new GUICitation<QCitation, Qt2BC>(*lv, *this));
89 add(new GUIAboutlyx<QAbout, Qt2BC>(*lv, *this));
90 add(new GUIBibitem<QBibitem, Qt2BC>(*lv, *this));
91 add(new GUIBibtex<QBibtex, Qt2BC>(*lv, *this));
92 add(new GUICharacter<QCharacter, Qt2BC>(*lv, *this));
93 add(new GUIIndex<QIndex, Qt2BC>(*lv, *this));
94 add(new GUIRef<QRef, Qt2BC>(*lv, *this));
95 add(new GUIUrl<QURL, Qt2BC>(*lv, *this));
97 // reduce the number of connections needed in
98 // dialogs by a simple connection here.
99 hideAll.connect(hideBufferDependent.slot());