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