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 "insets/inseterror.h"
23 #include <gtk--/container.h>
25 /** This class provides an Gnome implementation of the FormError Dialog.
27 class FormError : public DialogBase {
30 FormError(LyXView *, Dialogs *);
34 /// Slot launching dialog to an existing inset
35 void showInset( InsetError * const );
37 /// Update dialog before showing it
38 virtual void update() { }
39 virtual void updateSlot(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_;