/** * \file Dialogs.C * Copyright 2001 the LyX Team * Read the file COPYING * */ #include #ifdef __GNUG__ #pragma implementation #endif // the dialog definitions #include "QAboutDialog.h" #include "QBibitemDialog.h" #include "QBibtexDialog.h" #include "QCharacterDialog.h" #include "QCitationDialog.h" #include "QErrorDialog.h" #include "QERTDialog.h" #include "QExternalDialog.h" #include "QIndexDialog.h" #include "QRefDialog.h" #include "QThesaurusDialog.h" #include "QURLDialog.h" #include "QAbout.h" #include "QBibitem.h" #include "QBibtex.h" #include "QCharacter.h" #include "QCitation.h" #include "QError.h" #include "QERT.h" #include "QExternal.h" #include "QIndex.h" #include "QParagraph.h" #include "QPrint.h" #include "QRef.h" #include "QSearch.h" #include "QSplash.h" #include "QTabularCreate.h" #include "QThesaurus.h" #include "QURL.h" #include "QtLyXView.h" #include "Dialogs.h" #include "BufferView.h" #include "buffer.h" #include "Qt2BC.h" // the controllers #include "controllers/ControlAboutlyx.h" #include "controllers/ControlBibitem.h" #include "controllers/ControlBibtex.h" #include "controllers/ControlCharacter.h" #include "controllers/ControlCitation.h" #include "controllers/ControlError.h" #include "controllers/ControlERT.h" #include "controllers/ControlExternal.h" #include "controllers/ControlIndex.h" #include "controllers/ControlRef.h" #include "controllers/ControlSplash.h" #include "controllers/ControlThesaurus.h" #include "controllers/ControlUrl.h" #if 0 #include "controllers/ControlButtons.h" #include "controllers/ControlCitation.h" #include "controllers/ControlFloat.h" #include "controllers/ControlGraphics.h" #include "controllers/ControlInclude.h" #include "controllers/ControlLabel.h" #include "controllers/ControlLog.h" #include "controllers/ControlMinipage.h" #include "controllers/ControlPreamble.h" #include "controllers/ControlPrint.h" #include "controllers/ControlRef.h" #include "controllers/ControlSearch.h" #include "controllers/ControlSpellchecker.h" #include "controllers/ControlTabularCreate.h" #include "controllers/ControlToc.h" #include "controllers/ControlVCLog.h" #endif #include "GUI.h" // this makes no real sense for Qt2 SigC::Signal0 Dialogs::redrawGUI; Dialogs::Dialogs(LyXView * lv) { splash_.reset(new QSplash(lv, this)); // dialogs that have been converted to new scheme add(new GUICitation(*lv, *this)); add(new GUIAboutlyx(*lv, *this)); add(new GUIBibitem(*lv, *this)); add(new GUIBibtex(*lv, *this)); add(new GUICharacter(*lv, *this)); add(new GUIError(*lv, *this)); add(new GUIERT(*lv, *this)); add(new GUIExternal(*lv, *this)); add(new GUIIndex(*lv, *this)); add(new GUIRef(*lv, *this)); add(new GUIThesaurus(*lv, *this)); add(new GUIUrl(*lv, *this)); // reduce the number of connections needed in // dialogs by a simple connection here. hideAll.connect(hideBufferDependent.slot()); }