made slider value/string conversions abstract

This commit is contained in:
itsmattkc
2021-03-15 18:29:03 +11:00
parent 50c7f8019b
commit 0c73a4bd59
6 changed files with 9 additions and 4 deletions
+2
View File
@@ -32,6 +32,8 @@ FloatSlider::FloatSlider(QWidget *parent) :
decimal_places_(1),
autotrim_decimal_places_(false)
{
SetValue(0.0);
connect(this, SIGNAL(ValueChanged(QVariant)), this, SLOT(ConvertValue(QVariant)));
}