constexpr bool isEmpty() const noexcept
Returns true if the rectangle is empty, otherwise returns false.
QRect intersected(const QRect &other) const noexcept
QRect united(const QRect &other) const noexcept
The QRegion class specifies a clip region for a painter.
bool isEmpty() const
Returns true if the region is empty; otherwise returns false.