hi, i want to hide the name of the icon in the qlistwidget
i have the following:
ui->listWidget->setViewMode(QListWidget::IconMode);
QListWidgetItem *itm = new QListWidgetItem(nm);
itm->setIcon(QIcon(":/new/prefix1/image.jpg"));
ui->listWidget->addItem(itm);
now the list widget contains the icon and the text (image.jpg)below this icon
how can i hide this text and only show the icon?
Thank you

Reply With Quote


