3 * John Levon, moz@compsoc.man.ac.uk
4 * Adapted for Qt2 frontend by Kalle Dalheimer,
5 * kalle@klaralvdalens-datakonsult.se
8 /***************************************************************************
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
15 ***************************************************************************/
20 #include "DialogBase.h"
22 #include "boost/utility.hpp"
23 #include "insets/insetindex.h"
27 class FormIndexDialog;
29 class FormIndex : public DialogBase {
31 /**@name Constructors and Destructors */
34 FormIndex(LyXView *, Dialogs *);
41 /// close the connections
45 /// Create the dialog if necessary, update it and display it.
49 /// Update the dialog.
52 /// create an Index inset
53 void createIndex(string const &);
54 /// edit an Index inset
55 void showIndex(InsetCommand * const);
57 /// Real GUI implementation.
58 FormIndexDialog * dialog_;
60 /// the LyXView we belong to
63 /** Which Dialogs do we belong to?
64 Used so we can get at the signals we have to connect to.
67 /// pointer to the inset if any
68 InsetCommand * inset_;
70 InsetCommandParams params;
71 /// is the inset we are reading from a readonly buffer ?
76 /// Update connection.
78 /// Inset hide connection.