Implementation of Fit (http://fit.c2.com/) for Qt 4.