The only thing I can see that might work is to do it via setBackground.
QImage *bg = new QImage(":/p1.png"); QBrush *brush = new QBrush(*bg); QStandardItemModel *model = new QStandardItemModel(10,2); int i,j,k; for(j=0;j<=1;j++) { k=0; for(i=0;i<=9;i++) { QStandardItem *item = new QStandardItem("Hello"); item->setForeground(*brush); model->setItem(i,j,item); } } canvasBackgroundTypeSelector->setModel(model);