ddd Read More
posted @ 2015-12-22 21:54 findumars Views(196) Comments(0) Diggs(0)
今天来把坑填上。具体就是提供一个URL,并通过这个URL下载文件。MyDownloader.h:#ifndef MYDOWNLOADER_H#define MYDOWNLOADER_Hclass MyDownloader :public QObject{Q_OBJECTpublic://构造函数,要... Read More
posted @ 2015-12-22 20:54 findumars Views(2436) Comments(0) Diggs(0)
实现的效果图如下:#include "mainwindow.h"#include #include #include #include #include int main(int argc, char *argv[]){QApplication a(argc, argv);MainWindow w;... Read More
posted @ 2015-12-22 20:51 findumars Views(3508) Comments(0) Diggs(0)
在网上找了很长时间,大家都提到了一个QT全局热键库(qxtglobalshortcut),支持跨平台。在这篇文章中,我将只展示出windows平台下全局热键的设置。这里提供的方法是在MyGlobalShortCut里面完成Windows的API封装,并在main.cpp中使用。直接上代码:MyWin... Read More
posted @ 2015-12-22 20:47 findumars Views(1932) Comments(0) Diggs(0)
/*UTF-8 valid format list:0xxxxxxx110xxxxx 10xxxxxx1110xxxx 10xxxxxx 10xxxxxx11110xxx 10xxxxxx 10xxxxxx 10xxxxxx111110xx 10xxxxxx 10xxxxxx 10xxxxxx 10... Read More
posted @ 2015-12-22 20:46 findumars Views(1210) Comments(0) Diggs(0)