提交 f63fbfec 编写于 作者: 丁劲犇's avatar 丁劲犇 😸

Tiny improve

上级 3e837dd7
......@@ -266,6 +266,8 @@ void qtvplugin_geomarker::cb_paintEvent( QPainter * pImage )
pImage->drawRect(left,top,256,32);
pImage->setBrush(br2);
pImage->drawRect(left,top,256*pc,32);
QString strmsg= tr("Level Re-Coord %1 %%").arg(pc*100);
pImage->drawText(left+32,top+16,strmsg);
}
}
......
......@@ -73,9 +73,15 @@ void qtvplugin_geomarker::timerEvent(QTimerEvent * e)
}
else if (m_nTimerID_levelQueue == e->timerId())
{
static int dvv = 0;
killTimer(m_nTimerID_levelQueue);
if (true==m_pScene->deal_level_queue())
scheduleUpdateMap();
if (++dvv %20 == 0)
{
if (m_pScene->progress_queue()<0.999)
scheduleUpdateMap();
}
m_nTimerID_levelQueue = startTimer(100);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册