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
|
|
|
|
|
|
|
|
#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-08-12 14:28:43 +00:00
|
|
|
QFloat();
|
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
|