Project

General

Profile

Actions

Improvements #14480

open

Handle focus for all widgets

Added by Michael Seibt 27 days ago. Updated 27 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
04/17/2026
Due date:
% Done:

0%

Estimated time:

Description

The implemention https://github.com/emweb/wt/commit/4bc2536ff1cc8afe6df1a7caebcbd53a1e2dcec3 for Feature #13841: Allow the WApplication to retrieve the currently focused widget does not consider other widgets than WWebWidget
although each WWidget has setCanReceiveFocus and setFocus.
At least for WTableView, these abstract methods are implemented with the expected functionality (mostly).
In addition, all widgets should have signals focussed and blurred (or rather lostFocus), too.

Actions #1

Updated by Michael Seibt 27 days ago

And a public getter for Signal<> WApplication::focusChanged_ would be really useful, too.

Actions

Also available in: Atom PDF