Q1. Which of the following classes is a widget class?
- QGraphicsView
- QGraphicsScene
- QGraphicsItem
Q2. Which of the following actions does not change the graphics item's position on the screen?
- Scaling the view.
- Shearing this item's parent item.
- Translating this item.
- Rotating this item's child item.
Q3. Which function is not mandatory to implement in a new class derived from QGraphicsItem?
- boundingRect()
- shape()
- paint()
Q4. Which item class should be used to display a raster image in the Graphics View?
- QGraphicsRectItem
- QGraphicsWidget
- QGraphicsPixmapItem