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_corelib_tools_qsize.cpp File Reference

(05fc3aef53348fb58be6308076e000825b704e58)

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]

◆ 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,
4  )

◆ s

s ( 3 ,
7  ) = 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  )