45 QListWidgetItem* widgetItem = item(index);
61 QListWidgetItem* widgetItem =
new QListWidgetItem(
this);
62 widgetItem->setSizeHint(itemWidget->sizeHint());
65 setItemWidget(widgetItem, itemWidget);
71 QListWidgetItem* widgetItem = item(index);
81 if ((event->modifiers() == Qt::ControlModifier) &&
82 (event->key() == Qt::Key_A)) {
83 for (
size_t index = 0; index < count(); ++index)
84 item(index)->setSelected(
true);
87 QListWidget::keyPressEvent(event);