摘要:
转自:http://hi.baidu.com/wangjuns8/blog/item/24b382460dd1c1338694737d.htmlQDialog的显示有两个函数show()和exec()。他们的区别在参考文档上的解释如下:show():显示一个非模式对话框。控制权即刻返回给调用函数。弹出窗口是否模式对话框,取决于modal属性的值。(原文:Shows the dialog as a modeless dialog. Control returns immediately to the calling code.The dialog will be modal or modeles 阅读全文
摘要:
采用VS2008开发QT程序时需要用到CYAPI的库和头文件,但在添加Cyapi.h后编译器报如下错误:d:\app\app\app\CyAPI.h(15) : error C2146: syntax error : missing ';' before identifier 'bLength'1>d:\app\app\app\CyAPI.h(15) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int1>d:\app\a 阅读全文