Jorgen-VikingGod / Qt-Frameless-Window-DarkStyle

simple MainWindow class implementation with frameless window and custom dark style. It adds also support for titlebar and buttons (minimize, maximize, close)
1.14k stars 272 forks source link

Missing dockwidget icons #13

Closed VFLashM closed 6 years ago

VFLashM commented 6 years ago

darkstyle.qss refers to :/darkstyle/icon_window_close.png and :/darkstyle/icon_window_close.png which don't exist. Apparently it was intended to refer to :/image/*.

Jorgen-VikingGod commented 6 years ago

thx for the hint. That's right - before I had only one resource file and split it later by style and window class. There are two ways to solve this:

or copy icons also to the darkstyle content

VFLashM commented 6 years ago

That's exactly how I fixed it. Speaking of, it seems that it was intended for darkstyle to refer resources in framelesswindow. That dependency would be a minor hassle for and others who don't use frameless window. Might be better to keep them separate or event add third, shared resources file.