Chinaunix首页 | 论坛 | 博客
  • 博客访问: 30312
  • 博文数量: 12
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 130
  • 用 户 组: 普通用户
  • 注册时间: 2016-10-11 20:53
文章分类

全部博文(12)

文章存档

2017年(2)

2016年(10)

我的朋友

分类: LINUX

2017-02-15 10:39:21

 * QApplication::focusWidget ()   [static]

Returns the application widget that has the keyboard input focus, or 0 if no widget in this application has the focus.


 * QApplication::activeWindow ()   [static]

Returns the application top-level window that has the keyboard input focus, or 0 if no application window has the focus. There might be an activeWindow() even if there is nofocusWidget(), for example if no widget in that window accepts key events.


focusWidget返回的是当前活动窗体内聚焦部件的句柄

activeWindow返回的是当前活动窗体整体的句柄

阅读(1598) | 评论(0) | 转发(0) |
0

上一篇:STM32中GPIO工作模式

下一篇:没有了

给主人留下些什么吧!~~