2002-01-25 17:46:18 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file QFloat.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.
|
2002-01-25 17:46:18 +00:00
|
|
|
*
|
2002-09-24 13:57:09 +00:00
|
|
|
* \author Edwin Leuven
|
|
|
|
*
|
|
|
|
* Full author contact details are available in file CREDITS
|
2002-01-25 17:46:18 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QFLOAT_H
|
|
|
|
#define QFLOAT_H
|
|
|
|
|
|
|
|
|
2003-03-05 19:46:08 +00:00
|
|
|
#include "QDialogView.h"
|
|
|
|
|
2002-01-25 17:46:18 +00:00
|
|
|
|
|
|
|
class ControlFloat;
|
|
|
|
class QFloatDialog;
|
|
|
|
|
|
|
|
///
|
2003-03-05 19:46:08 +00:00
|
|
|
class QFloat : public QController<ControlFloat, QView<QFloatDialog> > {
|
2002-01-25 17:46:18 +00:00
|
|
|
public:
|
|
|
|
///
|
|
|
|
friend class QFloatDialog;
|
|
|
|
///
|
2003-03-05 19:46:08 +00:00
|
|
|
QFloat(Dialog &);
|
2002-01-25 17:46:18 +00:00
|
|
|
private:
|
|
|
|
/// Apply changes
|
|
|
|
virtual void apply();
|
2002-03-21 21:21:28 +00:00
|
|
|
/// update
|
2002-01-25 17:46:18 +00:00
|
|
|
virtual void update_contents();
|
|
|
|
/// build the dialog
|
|
|
|
virtual void build_dialog();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // QFLOAT_H
|