QtBase  v6.3.1
Functions | Variables
src_gui_graphicsview_qgraphicsview.cpp File Reference

Go to the source code of this file.

Functions

scene addText ("Hello, world!")
 
view show ()
 
scene addRect (QRectF(-10, -10, 20, 20))
 
view setRenderHints (QPainter::Antialiasing|QPainter::SmoothPixmapTransform)
 
view setBackgroundBrush (QImage(":/images/backgroundtile.png"))
 
view setCacheMode (QGraphicsView::CacheBackground)
 
scene addText ("GraphicsView rotated clockwise")
 
view rotate (90)
 

Variables

QGraphicsScene scene
 [0] More...
 
QGraphicsView view
 [1] More...
 

Function Documentation

◆ addRect()

scene addRect ( QRectF(-10, -10, 20, 20)  )
Here is the caller graph for this function:

◆ addText() [1/2]

scene addText ( "GraphicsView rotated clockwise"  )

◆ addText() [2/2]

scene addText ( Hello,
world!"   
)

◆ rotate()

view rotate ( 90  )

◆ setBackgroundBrush()

view setBackgroundBrush ( QImage(":/images/backgroundtile.png")  )

◆ setCacheMode()

◆ setRenderHints()

◆ show()

view show ( )

Variable Documentation

◆ scene

[0]

[2]

[1]

[3]

[4]

Definition at line 52 of file src_gui_graphicsview_qgraphicsview.cpp.

◆ view

[1]

[2]

Definition at line 71 of file src_gui_graphicsview_qgraphicsview.cpp.