2001-01-26 10:16:05 +00:00
|
|
|
/* This file is part of
|
|
|
|
* ======================================================
|
|
|
|
*
|
|
|
|
* LyX, The Document Processor
|
|
|
|
*
|
|
|
|
* Copyright 1995 Matthias Ettrich
|
|
|
|
* Copyright 1995-2000 The LyX Team.
|
|
|
|
*
|
|
|
|
* ======================================================
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <config.h>
|
|
|
|
|
2001-03-16 17:20:06 +00:00
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma implementation
|
|
|
|
#endif
|
|
|
|
|
2001-01-26 10:16:05 +00:00
|
|
|
#include "Dialogs.h"
|
2001-03-16 17:20:06 +00:00
|
|
|
|
2001-03-05 10:16:03 +00:00
|
|
|
#include "FormCharacter.h"
|
2001-01-26 10:16:05 +00:00
|
|
|
#include "FormCitation.h"
|
2001-03-12 11:22:26 +00:00
|
|
|
#include "FormCredits.h"
|
2001-03-16 17:20:06 +00:00
|
|
|
//#include "FormCopyright.h"
|
|
|
|
//#include "FormDocument.h"
|
2001-01-26 10:16:05 +00:00
|
|
|
#include "FormError.h"
|
|
|
|
#include "FormGraphics.h"
|
2001-03-16 17:20:06 +00:00
|
|
|
//#include "FormIndex.h"
|
2001-01-26 10:16:05 +00:00
|
|
|
#include "FormParagraph.h"
|
|
|
|
#include "FormPreferences.h"
|
|
|
|
#include "FormPrint.h"
|
2001-03-16 17:20:06 +00:00
|
|
|
//#include "FormRef.h"
|
2001-03-06 14:23:02 +00:00
|
|
|
#include "FormSearch.h"
|
2001-03-15 16:34:44 +00:00
|
|
|
#include "FormSplash.h"
|
2001-01-26 10:16:05 +00:00
|
|
|
#include "FormTabular.h"
|
|
|
|
#include "FormTabularCreate.h"
|
2001-03-16 17:20:06 +00:00
|
|
|
//#include "FormToc.h"
|
|
|
|
//#include "FormUrl.h"
|
2001-01-26 10:16:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
// Signal enabling all visible popups to be redrawn if so desired.
|
|
|
|
// E.g., when the GUI colours have been remapped.
|
2001-03-16 17:20:06 +00:00
|
|
|
SigC::Signal0<void> Dialogs::redrawGUI;
|
2001-01-26 10:16:05 +00:00
|
|
|
|
|
|
|
|
|
|
|
Dialogs::Dialogs(LyXView * lv)
|
|
|
|
{
|
2001-03-16 17:20:06 +00:00
|
|
|
splash_.reset( new FormSplash(lv, this) );
|
|
|
|
add( new FormCharacter(lv, this));
|
|
|
|
add( new FormCitation(lv, this));
|
|
|
|
// add(new FormCopyright(lv, this));
|
|
|
|
add( new FormCredits(lv, this));
|
|
|
|
// add(new FormDocument(lv, this));
|
|
|
|
add(new FormError(lv, this));
|
|
|
|
add(new FormGraphics(lv, this));
|
|
|
|
// add(new FormIndex(lv, this));
|
|
|
|
add(new FormParagraph(lv, this));
|
|
|
|
add(new FormPreferences(lv, this));
|
|
|
|
add(new FormPrint(lv, this));
|
|
|
|
// add(new FormRef(lv, this));
|
|
|
|
add(new FormSearch(lv, this));
|
|
|
|
add(new FormTabular(lv, this));
|
|
|
|
add(new FormTabularCreate(lv, this));
|
|
|
|
// add(new FormToc(lv, this));
|
|
|
|
// add(new FormUrl(lv, this));
|
|
|
|
|
|
|
|
// reduce the number of connections needed in
|
|
|
|
// dialogs by a simple connection here.
|
|
|
|
hideAll.connect(hideBufferDependent.slot());
|
2001-03-15 16:34:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|