2002-08-15 19:07:17 +00:00
|
|
|
/**
|
2002-09-26 08:57:43 +00:00
|
|
|
* \file qt2/Dialogs2.C
|
2002-08-15 19:07:17 +00:00
|
|
|
* Copyright 1995 Matthias Ettrich
|
2002-09-24 13:57:09 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2002-08-15 19:07:17 +00:00
|
|
|
*
|
2002-09-24 13:57:09 +00:00
|
|
|
* \author Allan Rae
|
2002-10-20 01:48:28 +00:00
|
|
|
* \author Angus Leeming
|
2002-09-24 13:57:09 +00:00
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS
|
2002-08-15 19:07:17 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <config.h>
|
|
|
|
|
|
|
|
#include "Dialogs_impl.h"
|
|
|
|
|
2002-10-20 01:48:28 +00:00
|
|
|
|
2002-08-15 19:07:17 +00:00
|
|
|
void Dialogs::showAboutlyx()
|
|
|
|
{
|
|
|
|
pimpl_->aboutlyx.controller().show();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2003-02-09 00:11:51 +00:00
|
|
|
void Dialogs::showMergeChanges()
|
|
|
|
{
|
|
|
|
pimpl_->changes.controller().show();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2002-08-15 19:07:17 +00:00
|
|
|
void Dialogs::showCharacter()
|
|
|
|
{
|
|
|
|
pimpl_->character.controller().show();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::setUserFreeFont()
|
|
|
|
{
|
|
|
|
pimpl_->character.controller().apply();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showDocument()
|
2002-10-09 08:59:02 +00:00
|
|
|
{
|
|
|
|
pimpl_->document.controller().show();
|
|
|
|
}
|
2002-08-15 19:07:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showFile(string const & f)
|
|
|
|
{
|
|
|
|
pimpl_->file.controller().showFile(f);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showForks()
|
|
|
|
{}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showLogFile()
|
|
|
|
{
|
|
|
|
pimpl_->logfile.controller().show();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2002-08-15 19:32:45 +00:00
|
|
|
void Dialogs::showMathPanel()
|
2002-08-30 16:20:27 +00:00
|
|
|
{
|
|
|
|
// FIXME FIXME FIXME
|
|
|
|
extern void createMathPanel();
|
|
|
|
|
|
|
|
createMathPanel();
|
|
|
|
}
|
2002-08-15 19:32:45 +00:00
|
|
|
|
|
|
|
|
2002-08-15 19:07:17 +00:00
|
|
|
void Dialogs::showParagraph()
|
|
|
|
{
|
|
|
|
pimpl_->paragraph.controller().show();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::updateParagraph()
|
|
|
|
{
|
|
|
|
pimpl_->paragraph.controller().changedParagraph();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showPreamble()
|
|
|
|
{
|
2002-11-13 02:22:48 +00:00
|
|
|
// FIXME
|
2002-08-15 19:07:17 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showPreferences()
|
2002-11-13 02:22:48 +00:00
|
|
|
{
|
|
|
|
pimpl_->prefs.controller().show();
|
|
|
|
}
|
2002-08-15 19:07:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showPrint()
|
|
|
|
{
|
|
|
|
pimpl_->print.controller().show();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showSearch()
|
|
|
|
{
|
|
|
|
pimpl_->search.controller().show();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showSendto()
|
2002-10-16 21:26:35 +00:00
|
|
|
{
|
|
|
|
pimpl_->sendto.controller().show();
|
|
|
|
}
|
2002-08-15 19:07:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showSpellchecker()
|
|
|
|
{
|
|
|
|
pimpl_->spellchecker.controller().show();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2002-11-15 03:56:52 +00:00
|
|
|
void Dialogs::showTabular(InsetTabular * it)
|
|
|
|
{
|
|
|
|
pimpl_->tabular.controller().showInset(it);
|
|
|
|
}
|
2002-08-15 19:07:17 +00:00
|
|
|
|
|
|
|
|
2002-11-15 03:56:52 +00:00
|
|
|
void Dialogs::updateTabular(InsetTabular * it)
|
|
|
|
{
|
2002-12-01 22:59:25 +00:00
|
|
|
pimpl_->tabular.controller().updateInset(it);
|
2002-11-15 03:56:52 +00:00
|
|
|
}
|
2002-08-15 19:07:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showTabularCreate()
|
|
|
|
{
|
|
|
|
pimpl_->tabularcreate.controller().show();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showTexinfo()
|
|
|
|
{
|
|
|
|
pimpl_->texinfo.controller().show();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef HAVE_LIBAIKSAURUS
|
|
|
|
|
|
|
|
void Dialogs::showThesaurus(string const & s)
|
|
|
|
{
|
|
|
|
pimpl_->thesaurus.controller().showEntry(s);
|
|
|
|
}
|
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
void Dialogs::showThesaurus(string const &)
|
|
|
|
{}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::showVCLogFile()
|
|
|
|
{
|
|
|
|
pimpl_->vclogfile.controller().show();
|
|
|
|
}
|