QT 为VideoWidget添加快捷键
摘要:
头文件public:Phonon::VideoWidget * vw;cpp#include QShortcut *shortcut = new QShortcut(QKeySequence("ESC"), vw); QObject::connect(shortcut, SIGNAL(activated()), SLOT(CloseZone())); ... 阅读全文
posted @ 2011-03-22 17:22 风乔 阅读(554) 评论(0) 推荐(0) 编辑