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

Popular posts from this blog

matlab - Deleting rows with specific rules -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -