summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_corelib_tools_qrect.cpp
blob: fdab5067470f5ababf66ef627b8aad42b395c307 (plain)
1
2
3
4
5
6
7
8
9
10
//! [0]
QRect r1(100, 200, 11, 16);
QRect r2(QPoint(100, 200), QSize(11, 16));
//! [0]


//! [1]
QRectF r1(100, 200, 11, 16);
QRectF r2(QPoint(100, 200), QSize(11, 16));
//! [1]