QString与int 之前相互转换: 1、QString 转int
QString str("100"); int tmp=str.toInt();
int tmp =100; QString str=QString::number(tmp);