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

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -