]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/Dialogs.C
Compiles and links again
[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     add( new FormCredits(lv, this));
52     //  add(new FormDocument(lv, this));
53     add(new FormError(lv, this));
54     add(new FormGraphics(lv, this));
55     //  add(new FormIndex(lv, this));
56     add(new FormParagraph(lv, this));
57     add(new FormPreferences(lv, this));
58     add(new FormPrint(lv, this));
59     //  add(new FormRef(lv, this));
60     add(new FormSearch(lv, this));
61     add(new FormTabular(lv, this));
62     add(new FormTabularCreate(lv, this));
63     //  add(new FormToc(lv, this));
64     //  add(new FormUrl(lv, this));
65     
66     // reduce the number of connections needed in
67     // dialogs by a simple connection here.
68     hideAll.connect(hideBufferDependent.slot());
69 }
70
71