Logo Search packages:      
Sourcecode: qt4-x11 version File versions  Download package

QWidget * QApplication::focusWidget (  )  [static]

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

See also:
QWidget::setFocus(), QWidget::hasFocus(), activeWindow(), focusChanged()

Definition at line 1853 of file qapplication.cpp.

Referenced by QTreeView::drawRow(), QMotifStyle::event(), Q3Table::eventFilter(), QItemDelegate::eventFilter(), QAbstractItemView::keyPressEvent(), QWidget::setFocus(), and QMdiSubWindow::showShaded().

{
    return QApplicationPrivate::focus_widget;
}


Generated by  Doxygen 1.6.0   Back to index