1 #ifndef TRIM_BASE_DEV_H 2 #define TRIM_BASE_DEV_H 8 #include "core/export_handling.h" 9 #include "core/trim_impl.h" 41 TrimImplDev(
RovizItemBaseDev *item, std::string name,
double default_value,
double min,
double max,
int steps,
bool logarithmic, std::function<
void (
double)> notifier_func = [](
double){});
46 QLayout *layout(
void)
const;
51 double value(
void)
override;
56 double default_value, min, scale_factor;
58 std::function<void (double)> notifier_func;
63 QMetaObject::Connection load_conn;
75 void valueChanged(
int int_value);
78 #endif // TRIM_BASE_DEV_H roviz backend for a Trim
Definition: trim_impl_dev.h:25
The interface of a Trim implementation.
Definition: trim_impl.h:7
virtual double value(void)=0
Get the value of the Trim.
Base class that binds RovizItem to the itemframework/Qt.
Definition: roviz_item_base_dev.h:25