2001-08-19 13:25:15 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file QIndex.h
|
|
|
|
* Copyright 2001 the LyX Team
|
|
|
|
* Read the file COPYING
|
|
|
|
*
|
|
|
|
* \author John Levon <moz@compsoc.man.ac.uk>
|
|
|
|
* \author Kalle Dalheimer <kalle@klaralvdalens-datakonsult.se>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QINDEX_H
|
|
|
|
#define QINDEX_H
|
|
|
|
|
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;
|
|
|
|
|
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:
|
2001-08-21 01:14:54 +00:00
|
|
|
QIndex(ControlIndex &);
|
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
|