Try this:
Qt Code:
  1. if(visRegn.boundingRect() == pWidget->rect() && visRegn.rects().count() == 1) {
  2. qDebug() << "is fully visible";
  3. }
To copy to clipboard, switch view to plain text mode 
It assumes that if visible region is just one single rect equal to whole bounding rect, then widget is fully visible.