X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2FDialogs.h;h=296e552e10f7d52dd8ee2fe5e0d8ad2ab59a8b2c;hb=2c80c7bdd18297db73e9715f6647c7c10ff06c75;hp=cf1891294484264d3f5e33144600c29cdecbbae9;hpb=6d678c927c0fdce6ec54192829fa5eb06befc704;p=lyx.git diff --git a/src/frontends/Dialogs.h b/src/frontends/Dialogs.h index cf18912944..296e552e10 100644 --- a/src/frontends/Dialogs.h +++ b/src/frontends/Dialogs.h @@ -21,32 +21,35 @@ #include #include -using std::vector; - -#ifdef SIGC_CXX_NAMESPACES -using SigC::Signal0; -using SigC::Signal1; -#endif - #include "LString.h" +#include class DialogBase; // Maybe this should be a UIFunc modelled on LyXFunc class LyXView; -class InsetInclude; -class InsetIndex; +class InsetGraphics; class InsetBibKey; -class InsetCitation; class InsetBibtex; +class InsetError; +class InsetInclude; class InsetInfo; +class InsetTabular; +class InsetCommand; + +using std::vector; + +#ifdef SIGC_CXX_NAMESPACES +using SigC::Signal0; +using SigC::Signal1; +#endif /** 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 for any future additions. Remember don't go overboard -- think minimal. */ -class Dialogs +class Dialogs : public noncopyable { public: /**@name Constructors and Deconstructors */ @@ -69,54 +72,73 @@ public: Signal0 updateBufferDependent; //@} - /**@name Dialog Access Signals */ + /**@name Dialog Access Signals. + Put into some sort of alphabetical order */ //@{ - /// Opens the Preamble Dialog. - Signal0 showPreamble; + /// Do we really have to push this? + Signal1 const &> SetDocumentClassChoice; /// - Signal0 showLogFile; + Signal1 showBibkey; /// - Signal0 showTable; + Signal1 showBibtex; /// - Signal0 updateTable; // needed for InsetTabular-Update + Signal0 showCharacter; /// - Signal0 showTableNew; + Signal1 showCitation; /// - Signal0 showCharacter; + Signal1 createCitation; /// - Signal0 updateCharacter; // allow update as cursor moves + Signal0 showCopyright; + /// + Signal0 showCredits; /// - Signal0 showParagraph; + Signal1 showError; /// - Signal0 showDocument; - /// Do we really have to push this? - Signal1 const &> SetDocumentClassChoice; + Signal1 showGraphics; /// - Signal0 showPrint; + Signal1 showInclude; /// - Signal0 showCopyright; + Signal1 showIndex; /// - Signal0 showCredits; + Signal1 createIndex; + /// + Signal1 showInfo; + /// + Signal0 showLayoutDocument; + /// + Signal0 showLayoutParagraph; + /// + Signal0 showLogFile; + /// + Signal0 showPreamble; /// Signal0 showPreferences; /// - Signal1 showInclude; + Signal0 showPrint; /// - Signal1 showIndex; + Signal1 showRef; /// - Signal1 showBibkey; + Signal1 createRef; /// - Signal1 showCitation; + Signal1 showTabular; /// - Signal1 showBibtex; + Signal1 updateTabular; /// - Signal1 showInfo; + Signal1 hideTabular; + /// + Signal0 showTabularCreate; + /// + Signal1 showTOC; + /// + Signal1 createTOC; + /// + Signal1 showUrl; + /// + Signal1 createUrl; + /// + Signal0 updateCharacter; // allow update as cursor moves //@} private: - /// Disallow default constructor - Dialogs() {} - /// Disallow copy constructor - Dialogs(Dialogs &) {} /// vector dialogs_; };