摘要: 1、发送事件由以下两个函数完成 static void QCoreApplication::postEvent (QObject* receiver, QEvent* event,int priority=Qt::NormalEventPriority); static bool QCoreAppl 阅读全文
posted @ 2020-09-25 20:16 天子骄龙 阅读(794) 评论(0) 推荐(0)
摘要: 需要 #include<QKeyEvent> 常用操作 win.h #ifndef WIN_H #define WIN_H #include <QWidget> #include <QDebug> #include<QKeyEvent> //键盘模块 class Win : public QWidg 阅读全文
posted @ 2020-09-25 13:59 天子骄龙 阅读(1572) 评论(0) 推荐(0)