4 * John Levon, moz@compsoc.man.ac.uk
5 * Adapted for Qt2 frontend by Kalle Dalheimer,
6 * kalle@klaralvdalens-datakonsult.se
9 /***************************************************************************
11 * This program is free software; you can redistribute it and/or modify *
12 * it under the terms of the GNU General Public License as published by *
13 * the Free Software Foundation; either version 2 of the License, or *
14 * (at your option) any later version. *
16 ***************************************************************************/
21 #include "DialogBase.h"
23 #include "boost/utility.hpp"
24 #include "insets/insetindex.h"
28 class FormIndexDialog;
30 class FormIndex : public DialogBase {
32 /**@name Constructors and Destructors */
35 FormIndex(LyXView *, Dialogs *);
42 /// close the connections
46 /// Create the dialog if necessary, update it and display it.
50 /// Update the dialog.
53 /// create an Index inset
54 void createIndex(string const &);
55 /// edit an Index inset
56 void showIndex(InsetCommand * const);
58 /// Real GUI implementation.
59 FormIndexDialog * dialog_;
61 /// the LyXView we belong to
64 /** Which Dialogs do we belong to?
65 Used so we can get at the signals we have to connect to.
68 /// pointer to the inset if any
69 InsetCommand * inset_;
71 InsetCommandParams params;
72 /// is the inset we are reading from a readonly buffer ?
77 /// Update connection.
79 /// Inset hide connection.