摘要:        
转自:http://hi.baidu.com/ilinux/blog/item/3603b801e8ce5907738da581.html在main文件中添加代码:#include <QTextCodec>int main(int argc, char **argv){.................... QTextCodec::setCodecForTr(QTextCodec::codecForName("GB2312")); QTextCodec::setCodecForLocale(QTextCodec::codecForName("GB23    阅读全文
posted @ 2012-06-24 10:47
hujianhua
阅读(1213)
评论(0)
推荐(0)
        
            
        
        
摘要:        
转自: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    阅读全文
posted @ 2012-06-24 10:24
hujianhua
阅读(44324)
评论(1)
推荐(4)
        
 
                    
                
 浙公网安备 33010602011771号
浙公网安备 33010602011771号