]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Dialogs.h
try this for distinguishing inner and outer tabs
[lyx.git] / src / frontends / Dialogs.h
index 03b988b8a716c12f0bbfaa0b7f1ee05b76d83c4b..94fc47990484b6e287502e271e8fef1a85f432b8 100644 (file)
@@ -22,7 +22,7 @@
 #include <sigc++/signal_system.h>
 
 #include "LString.h"
-#include "support/utility.hpp"
+#include <boost/utility.hpp>
 
 class DialogBase;
 
@@ -60,16 +60,23 @@ public:
        ~Dialogs();
        //@}
        
+       /** Redraw all visible popups because, for example, the GUI colours
+           have been re-mapped. */
+       static Signal0<void> redrawGUI;
+
        /**@name Global Hide and Update Signals */
        //@{
        /// Hide all visible popups
        Signal0<void> hideAll;
        
-       /// Hide any popups that require a buffer for them to operate
+       /// Hide any dialogs that require a buffer for them to operate
        Signal0<void> hideBufferDependent;
        
-       /// Update visible, buffer-dependent popups
-       Signal0<void> updateBufferDependent;
+       /** Update visible, buffer-dependent dialogs
+           If the bool is true then a buffer change has occurred
+           else its still the same buffer.
+        */
+       Signal1<void, bool> updateBufferDependent;
        //@}
 
        /**@name Dialog Access Signals.
@@ -77,10 +84,10 @@ public:
        //@{
        /// Do we really have to push this?
        Signal1<void, vector<string> const &> SetDocumentClassChoice;
-       ///
-       Signal1<void, InsetBibKey *> showBibkey;
-       ///
-       Signal1<void, InsetBibtex *> showBibtex;
+       /// show the key and label of a bibliography entry
+       Signal1<void, InsetCommand *> showBibitem;
+       /// show the bibtex dialog
+       Signal1<void, InsetCommand *> showBibtex;
        ///
        Signal0<void> showCharacter;
        ///
@@ -95,8 +102,10 @@ public:
        Signal1<void, InsetError *> showError;
        ///
        Signal1<void, InsetGraphics *> showGraphics;
-       ///
-       Signal1<void, InsetInclude *> showInclude;
+       /// show the details of a LyX file include inset
+       Signal1<void, InsetCommand *> showInclude;
+       /// create a LyX file include inset
+       Signal1<void, string const &> createInclude;
        ///
        Signal1<void, InsetCommand *> showIndex;
        ///
@@ -107,7 +116,9 @@ public:
        Signal0<void> showLayoutDocument;
        ///
        Signal0<void> showLayoutParagraph;
-       ///
+       /// show the version control log
+       Signal0<void> showVCLogFile;
+       /// show the LaTeX log or build file
        Signal0<void> showLogFile;
        ///
        Signal0<void> showPreamble;
@@ -119,13 +130,15 @@ public:
        Signal1<void, InsetCommand *> showRef;
        ///
        Signal1<void, string const &> createRef;
+       /// pop up the splash
+       Signal0<void> showSplash;
+       /// hide the splash immediately
+       Signal0<void> hideSplash;
        ///
        Signal1<void, InsetTabular *> showTabular;
        ///
        Signal1<void, InsetTabular *> updateTabular;
        ///
-       Signal1<void, InsetTabular *> hideTabular;
-       ///
        Signal0<void> showTabularCreate;
        ///
        Signal1<void, InsetCommand *> showTOC;
@@ -144,11 +157,3 @@ private:
 };
 
 #endif
-
-
-
-
-
-
-
-