之前的 Qt 编程大多只涉及简单的多窗口,并未染指窗口间的传值交互,想来还是“涉世未深”,对 Qt 的理解、应用还需殷勤努力。 这次的问题是这样的,我想要实现一个类似QQ、阿里旺旺的聊天客户端,在弹出表情对话框后,能够选择表情并返回给聊天窗口的消息输入框,这就需要两个窗口之间的传值交互。 这次的问题 Read More
posted @ 2016-06-10 21:28 findumars Views(17398) Comments(0) Diggs(0)
JSON Support in Qt Qt5之后开始提供对处理JSON数据的支持,JSON是一种Interter数据交换的数据格式。 JSON 用于存储结构化的数据,JSON有6种基本数据类型: bool double string array object null All keys in an Read More
posted @ 2016-06-10 21:26 findumars Views(2062) Comments(0) Diggs(0)
转自:http://www.stardrad.com/blog/qt-5%E7%A8%8B%E5%BA%8F%E5%9C%A8windows%E4%B8%8A%E7%9A%84%E5%8F%91%E5%B8%83/ http://blog.163.com/qimo601@126/blog/stati Read More
posted @ 2016-06-10 21:23 findumars Views(4609) Comments(0) Diggs(0)
Qt5增加了许多特性,其中 Qt Windows Extras 模块就增加了对Win7 Aero 效果的支持。官网的介绍如下: Qt Windows Extras provide classes and functions that enable you to use miscellaneous W Read More
posted @ 2016-06-10 21:11 findumars Views(2813) Comments(1) Diggs(0)
项目做到一定阶段,经常需要在原来的工程上调用外部程序。Qt为此提供了QProcess类,QProcess可用于完成启动外部程序,并与之交互通信。 一、启动外部程序的两种方式:(1)一体式:void QProcess::start(const QString & program, const QStr Read More
posted @ 2016-06-10 21:10 findumars Views(3947) Comments(0) Diggs(0)