setWindowIcon (QIcon('./media/import.svg')). 我們比須對QApplication這個物件做設定,直接設定最上層APP的Icon這樣才能設定Dock中的圖片。
確定! 回上一頁