Replies: 5 comments
-
I need to think about your question. PS: You can quote source code by accent grave character ( ` ) as inline snippet and with three accent grave characters ( ``` ) as block. Write java / c++ etc. behind the opening block characters to specify the code language. |
Beta Was this translation helpful? Give feedback.
-
OK, I'll pay attention to that next time. Depending on the solution code you give, the effect after running will still be the same as if the code had not been modified before. Still click from the taskbar to MAXIMIZE the display, not the expected STATE [minimize previous form size rather than maximize]. |
Beta Was this translation helpful? Give feedback.
-
I don't have experiences with this special issue. However, this is a common Qt question, so I suggest to find answers in Qt forums. |
Beta Was this translation helpful? Give feedback.
-
Hello, the current problem is that clicking return to Normal(showNormal) from the taskbar will change to the maximized state. Is there a problem with the API? What the above code does in C++ returns is the answer you get in the Qt forum. No one is more familiar with QtJambi than you, and the Qt forum gives a C++ solution. But QtJambi's API is not exactly the same as Qt's. |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm trying to solve the judgement of click events from the taskbar. The idea is that I can minimize the application by clicking a button on the UI, and then minimize it back to the default state when I click on the taskbar. I can do this in eventFilter in C++
I tried using the following code in QtJambi's eventFilter
Such logic is also written in C++ logic. But only part of the effect is achieved, that is, clicking from the taskbar can restore the size of the program. But not the default size but the size that covers the entire screen. Why is that? Or is there any other good way?
Beta Was this translation helpful? Give feedback.
All reactions