2001-08-19 13:25:15 +00:00
|
|
|
/**
|
2002-03-11 22:47:41 +00:00
|
|
|
* \file qt2/Dialogs.C
|
2002-08-15 19:07:17 +00:00
|
|
|
* Copyright 1995 Matthias Ettrich
|
|
|
|
* Copyright 1995-2001 The LyX Team.
|
|
|
|
* See the file COPYING.
|
2001-01-26 10:16:05 +00:00
|
|
|
*
|
2002-08-15 19:07:17 +00:00
|
|
|
* \author Allan Rae, rae@lyx.org
|
|
|
|
* \author Angus Leeming <leeming@lyx.org>
|
2001-01-26 10:16:05 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <config.h>
|
|
|
|
|
2002-08-15 19:07:17 +00:00
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma implementation
|
|
|
|
#endif
|
2001-08-29 02:08:04 +00:00
|
|
|
|
2002-08-15 19:07:17 +00:00
|
|
|
#include "Dialogs_impl.h"
|
|
|
|
|
|
|
|
|
|
|
|
Dialogs::Dialogs(LyXView & lv)
|
|
|
|
: pimpl_(new Impl(lv, *this))
|
2001-01-26 10:16:05 +00:00
|
|
|
{
|
2001-06-05 17:05:51 +00:00
|
|
|
// reduce the number of connections needed in
|
|
|
|
// dialogs by a simple connection here.
|
2002-06-19 03:38:44 +00:00
|
|
|
hideAll.connect(hideBufferDependent);
|
2001-03-15 16:34:44 +00:00
|
|
|
}
|
2002-04-16 22:37:46 +00:00
|
|
|
|
2002-04-23 08:16:27 +00:00
|
|
|
|
2002-08-15 19:07:17 +00:00
|
|
|
Dialogs::~Dialogs()
|
|
|
|
{}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::toggleTooltips()
|
|
|
|
{}
|
|
|
|
|
|
|
|
|
|
|
|
/// Are the tooltips on or off?
|
|
|
|
bool Dialogs::tooltipsEnabled()
|
2002-04-16 22:37:46 +00:00
|
|
|
{
|
2002-04-23 08:16:27 +00:00
|
|
|
return false;
|
|
|
|
}
|
2002-08-15 19:07:17 +00:00
|
|
|
|
|
|
|
|
|
|
|
Dialogs::Impl::Impl(LyXView & lv, Dialogs & d)
|
|
|
|
: aboutlyx(lv, d),
|
|
|
|
bibitem(lv, d),
|
|
|
|
bibtex(lv, d),
|
|
|
|
character(lv, d),
|
|
|
|
citation(lv, d),
|
|
|
|
error(lv, d),
|
|
|
|
ert(lv, d),
|
|
|
|
external(lv, d),
|
|
|
|
file(lv, d),
|
|
|
|
floats(lv, d),
|
|
|
|
graphics(lv, d),
|
|
|
|
include(lv, d),
|
|
|
|
index(lv, d),
|
|
|
|
logfile(lv, d),
|
|
|
|
minipage(lv, d),
|
|
|
|
paragraph(lv, d),
|
|
|
|
preamble(lv, d),
|
|
|
|
print(lv, d),
|
|
|
|
ref(lv, d),
|
|
|
|
search(lv, d),
|
|
|
|
spellchecker(lv, d),
|
|
|
|
tabularcreate(lv, d),
|
|
|
|
texinfo(lv, d),
|
|
|
|
|
|
|
|
#ifdef HAVE_LIBAIKSAURUS
|
|
|
|
thesaurus(lv, d),
|
|
|
|
#endif
|
|
|
|
|
|
|
|
toc(lv, d),
|
|
|
|
url(lv, d),
|
|
|
|
vclogfile(lv, d)
|
|
|
|
{}
|