c++ - QT - window on top -
'windowstaysontophint' doesn't work widget 'ww', why?
dialog w; widget ww; ww.setwindowflags(qt::windowstaysontophint); ww.setwindowflags(qt::framelesswindowhint); ww.setfixedsize(206,206); w.show(); ww.show();
because replacing qt::framelesswindowhint
.
if want both:
ww.setwindowflags(qt::windowstaysontophint | qt::framelesswindowhint);
Comments
Post a Comment