//计算帧数 // static double lastFpsKey; // static int frameCount; // ++frameCount; // if (key-lastFpsKey > 2) //每2秒求一次平均值 // { // //状态栏显示帧数和数据总数 // ui->st