19 #ifndef OST_GUI_TOOL_OPTIONS_WIDGET_HH
20 #define OST_GUI_TOOL_OPTIONS_WIDGET_HH
32 namespace ost {
namespace gui {
39 QObject(parent), enum_opt_(enum_opt)
44 enum_opt_->SetIndex(index);
55 QObject(parent), int_opt_(int_opt)
60 int_opt_->SetValue(text.toInt());
71 QObject(parent), float_opt_(float_opt)
76 float_opt_->SetValue(text.toFloat());
void TextChanged(const QString &text)
void IndexChanged(int index)
#define DLLEXPORT_OST_GUI
FloatOptBinder(QObject *parent, ToolOptionFloat *float_opt)
IntOptBinder(QObject *parent, ToolOptionInt *int_opt)
void TextChanged(const QString &text)
EnumOptBinder(QObject *parent, ToolOptionEnum *enum_opt)