How do I know that some widget is in the area of ​​another widget without calculating the size of the widget?

    1 answer 1

    if (widget1->geometry().intersects(widget2->geometry())) //пересекается else //не пересекается