X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2FDialogs.h;h=972c250955d9abdf3a73bfb0179b6c13fcdaaa40;hb=30180184cdf0ad89dff4efe1e8afed6df1dc725d;hp=39578b22d0a35d95e3882f5c940e7164c8ac5ab3;hpb=cec0dd19d0fd7c3a097457ac1899cd0e2e3c5b76;p=lyx.git diff --git a/src/frontends/Dialogs.h b/src/frontends/Dialogs.h index 39578b22d0..972c250955 100644 --- a/src/frontends/Dialogs.h +++ b/src/frontends/Dialogs.h @@ -44,6 +44,8 @@ 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 @@ -65,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. @@ -104,7 +112,11 @@ public: /// 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 @@ -117,13 +129,19 @@ public: SigC::Signal1 showInfo; /// show the LaTeX log or build file SigC::Signal0 showLogFile; - /// display the top-level maths panel - SigC::Signal0 showMathPanel; + /// display the top-level maths panel + SigC::Signal0 showMathPanel; /// SigC::Signal1 showMinipage; /// SigC::Signal1 updateMinipage; /// + SigC::Signal1 showERT; + /// + SigC::Signal1 updateERT; + /// + SigC::Signal1 showFloat; + /// SigC::Signal0 showParagraph; /// SigC::Signal0 updateParagraph; @@ -139,20 +157,22 @@ public: SigC::Signal1 createRef; /// SigC::Signal0 showSearch; + /// + SigC::Signal0 showSendto; /// bring up the spellchecker SigC::Signal0 showSpellchecker; /// bring up the spellchecker tab in preferences SigC::Signal0 showSpellcheckerPreferences; - /// pop up the splash - SigC::Signal0 showSplash; - /// destroy the splash dialog - void destroySplash(); /// SigC::Signal1 showTabular; /// SigC::Signal1 updateTabular; /// SigC::Signal0 showTabularCreate; + /// show the TexInfo + SigC::Signal0 showTexinfo; + /// show the thesaurus dialog + SigC::Signal1 showThesaurus; /// SigC::Signal1 showTOC; /// @@ -169,8 +189,6 @@ private: void add(DialogBase *); /// the dialogs being managed std::vector dialogs_; - /// the splash dialog - boost::scoped_ptr splash_; }; #endif