How to change the titlebar color of a window in a Qt/Qml application?

懵懂的女人 提交于 2019-12-22 23:39:33

问题


I would like to change the colour of the (top) border and the titlebar of the window of my application in Qt 5.5, but can't find any solution. I know I can create a frameless windows (but then resizing doesn't work) and style my own window, I can also change the background colour of the window, but the border colour. I think there is probably since most apps in Windows 10 are able to do this.

来源:https://stackoverflow.com/questions/32251399/how-to-change-the-titlebar-color-of-a-window-in-a-qt-qml-application

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!