listWidget->setIconSize(QSize(48, 48)); listWidget->setViewMode(QListView::IconMode); listWidget->setWrapping(true);