// // C++ Interface: devicesettingnexa // // Description: // // // Author: Fredrik Jacobsson , (C) 2009 // // Copyright: See COPYING file that comes with this distribution // // #ifndef DEVICESETTINGARCTECHSELFLEARNING_H #define DEVICESETTINGARCTECHSELFLEARNING_H #include "devicesetting.h" class QGridLayout; class QSpinBox; class QLabel; /** @author Micke Prag */ class DeviceSettingArctechSelflearning : public DeviceSetting { Q_OBJECT public: DeviceSettingArctechSelflearning(Device *device, QWidget *parent = 0); virtual ~DeviceSettingArctechSelflearning(); virtual void setRemoteMinMax(int min, int max); virtual void setUnitMinMax(int min, int max); public slots: virtual void saveParameters(); virtual void setValue( const QString &name, const QString &value ); protected slots: void randomizeCode(); protected: QSpinBox *spinRemotecode; QSpinBox *spinUnitcode; }; #endif