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

Go to the source code of this file.

Functions

t1 scale (60, 60, Qt::IgnoreAspectRatio)
 
t2 scale (60, 60, Qt::KeepAspectRatio)
 
t3 scale (60, 60, Qt::KeepAspectRatioByExpanding)
 
size rwidth ()+ = 20.5
 
size rheight ()+ = 5.5
 
QSizeF size (100.3, 10)
 [5]
 
QSizeF size (100, 10.2)
 [6]
 

Variables

QSize t1 (10, 12)
 [0]
 
QSize t2 (10, 12)
 
QSize t3 (10, 12)
 
QSize size (100, 10)
 [0]
 
QSize s (3, 7) = r
 [2]
 
QSize r (-1, 4)
 

Function Documentation

◆ rheight()

size rheight ( ) = 5.5

◆ rwidth()

size rwidth ( ) = 20.5

Referenced by QGraphicsLayoutItemPrivate::setSizeComponent().

+ Here is the caller graph for this function:

◆ scale() [1/3]

t1 scale ( 60  ,
60  ,
Qt::IgnoreAspectRatio   
)

◆ scale() [2/3]

t2 scale ( 60  ,
60  ,
Qt::KeepAspectRatio   
)

◆ scale() [3/3]

t3 scale ( 60  ,
60  ,
Qt::KeepAspectRatioByExpanding   
)

◆ size() [1/2]

QSizeF size ( 100  ,
10.  2 
)

[6]

[7]

◆ size() [2/2]

QSizeF size ( 100.  3,
10   
)

[5]

[6]

Variable Documentation

◆ r

QSizeF r(-1, 4) ( 1,
 
)

◆ s

s ( ,
 
) = r

[2]

[7]

[3]

[4]

[8]

[9]

Definition at line 38 of file src_corelib_tools_qsize.cpp.

◆ size

QSizeF size(100, 10.2) ( 100  ,
10   
)

[0]

[5]

[1]

[2]

[6]

[7]

◆ t1

QSizeF t1(10, 12) ( 10  ,
12   
)

[0]

[4]

[5]

◆ t2

QSizeF t2 ( 10  ,
12   
)

◆ t3

QSizeF t3 ( 10  ,
12   
)