2006-03-05 17:24:44 +00:00
|
|
|
/**
|
2007-04-26 03:53:02 +00:00
|
|
|
* \file qt4/Dialogs.cpp
|
2006-03-05 17:24:44 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
|
|
|
* \author Angus Leeming
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <config.h>
|
|
|
|
|
|
|
|
#include "Dialogs.h"
|
2007-09-03 05:59:32 +00:00
|
|
|
#include "GuiDialog.h"
|
2006-03-05 17:24:44 +00:00
|
|
|
|
|
|
|
#include "ButtonController.h"
|
2007-09-27 11:27:52 +00:00
|
|
|
#include "DialogView.h"
|
2007-03-12 14:23:44 +00:00
|
|
|
#include "DockView.h"
|
2007-08-31 05:53:55 +00:00
|
|
|
#include "GuiAbout.h"
|
|
|
|
#include "GuiBibitem.h"
|
|
|
|
#include "GuiBibtex.h"
|
|
|
|
#include "GuiBox.h"
|
|
|
|
#include "GuiChanges.h"
|
|
|
|
#include "GuiCharacter.h"
|
|
|
|
#include "GuiCitation.h"
|
2007-08-31 22:37:05 +00:00
|
|
|
#include "GuiDelimiter.h"
|
2007-08-31 05:53:55 +00:00
|
|
|
#include "GuiDocument.h"
|
2007-08-31 15:42:35 +00:00
|
|
|
#include "GuiEmbeddedFiles.h"
|
2007-08-31 05:53:55 +00:00
|
|
|
#include "GuiErrorList.h"
|
|
|
|
#include "GuiExternal.h"
|
|
|
|
#include "GuiGraphics.h"
|
|
|
|
#include "GuiInclude.h"
|
|
|
|
#include "GuiIndex.h"
|
2007-08-31 22:37:05 +00:00
|
|
|
#include "GuiMathMatrix.h"
|
2007-08-31 05:53:55 +00:00
|
|
|
#include "GuiNomencl.h"
|
|
|
|
#include "GuiLog.h"
|
|
|
|
#include "GuiParagraph.h"
|
|
|
|
#include "GuiPrefs.h"
|
|
|
|
#include "GuiPrint.h"
|
|
|
|
#include "GuiSearch.h"
|
|
|
|
#include "GuiSendto.h"
|
|
|
|
#include "GuiShowFile.h"
|
|
|
|
#include "GuiSpellchecker.h"
|
|
|
|
#include "GuiTabular.h"
|
|
|
|
#include "GuiTabularCreate.h"
|
|
|
|
#include "GuiToc.h"
|
2007-09-08 16:04:25 +00:00
|
|
|
#include "GuiView.h"
|
|
|
|
#include "GuiViewSource.h"
|
2007-03-12 14:23:44 +00:00
|
|
|
#include "TocWidget.h"
|
2007-08-31 22:37:05 +00:00
|
|
|
#include "GuiURL.h"
|
2006-03-05 17:24:44 +00:00
|
|
|
|
|
|
|
#ifdef HAVE_LIBAIKSAURUS
|
|
|
|
#include "ControlThesaurus.h"
|
2007-08-31 05:53:55 +00:00
|
|
|
#include "GuiThesaurus.h"
|
2006-03-05 17:24:44 +00:00
|
|
|
#endif
|
|
|
|
|
2007-09-27 11:27:52 +00:00
|
|
|
// Uncomment this if you prefer dock widget
|
|
|
|
//#define USE_DOCK_WIDGET
|
|
|
|
|
2006-03-05 17:24:44 +00:00
|
|
|
#include "qt_helpers.h"
|
|
|
|
|
|
|
|
#include <boost/assert.hpp>
|
|
|
|
|
|
|
|
using std::string;
|
|
|
|
|
2007-08-14 09:54:59 +00:00
|
|
|
namespace lyx {
|
|
|
|
namespace frontend {
|
2006-03-05 17:24:44 +00:00
|
|
|
|
|
|
|
namespace {
|
|
|
|
|
2007-10-02 21:01:25 +00:00
|
|
|
// This list should be kept in sync with the list of insets in
|
|
|
|
// src/insets/Inset.cpp. I.e., if a dialog goes with an inset, the
|
|
|
|
// dialog should have the same name as the inset.
|
|
|
|
|
2006-03-05 17:24:44 +00:00
|
|
|
char const * const dialognames[] = {
|
|
|
|
"aboutlyx", "bibitem", "bibtex", "box", "branch", "changes", "character",
|
2007-08-31 15:42:35 +00:00
|
|
|
"citation", "document", "embedding", "errorlist", "ert", "external", "file",
|
2006-11-04 17:55:36 +00:00
|
|
|
"findreplace", "float", "graphics", "include", "index", "nomenclature", "label", "log",
|
2007-04-19 21:42:42 +00:00
|
|
|
"mathdelimiter", "mathmatrix", "note", "paragraph",
|
2006-03-05 17:24:44 +00:00
|
|
|
"prefs", "print", "ref", "sendto", "spellchecker","tabular", "tabularcreate",
|
|
|
|
|
|
|
|
#ifdef HAVE_LIBAIKSAURUS
|
|
|
|
"thesaurus",
|
|
|
|
#endif
|
|
|
|
|
Add support for listings package. Two listings command \lstinline, \lstinputlisting and an environment \lstlisting are supported, along with preamble \lstset. \lstinputlisting is implemented through Include dialog, and the other two are implemented with a new inset listings, along with its dialog.
* src/LyXAction.cpp: listing-insert action
* src/insets/Inset.h,cpp: LISTINGS_CODE
* src/insets/InsetInclude.cpp: handle \lstinputlisting
* src/insets/InsetListings.h,cpp: new listings inset
* src/insets/InsetListingsParams.h,cpp: parameters from listings package
* src/insets/InsetCommandParams.h,cpp: handle lstinputlisting option
* src/Bidi.cpp: handle LISTINGS_CODE
* src/frontends/qt4/ui/TextLayoutUi.ui: update UI
* src/frontends/qt4/ui/ListingsUi.ui: new dialog
* src/frontends/qt4/ui/IncludeUi.ui: update UI
* src/frontends/qt4/QInclude.h,cpp: add lstinputlisting
* src/frontends/qt4/QDocument.h,cpp: add textedit for preamble listings_params
* src/frontends/qt4/QListings.h,cpp: new listings inset
* src/frontends/qt4/Dialogs.cpp: new listings dialog
* src/frontends/controllers/ControlInclude.h,cpp: add lstinputlisting
* src/frontends/controllers/ControlListings.h,cpp: new listings inset
* src/LyXFunc.cpp: handle LISTING_CODE
* src/Paragraph.cpp: handle LISTING_CODE
* src/factory.cpp: new listings inset
* src/CutAndPaste.cpp: handle LISTINGS_CODE
* src/LaTeXFeatures.cpp: require listings
* src/Text3.cpp: Handle LISTINGS_CODE
* src/lfuns.h: add LFUN_LISTING_INSERT
* src/Buffer.cpp: change lyx file format to 269
* src/BufferParams.h,cpp: add listings_params to preamble
* lib/lyx2lyx/LyX.py: lyx2lyx
* lib/lyx2lyx/lyx_1_5.py: lyx2lyx
* lib/ui/stdmenus.inc: new menu item (no shortcut!)
* src/insets/Makefile.am: update autotools
* src/frontends/controllers/Makefile.am
* src/frontends/qt4/Makefile.dialogs
* src/frontends/qt4/Makefile.am
* po/POTFILES.in: a few more translatable files.
* development/scons/scons_manifest.py: scons build system
* development/FORMAT: document format changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18243 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 19:11:42 +00:00
|
|
|
"texinfo", "toc", "url", "view-source", "vspace", "wrap", "listings" };
|
2006-03-05 17:24:44 +00:00
|
|
|
|
|
|
|
char const * const * const end_dialognames =
|
|
|
|
dialognames + (sizeof(dialognames) / sizeof(char *));
|
|
|
|
|
|
|
|
class cmpCStr {
|
|
|
|
public:
|
|
|
|
cmpCStr(char const * name) : name_(name) {}
|
|
|
|
bool operator()(char const * other) {
|
|
|
|
return strcmp(other, name_) == 0;
|
|
|
|
}
|
|
|
|
private:
|
|
|
|
char const * name_;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
} // namespace anon
|
|
|
|
|
2007-10-05 20:43:26 +00:00
|
|
|
// will be replaced by a proper factory...
|
2007-10-05 21:06:08 +00:00
|
|
|
Dialog * createGuiAbout(LyXView & lv);
|
|
|
|
Dialog * createGuiBibitem(LyXView & lv);
|
|
|
|
Dialog * createGuiBibtex(LyXView & lv);
|
|
|
|
Dialog * createGuiBox(LyXView & lv);
|
|
|
|
Dialog * createGuiBranch(LyXView & lv);
|
|
|
|
Dialog * createGuiChanges(LyXView & lv);
|
|
|
|
Dialog * createGuiCharacter(LyXView & lv);
|
|
|
|
Dialog * createGuiCitation(LyXView & lv);
|
|
|
|
Dialog * createGuiDelimiter(LyXView & lv);
|
|
|
|
Dialog * createGuiDocument(LyXView & lv);
|
|
|
|
Dialog * createGuiErrorList(LyXView & lv);
|
|
|
|
Dialog * createGuiERT(LyXView & lv);
|
|
|
|
Dialog * createGuiExternal(LyXView & lv);
|
|
|
|
Dialog * createGuiFloat(LyXView & lv);
|
|
|
|
Dialog * createGuiGraphics(LyXView & lv);
|
|
|
|
Dialog * createGuiInclude(LyXView & lv);
|
|
|
|
Dialog * createGuiIndex(LyXView & lv);
|
|
|
|
Dialog * createGuiLabel(LyXView & lv);
|
|
|
|
Dialog * createGuiListings(LyXView & lv);
|
|
|
|
Dialog * createGuiLog(LyXView & lv);
|
|
|
|
Dialog * createGuiMathMatrix(LyXView & lv);
|
|
|
|
Dialog * createGuiNomencl(LyXView & lv);
|
2007-10-05 20:43:26 +00:00
|
|
|
Dialog * createGuiNote(LyXView & lv);
|
2007-10-05 21:06:08 +00:00
|
|
|
Dialog * createGuiPrefs(LyXView & lv);
|
|
|
|
Dialog * createGuiPrint(LyXView & lv);
|
2007-10-05 19:04:38 +00:00
|
|
|
Dialog * createGuiRef(LyXView & lv);
|
2007-10-05 21:06:08 +00:00
|
|
|
Dialog * createGuiSearch(LyXView & lv);
|
|
|
|
Dialog * createGuiSendto(LyXView & lv);
|
|
|
|
Dialog * createGuiShowFile(LyXView & lv);
|
|
|
|
Dialog * createGuiSpellchecker(LyXView & lv);
|
|
|
|
Dialog * createGuiTabularCreate(LyXView & lv);
|
|
|
|
Dialog * createGuiTabular(LyXView & lv);
|
2007-10-06 08:47:08 +00:00
|
|
|
Dialog * createGuiTexInfo(LyXView & lv);
|
2007-10-05 21:06:08 +00:00
|
|
|
Dialog * createGuiThesaurus(LyXView & lv);
|
|
|
|
Dialog * createGuiURL(LyXView & lv);
|
|
|
|
Dialog * createGuiVSpace(LyXView & lv);
|
2007-10-05 20:16:05 +00:00
|
|
|
Dialog * createGuiWrap(LyXView & lv);
|
2007-10-05 19:04:38 +00:00
|
|
|
|
|
|
|
|
2006-03-05 17:24:44 +00:00
|
|
|
bool Dialogs::isValidName(string const & name) const
|
|
|
|
{
|
|
|
|
return std::find_if(dialognames, end_dialognames,
|
|
|
|
cmpCStr(name.c_str())) != end_dialognames;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2007-09-03 05:59:32 +00:00
|
|
|
Dialog * Dialogs::build(string const & name)
|
2006-03-05 17:24:44 +00:00
|
|
|
{
|
|
|
|
BOOST_ASSERT(isValidName(name));
|
|
|
|
|
2007-09-05 20:33:29 +00:00
|
|
|
Dialog * dialog = 0;
|
2007-09-08 16:04:25 +00:00
|
|
|
GuiViewBase & guiview = static_cast<GuiViewBase &>(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
|
|
|
|
if (name == "aboutlyx") {
|
2007-09-05 20:33:29 +00:00
|
|
|
dialog = new GuiAboutDialog(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "bibitem") {
|
2007-09-05 20:33:29 +00:00
|
|
|
dialog = new GuiBibitemDialog(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "bibtex") {
|
2007-09-05 20:33:29 +00:00
|
|
|
dialog = new GuiBibtexDialog(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "box") {
|
2007-09-05 20:33:29 +00:00
|
|
|
dialog = new GuiBoxDialog(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "branch") {
|
2007-10-05 23:12:55 +00:00
|
|
|
dialog = createGuiBranch(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "changes") {
|
2007-09-05 20:33:29 +00:00
|
|
|
dialog = new GuiChangesDialog(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "character") {
|
2007-09-05 20:33:29 +00:00
|
|
|
dialog = new GuiCharacterDialog(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "citation") {
|
2007-09-05 20:33:29 +00:00
|
|
|
dialog = new GuiCitationDialog(lyxview_);
|
2006-07-10 18:58:44 +00:00
|
|
|
} else if (name == "document") {
|
2007-09-05 20:33:29 +00:00
|
|
|
dialog = new GuiDocumentDialog(lyxview_);
|
2007-08-31 15:42:35 +00:00
|
|
|
} else if (name == "embedding") {
|
2007-09-08 20:04:28 +00:00
|
|
|
dialog = new DockView<ControlEmbeddedFiles, GuiEmbeddedFilesDialog>(
|
|
|
|
guiview, name, Qt::RightDockWidgetArea);
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "errorlist") {
|
2007-09-05 20:33:29 +00:00
|
|
|
dialog = new GuiErrorListDialog(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "ert") {
|
2007-10-05 21:06:08 +00:00
|
|
|
dialog = createGuiERT(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "external") {
|
2007-09-05 20:33:29 +00:00
|
|
|
dialog = new GuiExternalDialog(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "file") {
|
2007-10-05 22:53:01 +00:00
|
|
|
dialog = createGuiShowFile(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "findreplace") {
|
2007-09-05 20:33:29 +00:00
|
|
|
dialog = new GuiSearchDialog(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "float") {
|
2007-10-05 22:08:56 +00:00
|
|
|
dialog = createGuiFloat(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "graphics") {
|
2007-09-05 20:33:29 +00:00
|
|
|
dialog = new GuiGraphicsDialog(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "include") {
|
2007-09-05 20:33:29 +00:00
|
|
|
dialog = new GuiIncludeDialog(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "index") {
|
2007-09-05 20:33:29 +00:00
|
|
|
dialog = new GuiIndexDialog(lyxview_);
|
2006-11-04 17:55:36 +00:00
|
|
|
} else if (name == "nomenclature") {
|
2007-09-05 20:33:29 +00:00
|
|
|
dialog = new GuiNomenclDialog(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "label") {
|
2007-09-05 20:33:29 +00:00
|
|
|
dialog = new GuiLabelDialog(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "log") {
|
2007-09-05 20:33:29 +00:00
|
|
|
dialog = new GuiLogDialog(lyxview_);
|
2006-04-15 14:13:41 +00:00
|
|
|
} else if (name == "view-source") {
|
2007-09-08 16:04:25 +00:00
|
|
|
dialog = new DockView<ControlViewSource, GuiViewSourceDialog>(
|
|
|
|
guiview, name, Qt::BottomDockWidgetArea);
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "mathdelimiter") {
|
2007-09-05 20:33:29 +00:00
|
|
|
dialog = new GuiDelimiterDialog(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "mathmatrix") {
|
2007-09-05 20:33:29 +00:00
|
|
|
dialog = new GuiMathMatrixDialog(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "note") {
|
2007-10-05 20:43:26 +00:00
|
|
|
dialog = createGuiNote(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "paragraph") {
|
2007-09-27 11:27:52 +00:00
|
|
|
#ifdef USE_DOCK_WIDGET
|
2007-09-27 08:56:18 +00:00
|
|
|
DockView<ControlParagraph, GuiParagraph> * dv =
|
2007-09-27 11:27:52 +00:00
|
|
|
new DockView<ControlParagraph, GuiParagraph>(guiview, name,
|
|
|
|
Qt::TopDockWidgetArea);
|
|
|
|
#else
|
|
|
|
DialogView<ControlParagraph, GuiParagraph> * dv =
|
|
|
|
new DialogView<ControlParagraph, GuiParagraph>(guiview, name);
|
|
|
|
#endif
|
2007-09-27 08:56:18 +00:00
|
|
|
dialog = dv;
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "prefs") {
|
2007-09-05 20:33:29 +00:00
|
|
|
dialog = new GuiPrefsDialog(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "print") {
|
2007-09-05 20:33:29 +00:00
|
|
|
dialog = new GuiPrintDialog(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "ref") {
|
2007-10-05 19:04:38 +00:00
|
|
|
dialog = createGuiRef(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "sendto") {
|
2007-09-05 20:33:29 +00:00
|
|
|
dialog = new GuiSendtoDialog(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "spellchecker") {
|
2007-09-05 20:33:29 +00:00
|
|
|
dialog = new GuiSpellcheckerDialog(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "tabular") {
|
2007-09-05 20:33:29 +00:00
|
|
|
dialog = new GuiTabularDialog(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "tabularcreate") {
|
2007-09-05 20:33:29 +00:00
|
|
|
dialog = new GuiTabularCreateDialog(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "texinfo") {
|
2007-10-06 08:47:08 +00:00
|
|
|
dialog = createGuiTexInfo(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
#ifdef HAVE_LIBAIKSAURUS
|
|
|
|
} else if (name == "thesaurus") {
|
2007-09-05 20:33:29 +00:00
|
|
|
dialog = new GuiThesaurusDialog(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
#endif
|
|
|
|
} else if (name == "toc") {
|
2007-09-09 20:51:04 +00:00
|
|
|
#ifdef Q_WS_MACX
|
2007-09-08 17:28:14 +00:00
|
|
|
// On Mac show as a drawer at the right
|
2007-09-09 20:51:04 +00:00
|
|
|
dialog = new DockView<GuiToc, TocWidget>(guiview, name,
|
|
|
|
Qt::RightDockWidgetArea, Qt::Drawer);
|
|
|
|
#else
|
|
|
|
dialog = new DockView<GuiToc, TocWidget>(guiview, name);
|
|
|
|
#endif
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "url") {
|
2007-09-05 20:33:29 +00:00
|
|
|
dialog = new GuiURLDialog(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "vspace") {
|
2007-10-05 22:27:04 +00:00
|
|
|
dialog = createGuiVSpace(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
} else if (name == "wrap") {
|
2007-10-05 20:16:05 +00:00
|
|
|
dialog = createGuiWrap(lyxview_);
|
Add support for listings package. Two listings command \lstinline, \lstinputlisting and an environment \lstlisting are supported, along with preamble \lstset. \lstinputlisting is implemented through Include dialog, and the other two are implemented with a new inset listings, along with its dialog.
* src/LyXAction.cpp: listing-insert action
* src/insets/Inset.h,cpp: LISTINGS_CODE
* src/insets/InsetInclude.cpp: handle \lstinputlisting
* src/insets/InsetListings.h,cpp: new listings inset
* src/insets/InsetListingsParams.h,cpp: parameters from listings package
* src/insets/InsetCommandParams.h,cpp: handle lstinputlisting option
* src/Bidi.cpp: handle LISTINGS_CODE
* src/frontends/qt4/ui/TextLayoutUi.ui: update UI
* src/frontends/qt4/ui/ListingsUi.ui: new dialog
* src/frontends/qt4/ui/IncludeUi.ui: update UI
* src/frontends/qt4/QInclude.h,cpp: add lstinputlisting
* src/frontends/qt4/QDocument.h,cpp: add textedit for preamble listings_params
* src/frontends/qt4/QListings.h,cpp: new listings inset
* src/frontends/qt4/Dialogs.cpp: new listings dialog
* src/frontends/controllers/ControlInclude.h,cpp: add lstinputlisting
* src/frontends/controllers/ControlListings.h,cpp: new listings inset
* src/LyXFunc.cpp: handle LISTING_CODE
* src/Paragraph.cpp: handle LISTING_CODE
* src/factory.cpp: new listings inset
* src/CutAndPaste.cpp: handle LISTINGS_CODE
* src/LaTeXFeatures.cpp: require listings
* src/Text3.cpp: Handle LISTINGS_CODE
* src/lfuns.h: add LFUN_LISTING_INSERT
* src/Buffer.cpp: change lyx file format to 269
* src/BufferParams.h,cpp: add listings_params to preamble
* lib/lyx2lyx/LyX.py: lyx2lyx
* lib/lyx2lyx/lyx_1_5.py: lyx2lyx
* lib/ui/stdmenus.inc: new menu item (no shortcut!)
* src/insets/Makefile.am: update autotools
* src/frontends/controllers/Makefile.am
* src/frontends/qt4/Makefile.dialogs
* src/frontends/qt4/Makefile.am
* po/POTFILES.in: a few more translatable files.
* development/scons/scons_manifest.py: scons build system
* development/FORMAT: document format changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18243 a592a061-630c-0410-9148-cb99ea01b6c8
2007-05-09 19:11:42 +00:00
|
|
|
} else if (name == "listings") {
|
2007-10-05 21:53:54 +00:00
|
|
|
dialog = createGuiListings(lyxview_);
|
2006-03-05 17:24:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
return dialog;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// Are the tooltips on or off?
|
|
|
|
bool Dialogs::tooltipsEnabled()
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
2006-10-21 00:16:43 +00:00
|
|
|
|
2007-08-14 09:54:59 +00:00
|
|
|
} // namespace frontend
|
2006-10-21 00:16:43 +00:00
|
|
|
} // namespace lyx
|