QRect Screen1( -150, -100, 100, 100 );QRect Box1 ( -50, -50, 50, 50 );qDebug() << Screen1.intersects( Box1 ); // falseQRect Screen2( -100, -100, 100, 100 );QRect Box2 ( -50, -50, 50, 50 );qDebug() << Screen2.intersects( Box2 ); // true
QRect(int x, int y, int width, int height)