fix qt5 porting issue for mac

use QPixmapCache for buffered drawing of document list view cause
scroll or touchpad action on OSX is so slow.

still need more work on group document list drawing.