QList<QString> ReadFlowPoint::readFlowPointFile(QString tid_path)
{
QList<QString> flowPoint_list;
QFile file(tid_path);
if (!file.open(QIODevice::ReadWrite|QIODevice::Text))
{
QMessageBox::warning(NULL, "文件打开", "文件打开失败");
}
while (!file.atEnd())
{
QByteArray line = file.readLine();
QString str(line);
flowPoint_list.append(str);
}
return flowPoint_list;
}