2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 2000 The LyX Team.
9 * ======================================================
19 #include "DialogBase.h"
21 #include "boost/utility.hpp"
22 #include "insets/inseterror.h"
24 #include <gtk--/container.h>
26 /** This class provides an Gnome implementation of the FormError Dialog.
28 class FormError : public DialogBase, public noncopyable {
31 FormError(LyXView *, Dialogs *);
35 /// Slot launching dialog to an existing inset
36 void showInset( InsetError * const );
38 /// Update dialog before showing it
39 virtual void update(bool = false);
40 /// Apply from dialog (modify or create inset)
42 /// Explicitly free the dialog.
44 /// Create the dialog if necessary, update it and display it.
49 /** Which LyXFunc do we use?
50 We could modify Dialogs to have a visible LyXFunc* instead and
51 save a couple of bytes per dialog.
54 /** Which Dialogs do we belong to?
55 Used so we can get at the signals we have to connect to.
58 /// pointer to the inset passed through showInset (if any)
60 /// Update connection.
64 /// inset::hide connection.
67 /// Real GUI implementation.
68 Gtk::Container * dialog_;