17#ifndef __gui_mrview_adjust_button_h__
18#define __gui_mrview_adjust_button_h__
23#define ADJUST_BUTTON_DEADZONE_SIZE 8
43 return to<float> (text().toStdString());
54 if (std::isfinite (val)) {
56 setText (
str(
max).c_str());
58 }
else if (val <=
min) {
59 setText (
str(
min).c_str());
62 setText (
str(val).c_str());
std::string str(const T &value, int precision=0)