在每次调出界面以后,调用qApp的exec;可多次重复调用
//显示窗口时,调用exec
theDataService.GetDataShower()->Show();
theDataService.IntoCurvExec();
//初始化显示时,调用exec
InitDataShower();
theDataService.IntoCurvExec();
//qApp的导出函数
extern "C" __declspec(dllexport) void IntoExec()
{
qApp->exec();
}