QGlWidget fullscreen no menu

孤人 提交于 2019-12-12 18:25:25

问题


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 child?


回答1:


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.



来源:https://stackoverflow.com/questions/3481861/qglwidget-fullscreen-no-menu

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!