本文转载自:http://blog.sina.com.cn/s/blog_671732440100uwxh.html 使用qtscipt库解析json数组首先在工程文件中加 QT += script 然后头文件加 #include <QtScript> 然后解析 QString str = "{\" Read More
posted @ 2015-10-16 22:39
findumars
Views(782)
Comments(0)
Diggs(0)
起源 qtcn中文论坛中有网友问到: 这儿其实有两个问题: 模态对话框 和 事件循环 没有必然联系 事件循环 和 子线程 没有必然联系 题外: 如果进一步呢?其实我们还可以说: 模态对话框 和 QDialog 没必要联系 QDialog 对话框 两种常规用法: 非模态 当然,这儿用指针(即分配到he Read More
posted @ 2015-10-16 22:31
findumars
Views(5091)
Comments(0)
Diggs(0)
熟悉的陌生人Qt 是事件驱动的,所以当你用Qt的时候,几乎时时刻刻和 QEventLoop 打交道、,只是你可能没有意识到:QCoreApplicaton::exec()QApplication::exec()QDialog::exec()QThread::exec()QDrag::exec()QM... Read More
posted @ 2015-10-16 22:27
findumars
Views(1967)
Comments(0)
Diggs(0)
熟悉的陌生人Qt 是事件驱动的,所以当你用Qt的时候,几乎时时刻刻和 QEventLoop 打交道、,只是你可能没有意识到:QCoreApplicaton::exec()QApplication::exec()QDialog::exec()QThread::exec()QDrag::exec()QM... Read More
posted @ 2015-10-16 22:26
findumars
Views(8044)
Comments(0)
Diggs(1)
原文:http://blog.csdn.net/oowgsoo/article/details/1529411 Qt的信号和槽机制是Qt的一大特点,实际上这是和MFC中的消息映射机制相似的东西,要完成的事情也差不多,就是发送一个消息然后让其它窗口响应,当然,这里的消息是广义的说法,简单点说就是如何在 Read More
posted @ 2015-10-16 22:23
findumars
Views(338)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号