QApplication::focusWidget()

来源:互联网 发布:淘宝代运营 编辑:程序博客网 时间:2024/06/06 02:00

[static]QWidget *QApplication::focusWidget()

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

See alsoQWidget::setFocus(),QWidget::hasFocus(),activeWindow(), andfocusChanged().