]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/Dialogs.C
Another quick fix to get qt2 frontend to compile
[lyx.git] / src / frontends / qt2 / Dialogs.C
1 /* This file is part of
2  * ======================================================
3  *
4  *           LyX, The Document Processor
5  *
6  *           Copyright 1995 Matthias Ettrich
7  *           Copyright 1995-2000 The LyX Team.
8  *
9  * ======================================================
10  */
11
12 #include <config.h>
13
14 #ifdef __GNUG__
15 #pragma implementation
16 #endif
17
18 #include "Dialogs.h"
19
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"
38
39
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;
43
44
45 Dialogs::Dialogs(LyXView * lv)
46 {
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));
51
52     // REMOVED THIS UNTIL CHANGED TO NEW SCHEME -- Kalle, 2001-03-22
53     //    add( new FormCredits(lv, this));
54
55     //  add(new FormDocument(lv, this));
56
57
58     // REMOVED THIS UNTIL CHANGED TO NEW SCHEME -- Kalle, 2001-03-23
59     // add(new FormError(lv, this));
60
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));
72     
73     // reduce the number of connections needed in
74     // dialogs by a simple connection here.
75     hideAll.connect(hideBufferDependent.slot());
76 }
77
78