Is there any way to move a qrect object from its current position, there are many functions ( moveTo, moveLeft, ....) , but all of them move the objec ...
Is there any way to move a qrect object from its current position, there are many functions ( moveTo, moveLeft, ....) , but all of them move the objec ...
I am working with PyQt5 (Version 5.15.7) in PyCharm Community on Windows 11. I have subclassed the QGraphicsScene and added some attribute and method ...
I am building code to present a wafer map based on inspection data. The loop function for plotting the die seems to be working correctly except that t ...
I have the following code, but I want the new window to not set exactly in the center of the main window. I would prefer to move it to the left a litt ...
Does anyone know why QRectF right()/bottom() methods behaves differently than QRect ? The following example returns this result: When I tried t ...
I'm using Ubuntu (17.04) with the Unity desktop. I'm unable to get any geometry information for QSystemTrayIcon: This prints out the following: ...
If I have some painter, some rectangle and some string: And I draw the rectangle with text using painter on some QGraphicsItem object and then we d ...
I understand that the co-ordinate system of a widget is local to the widget. 0,0 top left. I want to draw a frame in the widget, but using the QRect ...
I want to rotate QRectF in PyQT4 by given angle around bottom left corner. I know how to draw a rectangle but I'm stuck on how to rotate it. I tried w ...
Some background - Say you have QGraphicsScene, and only one view, which is a 1-1 scale with the scene. You have a QRect A, which is represents an exte ...
Basically, the tile sums up the question - I am wondering if there is any build in qt class similar to QRect, but for 3D object (to describe a box rat ...
I have a bunch of QRects and some text in a QGraphicsScene that I am trying to animate with QPropertyAnimation. Animating the text works fine but the ...
Consider the following diagram: I have information about the center point of both the lines, the angle in between, and the length of both the lines. ...
I am trying to have a python desktop application with metro (Windows 8) style, so a table of rectangles which can be clicked to do something. I gener ...
I am trying to do something that I thought it would be terribly easy : Adding QRadioButton into my QWizardPage without any layout. The following code ...
The follow snippet results in my compilation yielding "error: passing 'const QRect' as 'this' argument of 'void QRect::setHeight(int)' discards qualif ...
geom does not work right. When you define a new position for the window, part of it is off screen. How to solve this problem? ...
How would I go about drawing a rectangle? I have tried two different ways; Which works fine (even though the parameter is not named nor used), bu ...
This seems trivial, but I didn't found a solution. All I want to do is to set up a coordinate system a QGraphicsScene [-10, -10] to [10, 10] (f.e. wit ...
I'm currently writing an application in PySide, and I want it to save the window dimensions upon exiting. The geometry() method retuns something like ...