/**
- * \file xforms/Dialogs.C
+ * \file qt2/Dialogs2.C
* Copyright 1995 Matthias Ettrich
- * Copyright 1995-2001 The LyX Team.
- * See the file COPYING.
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
- * \author Allan Rae, rae@lyx.org
- * \author Angus Leeming <leeming@lyx.org>
+ * \author Allan Rae
+ * \author Angus Leeming
+ *
+ * Full author contact details are available in file CREDITS
*/
#include <config.h>
#include "Dialogs_impl.h"
+
void Dialogs::showAboutlyx()
{
pimpl_->aboutlyx.controller().show();
void Dialogs::showDocument()
-{}
+{
+ pimpl_->document.controller().show();
+}
void Dialogs::showError(InsetError * ie)
void Dialogs::showMathPanel()
-{}
+{
+ // FIXME FIXME FIXME
+ extern void createMathPanel();
+
+ createMathPanel();
+}
void Dialogs::showMinipage(InsetMinipage * im)
void Dialogs::showPreamble()
{
- pimpl_->preamble.controller().show();
+ // FIXME
}
void Dialogs::showPreferences()
-{}
+{
+ pimpl_->prefs.controller().show();
+}
void Dialogs::showPrint()
void Dialogs::showSendto()
-{}
+{
+ pimpl_->sendto.controller().show();
+}
void Dialogs::showSpellchecker()
void Dialogs::showTabular(InsetTabular * it)
-{}
+{
+ pimpl_->tabular.controller().showInset(it);
+}
void Dialogs::updateTabular(InsetTabular * it)
-{}
+{
+ pimpl_->tabular.controller().updateInset(it);
+}
void Dialogs::showTabularCreate()
{
pimpl_->vclogfile.controller().show();
}
+
+
+void Dialogs::showWrap(InsetWrap * iw)
+{
+ pimpl_->wrap.controller().showInset(iw);
+}