添加320惯导的相关状态量

This commit is contained in:
hm
2021-06-30 17:05:06 +08:00
parent b086f8a25b
commit e054ecf094
2 changed files with 60 additions and 144 deletions
+20 -4
View File
@@ -247,20 +247,36 @@ void StateWidget::setValue(QString s)
label->setText(s);
}
bool flag = false;
double value = s.toDouble(&flag);
#ifdef unix
#else
#ifdef __MINGW32__
#else
if(isnan(value))
{
return;
}
#endif
#endif
if(bar)
{
double value = s.toDouble();
if(value > bar->maximum())
{
}
bar->setValue(s.toDouble());
bar->setValue(value);
}
bool flag = false;
double value = s.toDouble(&flag);
if(flag)//number
{
double last = min;