Top "Qgraphicsview" questions

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

GIF animation in Qt

I have used QGraphicsView, QGraphicsScene classes in order to show a picture in a widget like this: m_Scene->…

c++ qt qgraphicsview
Qt Graphics View , show image ! , Widget

Here is my code : void MainWindow::on_actionOpen_Image_triggered() { QString fileName = QFileDialog::getOpenFileName(this,"Open Image File",QDir::currentPath()); …

image qt graphics view qgraphicsview
QGraphicsView Zooming in and out under mouse position using mouse wheel

I have an application with a QGraphicsView window in the middle of the screen. I want to be able to …

c++ qt qgraphicsview
Qt GUI Development - Displaying a 2D grid using QGraphicsView

I'm new to Qt development so I've being trying to research a solution to a user interface I need to …

c++ qt user-interface qgraphicsview
Tracking mouse move in QGraphicsScene class

I subclassed QGraphicsScene and added method mouseMoveEvent to handle mouse move event. I created a ruler on top of GraphicsView …

qt qgraphicsview qobject qgraphicsscene
Can I get mouse events in a QGraphicsItem?

I have subclassed QGraphicsRectItem, and it's not receiving any mouse events. I've seen other questions similar to this say I …

qt qgraphicsview qgraphicsitem qmouseevent
Text in a QGraphicsScene

How to write text in a certain cordinate in QGraphicsScene? I was trying to do like this, but with no …

text qgraphicsview
How to set QGraphicsScene/View to a specific coordinate system

I want to draw polygons in a QGraphicsScene but where the polygons has latitude/longitude positions. In a equirectangular projection …

qt projection qgraphicsview qgraphicsscene
Get visible rectangle of QGraphicsView?

I've been pulling my hair out with this one for hours. There's a thread here about it, but nothing seems …

c++ qt qgraphicsview
QGraphicsScene::clear() clearing scene but not the view

I use a custom class (Configuration) derived from QGraphicsItem and I add its objects to a QGraphicsScene, which is then …

qt debugging qgraphicsview qgraphicsitem qgraphicsscene