Sorry, my question was not very clear.
In fact, I have a frameless window with a QPushButton trying to behave like the minimize button. The clicked() signal of the QPushButton is connected to this slot:
Qt Code:
void MainWindow::slotMinimizeWindow() { this->setWindowState(Qt::WindowMinimized); }To copy to clipboard, switch view to plain text mode
Hope this helps to understand my question.
Thanks
Bookmarks