QRegion will be iterable in Qt 5.8

A novel solution to an old problem
The QRegion class specifies a clip region for a painter. You can also query a QPaintEvent for the region() to limit the paint operations necessary in partial repaints.
Source: Ziobudda.net