Qt-Nice-Frameless-Window icon indicating copy to clipboard operation
Qt-Nice-Frameless-Window copied to clipboard

On WindowsOS: CFramelessWindow can not have a child CFramelessWindow

Open Bringer-of-Light opened this issue 7 years ago • 2 comments

On WindowsOS:

CFramelessWindow* mainWin = new CFramelessWindow(); CFramelessWindow* subWin= new CFramelessWindow(mainWin );

these will break the dragable/resizeable feature of mainWin!

Bringer-of-Light avatar Jan 25 '18 03:01 Bringer-of-Light

Still don't know how to fix this issue. It is relative to the Qt Event System, and looks like that this issue is unsolveable.

Bringer-of-Light avatar Oct 15 '18 08:10 Bringer-of-Light

我在我的项目KikoPlay使用了你的Qt-Nice-Frameless-Window 按照我的经验,如果不在构造函数里调用winId()就能避免这个问题 你可以试试将CFramelessWindow构造函数里的setResizeable放到其他地方执行,比如showEvent

Protostars avatar Oct 26 '18 15:10 Protostars