2002-01-25 17:46:18 +00:00
|
|
|
// -*- C++ -*-
|
|
|
|
/**
|
|
|
|
* \file QFloat.h
|
|
|
|
* Copyright 2002 the LyX Team
|
|
|
|
* Read the file COPYING
|
|
|
|
*
|
|
|
|
* \author Edwin Leuven <leuven@fee.uva.nl>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef QFLOAT_H
|
|
|
|
#define QFLOAT_H
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "Qt2Base.h"
|
|
|
|
|
|
|
|
class ControlFloat;
|
|
|
|
class QFloatDialog;
|
|
|
|
|
|
|
|
///
|
|
|
|
class QFloat
|
2002-03-21 21:21:28 +00:00
|
|
|
: public Qt2CB<ControlFloat, Qt2DB<QFloatDialog> >
|
2002-01-25 17:46:18 +00:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
///
|
|
|
|
friend class QFloatDialog;
|
|
|
|
///
|
2002-07-11 01:01:38 +00:00
|
|
|
QFloat(ControlFloat &, Dialogs &);
|
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
|