Michaël Lemaire
2001e534d4
git-svn-id: https://subversion.assembla.com/svn/thunderk/paysages@266 b1fd45b6-86a6-48da-8261-f70d1f35bdcc
25 lines
428 B
C++
25 lines
428 B
C++
#ifndef _PAYSAGES_QT_INPUTBOOLEAN_H_
|
|
#define _PAYSAGES_QT_INPUTBOOLEAN_H_
|
|
|
|
#include <QWidget>
|
|
#include <QCheckBox>
|
|
#include "baseinput.h"
|
|
|
|
class InputBoolean:public BaseInput
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
InputBoolean(QWidget* form, QString label, int* value);
|
|
|
|
public slots:
|
|
virtual void updatePreview();
|
|
virtual void applyValue();
|
|
virtual void revert();
|
|
|
|
private:
|
|
QCheckBox* checkbox;
|
|
int* value;
|
|
};
|
|
|
|
#endif
|