QtBase  v6.3.1
Functions | Variables
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] More...
 
QImage image ("happyguy.png")
 
 scrollArea = new QScrollArea
 

Function Documentation

◆ setBackgroundRole()

scrollArea setBackgroundRole ( QPalette::Dark  )
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 52 of file src_gui_widgets_qscrollarea.cpp.

◆ scrollArea

scrollArea = new QScrollArea

Definition at line 56 of file src_gui_widgets_qscrollarea.cpp.