python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Draw a border around all objects/shapes in a QGraphicsItem paint method
I want to draw a border around all objects/shapes within a QGraphicsItem Paint method. (The green and red circles are part of a separate item, so they don't count in this situation)
I am currently dra...
Adam Sirrelle
Votes: 0
Answers: 1
Why does the ellipse position not similar to my mouse position?
I have a code here that will add an ellipse and line when mouse is clicked.
class Viewer(QtWidgets.QGraphicsView):
def __init__(self, parent):
super(leftImagePhotoViewer, self).__init__(p...
Elle
Votes: 0
Answers: 1
Is it possible to disable/enable mouseEvent using a push button?
In my application I have two push button, namely "draw" and "stop".When the push button ("draw") is push by the user,he/she can draw or addItems in my QGraphicScene.I am ...
Elle
Votes: 0
Answers: 1
How to insert pointer in QGraphicsItem so when they get selected pointer will be accessed?
I want to select rectangle/polyline through scene with mouse click and should be able to print it's name and other property. It's name and other properties are in the graph node. But I dont want to i...
tushar
Votes: 0
Answers: 1