2001-08-26 15:34:36 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file QBibitem.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-26 15:34:36 +00:00
|
|
|
*
|
2002-09-24 13:57:09 +00:00
|
|
|
* \author John Levon
|
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
* Full author contact details are available in file CREDITS.
|
2001-08-26 15:34:36 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QBIBITEM_H
|
|
|
|
#define QBIBITEM_H
|
|
|
|
|
2002-09-24 13:57:09 +00:00
|
|
|
|
2003-02-25 14:51:38 +00:00
|
|
|
#include "QDialogView.h"
|
2001-08-26 15:34:36 +00:00
|
|
|
|
2003-03-07 14:08:10 +00:00
|
|
|
class ControlCommand;
|
2001-08-26 15:34:36 +00:00
|
|
|
class QBibitemDialog;
|
|
|
|
|
2002-10-20 01:48:28 +00:00
|
|
|
class QBibitem
|
2003-03-07 14:08:10 +00:00
|
|
|
: public QController<ControlCommand, QView<QBibitemDialog> >
|
2001-08-26 15:34:36 +00:00
|
|
|
{
|
2002-10-20 01:48:28 +00:00
|
|
|
public:
|
2001-08-26 15:34:36 +00:00
|
|
|
friend class QBibitemDialog;
|
2002-03-21 21:21:28 +00:00
|
|
|
|
2003-02-25 14:51:38 +00:00
|
|
|
QBibitem(Dialog &);
|
2001-08-26 15:34:36 +00:00
|
|
|
protected:
|
|
|
|
virtual bool isValid();
|
2002-03-21 21:21:28 +00:00
|
|
|
private:
|
2001-08-26 15:34:36 +00:00
|
|
|
/// Apply changes
|
|
|
|
virtual void apply();
|
|
|
|
/// update
|
|
|
|
virtual void update_contents();
|
|
|
|
/// build the dialog
|
|
|
|
virtual void build_dialog();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // QBIBITEM_H
|