'pyqt5 qgraphicsview overlay qglwidget
It is being rendered in qglwidget and I want to draw a rectangle on it with qgraphicsview.
qglwidget belongs to qframe.
When drawing a rectangle, the rendering should not stop and it should not be obscured.
self.glwidgetView = ProbeView(self.Frame)
self.graphicsView = DetectionView(self.Frame)
self.graphicsView .setStyleSheet('border:none; background-color:transparent;')
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
