Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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 )

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