Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
src_gui_widgets_qscrollarea.cpp File Reference

(05fc3aef53348fb58be6308076e000825b704e58)

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 )

◆ 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

scrollArea = new QScrollArea

Definition at line 9 of file src_gui_widgets_qscrollarea.cpp.