qgraphicsview Questions

3

Solved

In my application I have QGraphicsScene with pixmap added and all is viewed in QGraphicsView with scrollbars off. The program window is smaller then pixmap and when I press arrow keys or move mouse...
Chink asked 29/5, 2009 at 13:23

5

Solved

Sorry for my beginner's question... What is the easiest way to define procedures, which are executed when MousePressEvent or MouseReleaseEvent occurs? For now I am defining my own class (MyGraphi...
Peculation asked 10/8, 2010 at 13:12

1

Solved

How to write text in a certain cordinate in QGraphicsScene? I was trying to do like this, but with no success. Text has black borders but inside the letters it is white, and I can't make it black. ...
Concordance asked 22/7, 2010 at 18:19

1

Solved

I am working on a mapping application and need to display the data objects using a table, a form and as graphical objects in the map. I'm using PyQt, but that's not really important as this is a Qt...
Supremacist asked 6/7, 2010 at 17:19

2

Solved

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 QGraphics...
Groundling asked 6/6, 2010 at 18:32

2

Solved

This has been bugging me for more than two days now, so i thought i should ask. I am using Qt 4.5.3 (compiled with VC2008) on Win7. I have MyGraphicsView (inherits QGraphicsView) and MyFilter (inh...
Helbona asked 15/3, 2010 at 9:12

1

Solved

I'm using Qt/C++ and trying to draw a large and complex QGraphicsScene. Once I add a lot of objects, panning and zooming become unpleasantly slow. (No surprise here, of course). I've played with de...
Windswept asked 10/2, 2010 at 18:36

1

Solved

I'm trying to test whether a given point (x, y) is located on or close to the outline of a QGraphicsPathItem. Using QGraphicsItem.contains() or .collidesWithItem() / Path() will not do: those als...
Placid asked 6/2, 2010 at 22:0

2

I'm creating some graphic data displaying widget in Qt4 and I was tempted to use the QGraphicsScene for it, create QGraphicsItems for the data items etc. However, I wanted to add some layer of con...
Tirade asked 24/6, 2009 at 14:26

© 2022 - 2024 — McMap. All rights reserved.