qgraphicsitem
Drawing widgets (such as buttons) over QGraphicsView
How do I draw interactive widgets such as QButtons and Line Edits over a QGraphicsView? For ex, I have selected a region over an image in an image editing app which displays an image with QGraphicsVie[详细]
2023-01-02 06:20 分类:问答QGraphicsItem repaint
I want to change text color inside a rectangle periodically. Here is my trial: TrainIdBox::TrainIdBox()[详细]
2023-01-01 14:03 分类:问答QGraphicsItem doesn't receive mouse hover events
I have a class derived from QGraphicsView, which contains QGraphicsItem-derived elements.I want these elements to change color whenever the mouse cursor hovers over them, so I implemented hoverEnterEv[详细]
2023-01-01 08:20 分类:问答How to draw QGraphicsItem in a MFC view
I\'m starting using Qt in my application. My application is MFC based. I want to draw开发者_开发问答 some QGraphicsItems in my currect MFC view, is it possible?[详细]
2022-12-30 04:56 分类:问答Container item implementation
I am working in Train Traffic Controller software project. My responsibility in this project is to develop the visual railroad GUI.[详细]
2022-12-29 18:11 分类:问答Subclassing QGraphicsItemGroup
I have system that has classes derived from Q开发者_StackOverflowGraphicsWidget. I manage derived class objects in layouts on QGraphicsScene. Now I need a compound item that contain two or more QGraph[详细]
2022-12-28 18:09 分类:问答Qt - invalid conversion to child class
I\'m drawing polygons using the Graphics View framework. I added a polygon to the scene with this: QGraphicsPolygonItem *poly = scene->addPolygon(QPolygonF(vector_of_QPointF));[详细]
2022-12-28 10:49 分类:问答QGraphicsItem unselect redraw problem
Very simple Qt GUI application: On the scene I have multiple ci开发者_如何学运维rcles implemented as QGraphicsItem[详细]
2022-12-08 17:41 分类:问答