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
Post a Comment