Qt: keep widgets under menus, and clear the search reliably
A sheet (the long-press menus, the widget picker) used to take every native widget off the screen, since Qt can't draw over them. Now they stay: the widget layer hides them below the sheet's top edge as it rises and dims the rest like the sheet's backdrop, which takes their touches. The search boxes ask for no suggestions, so Android keyboards type straight in instead of composing words, and the clear button commits and clears again once a late commit has landed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DPL5hiQsCq11CwCPnKPp9D
This commit is contained in:
6 files changed
+89
-16
No files matched your search
@@ -9,6 +9,8 @@ Item {
|
||||
property real bottomInset: 0
|
||||
property real maxWidth: 560
|
||||
default property alias content: column.data
|
||||
// Where the panel's top edge is, for hiding native widgets under it.
|
||||
readonly property real edge: panel.y
|
||||
signal closeRequested()
|
||||
anchors.fill: parent
|
||||
visible: open || panel.y < height
|
||||
|
||||
Reference in new issue
Block a user