91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

Qt 升級到5.x版本后,QAbstractEventDispatcher中函數(shù)發(fā)生變動(dòng),導(dǎo)致libqxt庫中的qxtGlobalShortcut掛掉.參考qxtGlobalShortcut寫了一個(gè)全局熱鍵類,用法與qxtGlobalShortcut一致.在 Win8.1 + Qt 5.11 能正常使用 _______________________________________________________________________ 用法 _______________________________________________________________________ MyGlobalShortcut* shortcut = new MyGlobalShortcut("Ctrl+F9", w); connect(shortcut, SIGNAL(activated()),w, SLOT(myslot())); 更多內(nèi)容見這里 http://blog.csdn.net/hellogdut/article/details/22324415

資源截圖

代碼片段和文件信息

#include?“mainwindow.h“
#include?
#include?
int?main(int?argc?char?*argv[])
{
????QApplication?a(argc?argv);
????MainWindow?w;
????w.show();
????//?用法

????MyGlobalShortCut?*shortcut?=?new?MyGlobalShortCut(“Ctrl+F9“&w);
????Qobject::connect(shortcutSIGNAL(activated())&wSLOT(activated()));

????return?a.exec();
}

?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----

?????文件????????556??2014-03-30?02:11??example\example.pro

?????文件????????390??2014-03-30?02:11??example\main.cpp

?????文件????????387??2014-03-30?02:11??example\mainwindow.cpp

?????文件????????355??2014-03-30?02:11??example\mainwindow.h

?????文件????????654??2014-03-30?02:11??example\mainwindow.ui

?????文件???????5036??2014-03-30?02:11??example\MyGlobalShortCut\MyGlobalShortCut.cpp

?????文件???????1056??2014-03-30?02:11??example\MyGlobalShortCut\MyGlobalShortCut.h

?????文件???????1030??2014-03-30?02:11??example\MyGlobalShortCut\MyWinEventFilter.cpp

?????文件????????369??2014-03-30?02:11??example\MyGlobalShortCut\MyWinEventFilter.h

?????目錄??????????0??2014-03-30?02:11??example\MyGlobalShortCut

?????目錄??????????0??2014-03-30?17:04??example

-----------?---------??----------?-----??----

?????????????????9833????????????????????11


評論

共有 條評論