c++ - Qt::Popup and shortcuts -




i need set

setwindowflags(qt::popup); 

but @ same time on linux not work system shortcuts when window(qwidget) active(visible). can combine these 2 things together?

example:

#include <qapplication> #include <qwidget>  int main(int argc, char *argv[])  {       qapplication a(argc, argv);    qwidget widget;   widget.setwindowflags(qt::popup);   widget.setgeometry(0, 0, 100, 100);   widget.show();    return a.exec(); } 

when widget visible can't example take screenshot print key. can test on linux.





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -