QFile file("xxxx.txt");
if(file.open(QIODevice::ReadOnly))
{
QTextStream read(&file);
while(!read.atEnd() )
{
tetedit->Append(read.readLine());
}
}
dbInfo.close();