Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
src_gui_widgets_qscrollarea.cpp File Reference

Go to the source code of this file.

Functions

imageLabel setPixmap (QPixmap::fromImage(image))
 
scrollArea setBackgroundRole (QPalette::Dark)
 
scrollArea setWidget (imageLabel)
 

Variables

QLabelimageLabel = new QLabel
 [0]
 
QImage image ("happyguy.png")
 
 scrollArea = new QScrollArea
 

Function Documentation

◆ setBackgroundRole()

scrollArea setBackgroundRole ( QPalette::Dark  )

Referenced by QGraphicsView::QGraphicsView(), QGraphicsView::QGraphicsView(), and QGraphicsView::QGraphicsView().

+ Here is the caller graph for this function:

◆ setPixmap()

◆ setWidget()

scrollArea setWidget ( imageLabel  )

Variable Documentation

◆ image

QImage image("happyguy.png") ( "happyguy.png"  )

◆ imageLabel

QLabel* imageLabel = new QLabel

[0]

Definition at line 5 of file src_gui_widgets_qscrollarea.cpp.

◆ scrollArea