2001-08-19 13:25:15 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file QIndex.h
|
2002-09-24 13:57:09 +00:00
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
* Licence details can be found in the file COPYING.
|
2001-08-19 13:25:15 +00:00
|
|
|
*
|
2002-09-24 13:57:09 +00:00
|
|
|
* \author John Levon
|
|
|
|
* \author Kalle Dalheimer
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS
|
2001-08-19 13:25:15 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QINDEX_H
|
|
|
|
#define QINDEX_H
|
|
|
|
|
2002-09-24 13:57:09 +00:00
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
2001-08-21 01:14:54 +00:00
|
|
|
#include "Qt2Base.h"
|
2001-08-19 13:25:15 +00:00
|
|
|
|
2001-08-25 03:00:19 +00:00
|
|
|
class ControlIndex;
|
2001-08-19 13:25:15 +00:00
|
|
|
class QIndexDialog;
|
2002-08-12 14:28:43 +00:00
|
|
|
|
2001-08-19 13:25:15 +00:00
|
|
|
|
2001-08-21 01:14:54 +00:00
|
|
|
class QIndex :
|
2002-03-21 21:21:28 +00:00
|
|
|
public Qt2CB<ControlIndex, Qt2DB<QIndexDialog> >
|
2001-08-25 03:00:19 +00:00
|
|
|
{
|
2001-08-21 01:14:54 +00:00
|
|
|
friend class QIndexDialog;
|
2002-03-21 21:21:28 +00:00
|
|
|
|
|
|
|
public:
|
2002-08-12 14:28:43 +00:00
|
|
|
QIndex();
|
2001-08-25 03:00:19 +00:00
|
|
|
|
2001-08-25 20:04:15 +00:00
|
|
|
protected:
|
|
|
|
virtual bool isValid();
|
2002-03-21 21:21:28 +00:00
|
|
|
|
|
|
|
private:
|
2001-08-21 01:14:54 +00:00
|
|
|
/// Apply changes
|
|
|
|
virtual void apply();
|
|
|
|
/// update
|
2001-08-25 20:04:15 +00:00
|
|
|
virtual void update_contents();
|
2001-08-21 01:14:54 +00:00
|
|
|
/// build the dialog
|
2001-08-26 00:29:39 +00:00
|
|
|
virtual void build_dialog();
|
2001-08-19 13:25:15 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // QINDEX_H
|