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 "FormCharacter.h"
21 #include "FormCitation.h"
22 #include "FormCredits.h"
23 //#include "FormCopyright.h"
24 //#include "FormDocument.h"
25 #include "FormError.h"
26 #include "FormGraphics.h"
27 //#include "FormIndex.h"
28 #include "FormParagraph.h"
29 #include "FormPreferences.h"
30 #include "FormPrint.h"
31 //#include "FormRef.h"
32 #include "FormSearch.h"
33 #include "FormSplash.h"
34 #include "FormTabular.h"
35 #include "FormTabularCreate.h"
36 //#include "FormToc.h"
37 //#include "FormUrl.h"
40 // Signal enabling all visible popups to be redrawn if so desired.
41 // E.g., when the GUI colours have been remapped.
42 SigC::Signal0<void> Dialogs::redrawGUI;
45 Dialogs::Dialogs(LyXView * lv)
47 splash_.reset( new FormSplash(lv, this) );
48 add( new FormCharacter(lv, this));
49 add( new FormCitation(lv, this));
50 // add(new FormCopyright(lv, this));
52 // REMOVED THIS UNTIL CHANGED TO NEW SCHEME -- Kalle, 2001-03-22
53 // add( new FormCredits(lv, this));
55 // add(new FormDocument(lv, this));
58 // REMOVED THIS UNTIL CHANGED TO NEW SCHEME -- Kalle, 2001-03-23
59 // add(new FormError(lv, this));
61 add(new FormGraphics(lv, this));
62 // add(new FormIndex(lv, this));
63 add(new FormParagraph(lv, this));
64 add(new FormPreferences(lv, this));
65 add(new FormPrint(lv, this));
66 // add(new FormRef(lv, this));
67 add(new FormSearch(lv, this));
68 add(new FormTabular(lv, this));
69 add(new FormTabularCreate(lv, this));
70 // add(new FormToc(lv, this));
71 // add(new FormUrl(lv, this));
73 // reduce the number of connections needed in
74 // dialogs by a simple connection here.
75 hideAll.connect(hideBufferDependent.slot());