close

敬告遊客:
以下內容枯燥無聊,若情非得已不建議進入。
若仍執意進入,當有頭暈嘔吐現象時請盡速離開本篇文章。



When having a frameless window with the Qt::FramelessWindowHint and the Qt::WindowSystemMenuHint flags set then it is possible to activate the window by clicking the application's taskbar button, but it is not possible to minimize it by clicking the taskbar button a second time.

Any other application will get activated when clicking it in the taskbar and then get minimized when clicking a second time.

Ans:
To be able to minimize a frameless window you need to add Qt::WindowMinimizeButtonHint

source link:http://bugreports.qt.nokia.com/browse/QTBUG-4262

arrow
arrow
    全站熱搜

    calories 發表在 痞客邦 留言(0) 人氣()