[問題] Qt 視窗右上角 "?" 按鈕

看板C_and_CPP作者 (剛好而已)時間8年前 (2017/06/21 09:37), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
開發平台(Platform): (Ex: Win10, Linux, ...) ubuntu 13.04 編譯器(Ex: GCC, clang, VC++...)+目標環境(跟開發平台不同的話需列出) gcc 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...) 問題(Question): 想要把視窗上的X按鈕旁邊加上一個?按鈕 作為說明功能 setWindowFlags(Qt::WindowCloseButtonHint | Qt::WindowContextHelpButtonHint) ; 在Windows 7 很正常會看到視窗右上角出現 ? X 但在ubuntu下卻直接變成像是 FrameLessWindowHint 一樣,整個標題列都不見了 感覺像是不支援一樣 因此懷疑這個 ? 按鈕(context help button) 是不是在linux 系統中沒有支援? 或是還有需要其他設定? 程式碼(Code):(請善用置底文網頁, 記得排版) 補充說明(Supplement): -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 220.135.196.10 ※ 文章網址: https://www.ptt.cc/bbs/C_and_CPP/M.1498009058.A.25E.html
文章代碼(AID): #1PIStY9U (C_and_CPP)