hello,I have a problem
-
I have a problem. Under the windows operating system, I installed EventFilter on the widget and reprocessed the show event. But after minimizing the form, use win+d, and then casually click any icon on the desktop. The widget will trigger the show event.Why?
Detailed description:
Press Win + D for the first time and all windows will be minimized. Press Win + D again and all windows will be restored. However, when I use EventFilter and rewrite the show event, after I press Win + D for the first time, the widget is minimized, which is normal. However, I do not press the win + D key combination for the second time, but randomly click any other icon on the desktop, which will trigger the show event of the widget of this QT program. Note that even if I do not click the icon of this program, it will trigger
-
Hi,
@liuyu said in hello,I have a problem:
@JoeCFD said in hello,I have a problem:
punished
What do you mean
You wrote:
@liuyu said in hello,I have a problem:
The form will be punished for the show event. Why?
Beside the fact you removed the interrogation point, @JoeCFD is asking you what do you mean with that word.
-
@JonB said in hello,I have a problem:
Well, because showing/maximizing after minimizing causes a showEvent().
Press Win + D for the first time and all windows will be minimized. Press Win + D again and all windows will be restored. However, when I use EventFilter and rewrite the show event, after I press Win + D for the first time, the widget is minimized, which is normal. However, I do not press the win + D key combination for the second time, but randomly click any other icon on the desktop, which will trigger the show event of the widget of this QT program. Note that even if I do not click the icon of this program, it will trigger