2002-03-11 17:00:41 +00:00
|
|
|
/**
|
2002-03-11 22:47:41 +00:00
|
|
|
* \file xforms/Dialogs.C
|
2002-03-11 17:00:41 +00:00
|
|
|
* Copyright 1995 Matthias Ettrich
|
2002-09-05 15:14:23 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2000-11-13 10:35:02 +00:00
|
|
|
*
|
2002-09-05 14:10:50 +00:00
|
|
|
* \author Allan Rae
|
2002-12-01 22:59:25 +00:00
|
|
|
* \author Angus Leeming
|
2002-09-05 14:10:50 +00:00
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS
|
2000-11-13 10:35:02 +00:00
|
|
|
*/
|
|
|
|
|
2000-06-12 11:55:12 +00:00
|
|
|
#include <config.h>
|
2001-03-15 13:37:04 +00:00
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma implementation
|
|
|
|
#endif
|
2000-06-12 11:55:12 +00:00
|
|
|
|
2002-08-15 17:48:53 +00:00
|
|
|
#include "Dialogs_impl.h"
|
|
|
|
|
|
|
|
Dialogs::Dialogs(LyXView & lv)
|
|
|
|
: pimpl_(new Impl(lv, *this))
|
|
|
|
{
|
2000-06-12 11:55:12 +00:00
|
|
|
// reduce the number of connections needed in
|
|
|
|
// dialogs by a simple connection here.
|
2002-05-29 16:21:03 +00:00
|
|
|
hideAll.connect(hideBufferDependent);
|
2000-06-12 11:55:12 +00:00
|
|
|
}
|
2002-08-15 17:48:53 +00:00
|
|
|
|
|
|
|
|
|
|
|
Dialogs::~Dialogs()
|
|
|
|
{}
|
|
|
|
|
|
|
|
|
|
|
|
void Dialogs::toggleTooltips()
|
|
|
|
{
|
|
|
|
Tooltips::toggleEnabled();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// Are the tooltips on or off?
|
|
|
|
bool Dialogs::tooltipsEnabled()
|
|
|
|
{
|
|
|
|
return Tooltips::enabled();
|
|
|
|
}
|
2002-08-16 20:07:39 +00:00
|
|
|
|
|
|
|
|
|
|
|
Dialogs::Impl::Impl(LyXView & lv, Dialogs & d)
|
|
|
|
: aboutlyx(lv, d),
|
|
|
|
bibitem(lv, d),
|
|
|
|
bibtex(lv, d),
|
|
|
|
character(lv, d),
|
|
|
|
citation(lv, d),
|
|
|
|
document(lv, d),
|
|
|
|
error(lv, d),
|
|
|
|
ert(lv, d),
|
|
|
|
external(lv, d),
|
|
|
|
file(lv, d),
|
|
|
|
floats(lv, d),
|
|
|
|
forks(lv, d),
|
|
|
|
graphics(lv, d),
|
|
|
|
include(lv, d),
|
|
|
|
index(lv, d),
|
|
|
|
logfile(lv, d),
|
|
|
|
mathpanel(lv, d),
|
|
|
|
minipage(lv, d),
|
|
|
|
paragraph(lv, d),
|
|
|
|
preamble(lv, d),
|
|
|
|
preferences(lv, d),
|
|
|
|
print(lv, d),
|
|
|
|
ref(lv, d),
|
|
|
|
search(lv, d),
|
|
|
|
sendto(lv, d),
|
|
|
|
spellchecker(lv, d),
|
|
|
|
tabular(lv, d),
|
|
|
|
tabularcreate(lv, d),
|
|
|
|
texinfo(lv, d),
|
|
|
|
|
|
|
|
#ifdef HAVE_LIBAIKSAURUS
|
|
|
|
thesaurus(lv, d),
|
|
|
|
#endif
|
|
|
|
|
|
|
|
toc(lv, d),
|
|
|
|
url(lv, d),
|
2002-09-10 10:18:58 +00:00
|
|
|
vclogfile(lv, d),
|
|
|
|
wrap(lv, d)
|
2002-08-16 20:07:39 +00:00
|
|
|
{}
|