Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/zdrgbsky/article/details/89099012
Search the web Qt judge minimize never found useful information, and then to look up a document, it may be too simple. . Want others detours myself!
There are two ways
the first this-> windowState () == Qt :: WindowMinimized
second is isMinimized () function