http://qt-project.org/doc/qt-4.8/qgr...tem.html#shape

Cheers,
_