* LyX, The Document Processor
*
* Copyright 1995 Matthias Ettrich
- * Copyright 1995-2000 The LyX Team.
+ * Copyright 1995-2001 The LyX Team.
*
* This file Copyright 2000
* Allan Rae
#endif
#include "DialogBase.h"
-#include "support/LAssert.h"
// Maybe this should be a UIFunc modelled on LyXFunc
class LyXView;
class InsetInfo;
class InsetTabular;
class InsetCommand;
+class InsetMinipage;
/** 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 : public boost::noncopyable
+class Dialogs : boost::noncopyable
{
public:
///
Dialogs(LyXView *);
//@}
- /** Redraw all visible popups because, for example, the GUI colours
+ /** Redraw all visible dialogs because, for example, the GUI colours
have been re-mapped. */
static SigC::Signal0<void> redrawGUI;
/**@name Global Hide and Update Signals */
//@{
- /// Hide all visible popups
+ /// Hide all visible dialogs
SigC::Signal0<void> hideAll;
/// Hide any dialogs that require a buffer for them to operate
SigC::Signal0<void> showVCLogFile;
/// show the LaTeX log or build file
SigC::Signal0<void> showLogFile;
+ /// display the top-level maths panel
+ SigC::Signal0<void> showMathPanel;
///
SigC::Signal0<void> showPreamble;
///
///
SigC::Signal0<void> showTabularCreate;
///
+ SigC::Signal1<void, InsetMinipage *> showMinipage;
+ ///
+ SigC::Signal1<void, InsetMinipage *> updateMinipage;
+ ///
SigC::Signal1<void, InsetCommand *> showTOC;
///
SigC::Signal1<void, string const &> createTOC;
boost::scoped_ptr<DialogBase> splash_;
};
-inline void Dialogs::add(DialogBase * ptr)
-{
- Assert(ptr);
- dialogs_.push_back(db_ptr(ptr));
-}
-
-inline void Dialogs::destroySplash()
-{
- splash_.reset();
-}
-
#endif