X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2FDialogs.h;h=972c250955d9abdf3a73bfb0179b6c13fcdaaa40;hb=3e39bef2c13125023f3b72532d90575bbe307335;hp=97cd57e610b42c171340c400fc7f15e805ff17b6;hpb=83acbbd5237373926c629855379e1df9a04209b2;p=lyx.git diff --git a/src/frontends/Dialogs.h b/src/frontends/Dialogs.h index 97cd57e610..972c250955 100644 --- a/src/frontends/Dialogs.h +++ b/src/frontends/Dialogs.h @@ -44,6 +44,9 @@ class InsetInfo; class InsetTabular; class InsetCommand; class InsetMinipage; +class InsetFloat; +class InsetERT; +class Paragraph; /** Container of all dialogs and signals a LyXView needs or uses to access them The list of dialog signals isn't comprehensive but should be a good guide @@ -64,14 +67,20 @@ public: have been re-mapped. */ static SigC::Signal0 redrawGUI; + /// Toggle tooltips on/off in all dialogs. + static SigC::Signal0 toggleTooltips; + + /// Are the tooltips on or off? + static bool tooltipsEnabled(); + /**@name Global Hide and Update Signals */ //@{ /// Hide all visible dialogs SigC::Signal0 hideAll; - + /// Hide any dialogs that require a buffer for them to operate SigC::Signal0 hideBufferDependent; - + /** Update visible, buffer-dependent dialogs If the bool is true then a buffer change has occurred else its still the same buffer. @@ -84,24 +93,30 @@ public: //@{ /// Do we really have to push this? SigC::Signal1 const &> SetDocumentClassChoice; + /// + SigC::Signal0 showAboutlyx; /// show the key and label of a bibliography entry SigC::Signal1 showBibitem; /// show the bibtex dialog SigC::Signal1 showBibtex; /// SigC::Signal0 showCharacter; + /// connected to the character dialog also + SigC::Signal0 setUserFreeFont; /// SigC::Signal1 showCitation; /// SigC::Signal1 createCitation; /// - SigC::Signal0 showCopyright; - /// - SigC::Signal0 showCredits; + SigC::Signal0 showDocument; /// SigC::Signal1 showError; /// show the external inset dialog - SigC::Signal1 showExternal; + SigC::Signal1 showExternal; + /// show the contents of a file. + SigC::Signal1 showFile; + /// show all forked child processes + SigC::Signal0 showForks; /// SigC::Signal1 showGraphics; /// show the details of a LyX file include inset @@ -112,20 +127,24 @@ public: SigC::Signal1 createIndex; /// SigC::Signal1 showInfo; + /// show the LaTeX log or build file + SigC::Signal0 showLogFile; + /// display the top-level maths panel + SigC::Signal0 showMathPanel; /// - SigC::Signal0 showLayoutDocument; + SigC::Signal1 showMinipage; /// - SigC::Signal0 showLayoutParagraph; + SigC::Signal1 updateMinipage; /// - SigC::Signal0 showLayoutCharacter; + SigC::Signal1 showERT; /// - SigC::Signal0 setUserFreeFont; - /// show the version control log - SigC::Signal0 showVCLogFile; - /// show the LaTeX log or build file - SigC::Signal0 showLogFile; - /// display the top-level maths panel - SigC::Signal0 showMathPanel; + SigC::Signal1 updateERT; + /// + SigC::Signal1 showFloat; + /// + SigC::Signal0 showParagraph; + /// + SigC::Signal0 updateParagraph; /// SigC::Signal0 showPreamble; /// @@ -138,20 +157,22 @@ public: SigC::Signal1 createRef; /// SigC::Signal0 showSearch; - /// pop up the splash - SigC::Signal0 showSplash; - /// destroy the splash dialog - void destroySplash(); + /// + SigC::Signal0 showSendto; + /// bring up the spellchecker + SigC::Signal0 showSpellchecker; + /// bring up the spellchecker tab in preferences + SigC::Signal0 showSpellcheckerPreferences; /// SigC::Signal1 showTabular; /// SigC::Signal1 updateTabular; /// SigC::Signal0 showTabularCreate; - /// - SigC::Signal1 showMinipage; - /// - SigC::Signal1 updateMinipage; + /// show the TexInfo + SigC::Signal0 showTexinfo; + /// show the thesaurus dialog + SigC::Signal1 showThesaurus; /// SigC::Signal1 showTOC; /// @@ -160,16 +181,14 @@ public: SigC::Signal1 showUrl; /// SigC::Signal1 createUrl; - /// - SigC::Signal0 updateCharacter; // allow update as cursor moves + /// show the version control log + SigC::Signal0 showVCLogFile; //@} private: /// Add a dialog to the vector of dialogs. void add(DialogBase *); /// the dialogs being managed std::vector dialogs_; - /// the splash dialog - boost::scoped_ptr splash_; }; #endif