3 * John Levon, moz@compsoc.man.ac.uk
6 /***************************************************************************
8 * This program is free software; you can redistribute it and/or modify *
9 * it under the terms of the GNU General Public License as published by *
10 * the Free Software Foundation; either version 2 of the License, or *
11 * (at your option) any later version. *
13 ***************************************************************************/
18 #include "DialogBase.h"
20 #include "support/utility.hpp"
21 #include "insets/insetindex.h"
25 class FormIndexDialog;
27 class FormIndex : public DialogBase, public noncopyable {
29 /**@name Constructors and Destructors */
32 FormIndex(LyXView *, Dialogs *);
39 /// close the connections
43 /// Create the dialog if necessary, update it and display it.
47 /// Update the dialog.
50 /// create an Index inset
51 void createIndex(string const &);
52 /// edit an Index inset
53 void showIndex(InsetCommand * const);
55 /// Real GUI implementation.
56 FormIndexDialog * dialog_;
58 /// the LyXView we belong to
61 /** Which Dialogs do we belong to?
62 Used so we can get at the signals we have to connect to.
65 /// pointer to the inset if any
66 InsetCommand * inset_;
68 InsetCommandParams params;
69 /// is the inset we are reading from a readonly buffer ?
74 /// Update connection.
76 /// Inset hide connection.