3 * Copyright 2001 the LyX Team
4 * Read the file COPYING
11 #include FORMS_H_LOCATION
14 #include "FormBibitem.h"
15 #include "FormBibtex.h"
16 #include "FormCitation.h"
17 #include "FormCopyright.h"
18 #include "FormDocument.h"
19 #include "FormError.h"
20 #include "FormGraphics.h"
21 #include "FormInclude.h"
22 #include "FormIndex.h"
24 #include "FormParagraph.h"
25 #include "FormPreferences.h"
26 #include "FormPrint.h"
28 #include "FormSplash.h"
29 #include "FormTabular.h"
30 #include "FormTabularCreate.h"
33 #include "FormVCLog.h"
36 #pragma implementation
39 // temporary till ported
40 extern void ShowCredits();
42 /* We don't implement this, but it's needed whilst we
43 * still rely on xforms
45 Signal0<void> Dialogs::redrawGUI;
47 Dialogs::Dialogs(LyXView * lv)
49 dialogs_.push_back(new FormBibitem(lv, this));
50 dialogs_.push_back(new FormBibtex(lv, this));
51 dialogs_.push_back(new FormCitation(lv, this));
52 dialogs_.push_back(new FormCopyright(lv, this));
53 dialogs_.push_back(new FormDocument(lv, this));
54 dialogs_.push_back(new FormError(lv, this));
55 dialogs_.push_back(new FormGraphics(lv, this));
56 dialogs_.push_back(new FormInclude(lv, this));
57 dialogs_.push_back(new FormIndex(lv, this));
58 dialogs_.push_back(new FormLog(lv, this));
59 dialogs_.push_back(new FormParagraph(lv, this));
60 dialogs_.push_back(new FormPreferences(lv, this));
61 dialogs_.push_back(new FormPrint(lv, this));
62 dialogs_.push_back(new FormRef(lv, this));
63 dialogs_.push_back(new FormSplash(lv, this));
64 dialogs_.push_back(new FormTabular(lv, this));
65 dialogs_.push_back(new FormTabularCreate(lv, this));
66 dialogs_.push_back(new FormToc(lv, this));
67 dialogs_.push_back(new FormUrl(lv, this));
68 dialogs_.push_back(new FormVCLog(lv, this));
70 showCredits.connect(slot(ShowCredits));
72 // reduce the number of connections needed in
73 // dialogs by a simple connection here.
74 hideAll.connect(hideBufferDependent.slot());
80 for (vector<DialogBase *>::iterator iter = dialogs_.begin();
81 iter != dialogs_.end();