]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/Dialogs.C
some small updates
[lyx.git] / src / frontends / qt2 / Dialogs.C
1 /**
2  * \file Dialogs.C
3  * Copyright 2001 the LyX Team
4  * Read the file COPYING
5  *
6  */
7
8 #include <config.h>
9
10 #ifdef __GNUG__
11 #pragma implementation
12 #endif
13
14 // the dialog definitions
15 #include "QCitationDialog.h"
16 #include "QAboutDialog.h"
17  
18 // the controller interface
19 #include "QAbout.h"
20 #include "QCharacter.h"
21 #include "QCitation.h"
22 #include "QIndex.h"
23 #include "QParagraph.h"
24 #include "QPrint.h"
25 #include "QSearch.h"
26 #include "QSplash.h"
27 #include "QTabularCreate.h"
28
29 #include "QtLyXView.h" 
30 #include "Dialogs.h"
31 #include "BufferView.h"
32 #include "buffer.h"
33 #include "Qt2BC.h"
34
35 // xforms implementations
36 #include "../xforms/FormError.h"
37 #include "../xforms/FormGraphics.h"
38 #include "../xforms/FormPreferences.h"
39 #include "../xforms/FormTabular.h"
40
41 // the controllers
42 #include "controllers/ControlAboutlyx.h"
43 #include "controllers/ControlCitation.h"
44 #include "controllers/ControlIndex.h"
45 #include "controllers/ControlSplash.h"
46 #if 0
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"
74 #endif
75
76 #include "GUI.h"
77  
78 // this makes no real sense for Qt2
79 SigC::Signal0<void> Dialogs::redrawGUI;
80
81
82 Dialogs::Dialogs(LyXView * lv)
83 {
84         splash_.reset(new QSplash(lv, this));
85
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));
90
91         // reduce the number of connections needed in
92         // dialogs by a simple connection here.
93         hideAll.connect(hideBufferDependent.slot());
94 }