When I was using QGridLayout to display my widgets, only the widget was shown and the part of the image that was transparent was not shown. Now I switched to using QGraphicsScene and QGraphicsView, an
I have an application in which the user can draw some points with the mouse and I used QGraphicsView to do that.
I wrote a program to experiment with poppler pdf library. I am able to display pdf pages into a graphicsView with a method:
I have written code for my graph and it works fine, but when I need to resize it, problems start. Resize event doesn\'t fit my QGraphicScene to QGraphic开发者_运维技巧sView, but same code in paint ev
I am using a QMainWindow for my app and want to do some openGL rendering. 2 approaches: 1) set as central widget a QGLWidget and do all the rendering there,
If I have a QGraphicsItem that I want to put in a QGraphicsItemGroup, in a loop..like so: for(int i =0; i < 2; i++)
I have a scene which has a basically table-like layout. Thus I\'d like it to scroll like a table... one row or column at a time. Specifically, the upper left visible item should have it\'s upper left
I have a QScene object in QWidget and inside QWidget I have QGraphicsView. I convert images to QPixMap give it to QScene as an element and I defined touch events in QGraphicsView class. In QGraphicsVi
Let\'s say I have two images, image A and image B. Using QGraphicsScene and QGraphicsView, how can I draw image A to th开发者_JS百科e background, and layer image B on top of image A?
I\'m making a program that will display a few images from a directory beside each other. When I scale the images to fit within the height of the window (ie - QGraphicsPixmapItem->scale(...)), it runs