Top "Qgraphicsview" questions

A QGraphicsView is a class from the Qt toolkit which provides a widget for displaying the contents of a QGraphicsScene.

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 …

c++ qt events qgraphicsview qgraphicsitem
Handling MouseEvents in Qt c++

Sorry for my beginner's question... What is the easiest way to define procedures, which are executed when MousePressEvent or MouseReleaseEvent …

c++ qt qt4 qgraphicsview
How to open svg file in QT (QGraphicsView)

How to open svg file like png file. For example it works for png file: scene=new QGraphicsScene(QRect(10, 10, 680, 520)); view=…

c++ qt qgraphicsview qtgui qtsvg
Qt: having selected items appear on top in QGraphicsScene

So i have a QGraphicsScene with various items. Some of the can take the same coordinates in the scene. When …

c++ qt qgraphicsview qgraphicsitem qgraphicsscene
Adjusting QPen thickness when scaling QGraphicsView?

One amazing feature of QGraphicsView is its ability to scale itself with its scene's content (every QGraphicsItem inserted in the …

qt qgraphicsview qgraphicsitem qgraphicsscene
How to select multiple items without pressing Ctrl key within QGraphicsScene?

In Qt's QGraphicsScene, if I wanna one item, just click it, and click another selectable item will make the selected …

qt qgraphicsview
PyQt mouse events for QGraphicsView

I'm trying to get the coordinates of various mouse events from a QGraphicsView, but I can't figure out how to …

qt pyqt mouseevent qgraphicsview
Antialiasing not working in QGraphicsView

I re-implemented QGraphicsView to have the scene zoomed with a mouse wheel event. The scene contains several QGraphicsPixmapItem. The wheel …

qt antialiasing qgraphicsview aliasing
Layers on QGraphicsView?

Hi I'm making an application that pulls data from a WFS and then displays those layers of data on a …

c++ qt qgraphicsview qgraphicsscene
How to add QLabel to QGraphicsItem

I have a QGraphicsItem that has text on it. I want this text to be editable, so that if the …

c++ qt qt4 qgraphicsview qgraphicsitem