/***************************************************************************
intvalueeditor.h - description
-------------------
begin : Fri Apr 2 1999
copyright : (C) 1999 by Richard Moore
email : rich@kde.org
***************************************************************************/
/***************************************************************************
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef INTVALUEEDITOR_H
#define INTVALUEEDITOR_H
#include <qspinbox.h>
#include <valueeditor.h>
class IntValue;
/**
* Edits int values.
*
* @author Richard Moore
*/
class ValueEditor.html">IntValueEditor : public ValueEditor {
Q_OBJECT
public:
IntValueEditor(QWidget *parent, const char *name, IntValue *);
~IntValueEditor();
signals:
void cancelled();
void accepted();
void accepted(Value *);
void resized();
protected:
virtual void saveValue();
private:
QSpinBox *spinner;
};
#endif
Documentation generated by rich@pegasus on Sat Apr 17 17:09:53 BST 1999