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)
42 void IndexChanged(
int index)
44 enum_opt_->SetIndex(index);
55 QObject(parent), int_opt_(int_opt)
58 void TextChanged(
const QString& text)
60 int_opt_->SetValue(text.toInt());
71 QObject(parent), float_opt_(float_opt)
74 void TextChanged(
const QString& text)
76 float_opt_->SetValue(text.toFloat());