]> git.lyx.org Git - lyx.git/blob - src/frontends/qt2/QIndex.h
better selection and scrolling behaviour
[lyx.git] / src / frontends / qt2 / QIndex.h
1 // -*- C++ -*-
2 /**
3  * \file QIndex.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author John Levon
8  * \author Kalle Dalheimer
9  *
10  * Full author contact details are available in file CREDITS
11  */
12
13 #ifndef QINDEX_H
14 #define QINDEX_H
15
16 #ifdef __GNUG__
17 #pragma interface
18 #endif
19
20 #include "Qt2Base.h"
21
22 class ControlIndex;
23 class QIndexDialog;
24
25
26 class QIndex :
27         public Qt2CB<ControlIndex, Qt2DB<QIndexDialog> >
28 {
29 public:
30         friend class QIndexDialog;
31
32         QIndex();
33 protected:
34         virtual bool isValid();
35 private:
36         /// Apply changes
37         virtual void apply();
38         /// update
39         virtual void update_contents();
40         /// build the dialog
41         virtual void build_dialog();
42 };
43
44 #endif // QINDEX_H