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 "QRefDialog.h"
27 #include "QThesaurusDialog.h"
28 #include "QURLDialog.h"
33 #include "QCharacter.h"
34 #include "QCitation.h"
37 #include "QExternal.h"
38 #include "QGraphics.h"
41 #include "QParagraph.h"
46 #include "QTabularCreate.h"
47 #include "QThesaurus.h"
50 #include "QtLyXView.h"
52 #include "BufferView.h"
57 #include "controllers/ControlAboutlyx.h"
58 #include "controllers/ControlBibitem.h"
59 #include "controllers/ControlBibtex.h"
60 #include "controllers/ControlCharacter.h"
61 #include "controllers/ControlCitation.h"
62 #include "controllers/ControlError.h"
63 #include "controllers/ControlERT.h"
64 #include "controllers/ControlExternal.h"
65 #include "controllers/ControlGraphics.h"
66 #include "controllers/ControlInclude.h"
67 #include "controllers/ControlIndex.h"
68 #include "controllers/ControlRef.h"
69 #include "controllers/ControlSplash.h"
70 #include "controllers/ControlThesaurus.h"
71 #include "controllers/ControlUrl.h"
73 #include "controllers/ControlButtons.h"
74 #include "controllers/ControlCitation.h"
75 #include "controllers/ControlFloat.h"
76 #include "controllers/ControlLabel.h"
77 #include "controllers/ControlLog.h"
78 #include "controllers/ControlMinipage.h"
79 #include "controllers/ControlPreamble.h"
80 #include "controllers/ControlPrint.h"
81 #include "controllers/ControlRef.h"
82 #include "controllers/ControlSearch.h"
83 #include "controllers/ControlSpellchecker.h"
84 #include "controllers/ControlTabularCreate.h"
85 #include "controllers/ControlToc.h"
86 #include "controllers/ControlVCLog.h"
91 // this makes no real sense for Qt2
92 SigC::Signal0<void> Dialogs::redrawGUI;
95 Dialogs::Dialogs(LyXView * lv)
97 splash_.reset(new QSplash(lv, this));
99 // dialogs that have been converted to new scheme
100 add(new GUICitation<QCitation, Qt2BC>(*lv, *this));
101 add(new GUIAboutlyx<QAbout, Qt2BC>(*lv, *this));
102 add(new GUIBibitem<QBibitem, Qt2BC>(*lv, *this));
103 add(new GUIBibtex<QBibtex, Qt2BC>(*lv, *this));
104 add(new GUICharacter<QCharacter, Qt2BC>(*lv, *this));
105 add(new GUIError<QError, Qt2BC>(*lv, *this));
106 add(new GUIERT<QERT, Qt2BC>(*lv, *this));
107 add(new GUIExternal<QExternal, Qt2BC>(*lv, *this));
108 add(new GUIGraphics<QGraphics, Qt2BC>(*lv, *this));
109 add(new GUIInclude<QInclude, Qt2BC>(*lv, *this));
110 add(new GUIIndex<QIndex, Qt2BC>(*lv, *this));
111 add(new GUIRef<QRef, Qt2BC>(*lv, *this));
112 add(new GUIThesaurus<QThesaurus, Qt2BC>(*lv, *this));
113 add(new GUIUrl<QURL, Qt2BC>(*lv, *this));
115 // reduce the number of connections needed in
116 // dialogs by a simple connection here.
117 hideAll.connect(hideBufferDependent.slot());