开发者

QGlWidget fullscreen no menu

开发者 https://www.devze.com 2023-01-11 18:40 出处:网络
I have an app that is a single QGlwidget with a right-click QMenu created when needed. The data is drawn in an overridden paintEvent()

I have an app that is a single QGlwidget with a right-click QMenu created when needed.

The data is drawn in an overridden paintEvent()

But in fullscreen mode the menu isn't displayed. Am I better having a QGraphicsScene as the parent window and a QGlWidget as the sole 开发者_如何学Gochild?


There is this bug report on Qt's bug list which seems related to your issue. The bug describes it as a possible driver issue with NVidia cards. It also looks like there is a workaround.

0

精彩评论

暂无评论...
验证码 换一张
取 消