qgraphicsitem
QGraphicsItem inserting order
I have project which use QGraphicsScene + QGraphicsView for QGraphicsItem organizing. All graphics items are movable and selectable.[详细]
2023-03-09 03:49 分类:问答Why am I unable to perform a calculation for the position in a sceneEvent for a QGraphicsObject?
I have implemented QGraphicsObject with QTouchEvents and reimplemented the sceneEvent function. bool LynxItem::sceneEvent(QEvent *event)[详细]
2023-03-05 21:09 分类:问答Forcing QGraphicsItem To Stay Put [duplicate]
This question already has an answer here: Draw an item in a static location relative to the QGraphicsView[详细]
2023-03-02 00:40 分类:问答pyqt graphicsitem mouse enter event
I am trying to connect to the mouse-enter event of QGraphicsItems that are placed onto a QGraphicsScene and visualized through a QGraphicsView. From what I understand, the method to override for this[详细]
2023-02-20 12:31 分类:问答Dragging rectangle bigger than item itself using QGrahicsRectItem
I have a problem with a QGrahicsRectItem in a QGraphicsScene. What I would like is to be able to move the item with mouse. But the problem is that in my case, the dragging rectangle is bigger than the[详细]
2023-02-20 10:06 分类:问答How to display this data buffer in a QImage
I have an image I am trying to display in a QImage. This is the snippet of code that populates the rows*cols image:[详细]
2023-02-17 17:27 分类:问答Moving a QGraphicsItem around a central point in PyQt4
I\'m using Python 2.7 and PyQt4. I am trying to have a half-circle object that is a QGraphicsItem. I want to be able to move it using the mouse, by clicking and dragging. I can create the object and m[详细]
2023-02-15 14:09 分类:问答Passing event from QGraphicsScene to QGraphicsItem in C++ with Qt
I have a base class extending QGraphicsScene... class BaseScene : public QGraphicsScene in t开发者_运维技巧hat class is the protected event...[详细]
2023-02-15 09:51 分类:问答Calculate scene coordinates from QGraphicsLinearLayout
In my application I used custom objects which derive from QGraphicsWidget and I put them inside QGraphicsLinearLayout. But now I need to find scene co开发者_StackOverflow社区ordinates of each item. Is[详细]
2023-02-06 03:06 分类:问答Qt - how to map ,map coordinates to image pixel in an scene
I have created an Scene in Qt where i took the an image from open street map[.png] and placed it into the Sce开发者_如何学JAVAne . I have also exported its coordinates in an another file .My Question[详细]
2023-02-06 02:22 分类:问答