1 /* This file is part of
2 * ======================================================
4 * LyX, The Document Processor
6 * Copyright 1995 Matthias Ettrich
7 * Copyright 1995-2000 The LyX Team.
9 * ======================================================
15 #pragma implementation
20 #include "FormCitationDialogImpl.h"
21 #include "FormCopyrightDialogImpl.h"
22 #include "FormCreditsDialogImpl.h"
25 #include "../xforms/FormError.h"
26 #include "../xforms/FormGraphics.h"
27 #include "../xforms/FormPreferences.h"
28 #include "../xforms/FormTabular.h"
30 #include "FormCharacter.h"
31 #include "FormCitation.h"
32 #include "FormCopyright.h"
33 #include "FormCredits.h"
34 //#include "FormDocument.h"
35 //#include "FormIndex.h"
36 #include "FormParagraph.h"
37 #include "FormPrint.h"
38 //#include "FormRef.h"
39 #include "FormSearch.h"
40 #include "FormSplash.h"
41 #include "FormTabularCreate.h"
42 //#include "FormToc.h"
43 //#include "FormUrl.h"
45 #include "BufferView.h"
48 #include "controllers/ControlCitation.h"
49 #include "controllers/ControlCopyright.h"
50 #include "controllers/ControlCredits.h"
56 // Signal enabling all visible dialogs to be redrawn if so desired.
57 // E.g., when the GUI colours have been remapped.
58 SigC::Signal0<void> Dialogs::redrawGUI;
61 Dialogs::Dialogs(LyXView * lv)
63 splash_.reset( new FormSplash(lv, this) );
65 // dialogs that have been converted to new scheme
66 add( new GUICitation<FormCitation, qt2BC>( *lv, *this ) );
67 add( new GUICopyright<FormCopyright, qt2BC>( *lv, *this ) );
68 add( new GUICredits<FormCredits, qt2BC>( *lv, *this ) );
70 // ------------------------------------------
72 // dialogs that are still old-style
73 add( new FormCharacter(lv, this));
75 // add(new FormDocument(lv, this));
78 // REMOVED THIS UNTIL CHANGED TO NEW SCHEME -- Kalle, 2001-03-23
79 // add(new FormError(lv, this));
81 // REMOVED THIS UNTIL CHANGED TO NEW SCHEME -- Kalle, 2001-03-28
82 // add(new FormGraphics(lv, this));
83 // add(new FormIndex(lv, this));
84 add(new FormParagraph(lv, this));
85 add(new FormPreferences(lv, this));
86 add(new FormPrint(lv, this));
87 // add(new FormRef(lv, this));
88 add(new FormSearch(lv, this));
89 add(new FormTabular(lv, this));
90 add(new FormTabularCreate(lv, this));
91 // add(new FormToc(lv, this));
92 // add(new FormUrl(lv, this));
94 // reduce the number of connections needed in
95 // dialogs by a simple connection here.
96 hideAll.connect(hideBufferDependent.slot());