完成数据变化绘图

This commit is contained in:
2024-09-18 16:18:36 +08:00
parent 14d80194c5
commit c9e2c5a72f
8 changed files with 59 additions and 39 deletions

View File

@ -14,7 +14,7 @@ ReadThread::ReadThread(QObject *parent)
kexue.setPattern("^[0-9].[0-9]e[+-][0-9][0-9]");
}
bool ReadThread::isNumeric(QString data) {
bool ReadThread::isNumeric(const QString& data) {
bool flag = false;
patternMatch = pattern.match(data);
if (patternMatch.hasMatch()) {