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
|
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.
|
2001-01-26 10:16:05 +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
|
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),
|
2002-10-09 08:59:02 +00:00
|
|
|
document(lv, d),
|
2002-08-15 19:07:17 +00:00
|
|
|
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),
|
2002-11-13 02:22:48 +00:00
|
|
|
prefs(lv, d),
|
2002-08-15 19:07:17 +00:00
|
|
|
print(lv, d),
|
|
|
|
ref(lv, d),
|
|
|
|
search(lv, d),
|
2002-10-16 21:26:35 +00:00
|
|
|
sendto(lv, d),
|
2002-08-15 19:07:17 +00:00
|
|
|
spellchecker(lv, d),
|
|
|
|
tabularcreate(lv, d),
|
2002-11-15 03:56:52 +00:00
|
|
|
tabular(lv, d),
|
2002-08-15 19:07:17 +00:00
|
|
|
texinfo(lv, d),
|
|
|
|
|
|
|
|
#ifdef HAVE_LIBAIKSAURUS
|
|
|
|
thesaurus(lv, d),
|
|
|
|
#endif
|
|
|
|
|
|
|
|
toc(lv, d),
|
|
|
|
url(lv, d),
|
2002-10-07 16:41:10 +00:00
|
|
|
vclogfile(lv, d),
|
|
|
|
wrap(lv, d)
|
2002-08-15 19:07:17 +00:00
|
|
|
{}
|