Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
5.10.0
-
None
Description
void QWidget::grabMouse() void QWidget::releaseMouse() void QWidget::grabKeyboard() void QWidget::releaseKeyboard()
bool QWindow::setMouseGrabEnabled(bool grab) bool QWindow::setKeyboardGrabEnabled(bool grab)
Having two different APIs for doing the same thing is not very natural for API users, but what I find even more strange is why does return value does not matter when grabbing with widgets API?
Attachments
Issue Links
- relates to
-
QTBUG-65146 Incomplete docs and therefore different interpretations between platforms for QWindow::setMouse/KeyboardGrabEnabled
- Reported
-
QTBUG-69410 Qt Widgets Changes in Qt 6
- Closed