void LazyWnd::tmrAct(){ POINT pnt; GetCursorPos(&pnt); QWidget * wid = QApplication::widgetAt(pnt.x, pnt.y ); if (wid != nullptr) { ui.lblTmr->setText( QString::number((DWORD)wid) + " " +wid->objectName()); } else { ui.lblTmr->setText( "No widget"); }}