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
QScrollAreaPrivate Class Reference

#include <qscrollarea_p.h>

+ Inheritance diagram for QScrollAreaPrivate:
+ Collaboration diagram for QScrollAreaPrivate:

Public Member Functions

 QScrollAreaPrivate ()
 
void updateScrollBars ()
 
void updateWidgetPosition ()
 

Public Attributes

QPointer< QWidgetwidget
 
QSize widgetSize
 
bool resizable
 
Qt::Alignment alignment
 

Detailed Description

Definition at line 29 of file qscrollarea_p.h.

Constructor & Destructor Documentation

◆ QScrollAreaPrivate()

QScrollAreaPrivate::QScrollAreaPrivate ( )
inline

Definition at line 34 of file qscrollarea_p.h.

Member Function Documentation

◆ updateScrollBars()

void QScrollAreaPrivate::updateScrollBars ( )

Definition at line 145 of file qscrollarea.cpp.

References QSize::expandedTo(), QLayoutItem::hasHeightForWidth(), QSizePolicy::hasHeightForWidth(), QWidget::heightForWidth(), QWidget::layout(), qMax(), qSmartMaxSize(), qSmartMinSize(), resizable, QWidget::resize(), Qt::ScrollBarAsNeeded, QWidget::size, QWidget::sizePolicy, updateWidgetPosition(), viewport(), and widget.

+ Here is the call graph for this function:

◆ updateWidgetPosition()

void QScrollAreaPrivate::updateWidgetPosition ( )

Definition at line 135 of file qscrollarea.cpp.

References aligned(), QStyle::alignedRect(), alignment, dir, QWidget::height, QWidget::move(), QWidget::size, viewport(), QStyle::visualRect(), widget, and QWidget::width.

Referenced by updateScrollBars().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ alignment

Qt::Alignment QScrollAreaPrivate::alignment

Definition at line 40 of file qscrollarea_p.h.

Referenced by updateWidgetPosition().

◆ resizable

bool QScrollAreaPrivate::resizable

Definition at line 39 of file qscrollarea_p.h.

Referenced by updateScrollBars().

◆ widget

QPointer<QWidget> QScrollAreaPrivate::widget

Definition at line 37 of file qscrollarea_p.h.

Referenced by updateScrollBars(), and updateWidgetPosition().

◆ widgetSize

QSize QScrollAreaPrivate::widgetSize
mutable

Definition at line 38 of file qscrollarea_p.h.


The documentation for this class was generated from the following files: