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 "FormCopyrightDialogImpl.h"
23 #include "../xforms/FormCredits.h"
24 #include "../xforms/FormError.h"
25 #include "../xforms/FormGraphics.h"
26 #include "../xforms/FormPreferences.h"
27 #include "../xforms/FormTabular.h"
29 #include "FormCharacter.h"
30 #include "FormCitation.h"
31 #include "FormCopyright.h"
32 //#include "FormDocument.h"
33 //#include "FormIndex.h"
34 #include "FormParagraph.h"
35 #include "FormPrint.h"
36 //#include "FormRef.h"
37 #include "FormSearch.h"
38 #include "FormSplash.h"
39 #include "FormTabularCreate.h"
40 //#include "FormToc.h"
41 //#include "FormUrl.h"
43 #include "BufferView.h"
45 #include "controllers/ControlCopyright.h"
50 // Signal enabling all visible popups to be redrawn if so desired.
51 // E.g., when the GUI colours have been remapped.
52 SigC::Signal0<void> Dialogs::redrawGUI;
55 Dialogs::Dialogs(LyXView * lv)
57 splash_.reset( new FormSplash(lv, this) );
59 // dialogs that have been converted to new scheme
60 add( new GUICopyright<FormCopyright, qt2BC>( *lv, *this ) );
63 // ------------------------------------------
65 // dialogs that are still old-style
66 add( new FormCharacter(lv, this));
67 add( new FormCitation(lv, this));
68 // add(new FormCopyright(lv, this));
70 // REMOVED THIS UNTIL CHANGED TO NEW SCHEME -- Kalle, 2001-03-22
71 // add( new FormCredits(lv, this));
73 // add(new FormDocument(lv, this));
76 // REMOVED THIS UNTIL CHANGED TO NEW SCHEME -- Kalle, 2001-03-23
77 // add(new FormError(lv, this));
79 // REMOVED THIS UNTIL CHANGED TO NEW SCHEME -- Kalle, 2001-03-28
80 // add(new FormGraphics(lv, this));
81 // add(new FormIndex(lv, this));
82 add(new FormParagraph(lv, this));
83 add(new FormPreferences(lv, this));
84 add(new FormPrint(lv, this));
85 // add(new FormRef(lv, this));
86 add(new FormSearch(lv, this));
87 add(new FormTabular(lv, this));
88 add(new FormTabularCreate(lv, this));
89 // add(new FormToc(lv, this));
90 // add(new FormUrl(lv, this));
92 // reduce the number of connections needed in
93 // dialogs by a simple connection here.
94 hideAll.connect(hideBufferDependent.slot());