ListWidget Focus Problem.
Unsolved
General and Desktop
-
There are two widgets(QButton, QListWidget) in Dialog Window.
I can use only keyboard.
When I open the Window QButton has focus. Then I input tab key. At this point both widget has focus, if I input Enter key both slot function is called. (button->click(), listWidget->itemActivated())
(both widget's focusPolicy is TabFocus) -
@DJ-Kim said in ListWidget Focus Problem.:
both widget has focus
This sounds very strange.
Can you please upload a minimal application showing this issue?
Also, which Qt version do you use? -
Thanks for your reply.
My Qt version is 5.12.9, host os is Windows10.
I attached a sample code, test step is below- run
- input tab key
- down arrow
- Enter key
(do not use mouse device)
I can not attach files, this is my git repo. https://github.com/kdj6724/QT_test