4 * Copyright 2001 the LyX Team
5 * Read the file COPYING
7 * \author John Levon <moz@compsoc.man.ac.uk>
8 * \author Kalle Dalheimer <kalle@klaralvdalens-datakonsult.se>
14 #include "DialogBase.h"
16 #include "boost/utility.hpp"
17 #include "insets/insetindex.h"
23 class QIndex : public DialogBase {
25 QIndex(LyXView *, Dialogs *);
30 /// close the connections
34 /// Create the dialog if necessary, update it and display it.
38 /// Update the dialog.
41 /// create an Index inset
42 void createIndex(string const &);
43 /// edit an Index inset
44 void showIndex(InsetCommand * const);
46 /// Real GUI implementation.
47 QIndexDialog * dialog_;
49 /// the LyXView we belong to
52 /** Which Dialogs do we belong to?
53 Used so we can get at the signals we have to connect to.
56 /// pointer to the inset if any
57 InsetCommand * inset_;
59 InsetCommandParams params;
60 /// is the inset we are reading from a readonly buffer ?
65 /// Update connection.
67 /// Inset hide connection.