Show IEditorWidgetABC.h syntax highlighted
#ifndef IEDITORWIDGETABC_H_
#define IEDITORWIDGETABC_H_
#include <osgIntrospectionToolKit/signalslib.hpp>
#include <QtGui/QWidget>
#include <osgIntrospectionToolKit/CReflectedRefPointer.h>
namespace osgDesigner
{
class IEditorWidgetABC: public QWidget
{
public:
IEditorWidgetABC()
: QWidget()
{}
virtual ~IEditorWidgetABC() {}
/** Set the value to edit with this editor.
* The editor must do a signal/slot connection with the CReflectedRefPointer
* \@param rrp is a CReflectedRefPointer which containe the value to edit
* \@return true is the value is accepted by the editor, false otherwise
**/
virtual bool setEditedValue(osgIntrospectionToolKit::CReflectedRefPointer* rrp) = 0;
};
}
#endif /*IEDITORWIDGETABC_H_*/
See more files for this project here