00001 /* -*- C++ -*- */ 00002 00003 /* COPYRIGHT 00004 * 00005 * This file is part of the Visual Effects Engine - VEE 00006 * 00007 * Read the "VEE-LICENSE" file for the license. 00008 * 00009 * Authors & Copyright: 00010 * 00011 * Tommi Ilmonen, Tuukka Heikura, Marko Myllymaa and 00012 * Janne Kontkanen 2001-2004 00013 * 00014 * Additional copyrights: Tekes 2003-2004 00015 * 00016 * firstname.lastname@hut.fi 00017 * 00018 */ 00019 00020 #ifndef VEE_VALUE_GUI_FLOAT_H 00021 #define VEE_VALUE_GUI_FLOAT_H 00022 00023 #include <vee_value_gui.h> 00024 00025 #include <vee_parameters.h> 00026 00027 class VEE_HasValues; 00028 00029 00030 class VEE_ValueGuiFloat : public VEE_ValueGui 00031 { 00032 Q_OBJECT 00033 00034 public: 00035 VEE_ValueGuiFloat(QObject * parent = 0, 00036 const char * name = 0); 00037 00038 virtual ~VEE_ValueGuiFloat(); 00039 00040 virtual void build(VEE_ValueWindow *host, 00041 VEE_HasValues *target, 00042 const VEE_ParameterFloat ¶meter); 00043 00044 virtual void bangValue(); 00045 00046 00047 public slots: 00048 00049 void setValue(double); 00050 void getValue(double *); 00051 00052 protected: 00053 00054 VEE_ParameterFloat m_value; 00055 }; 00056 00057 #endif