12 addItem(QIcon(),
"(none)", QVariant::fromValue<void*>(
nullptr));
23 setInsertPolicy(QComboBox::NoInsert);
24 setCompleter(
new QCompleter(
names,
this));
25 completer()->setFilterMode(Qt::MatchContains);
26 completer()->setCaseSensitivity(Qt::CaseInsensitive);
35 setCurrentIndex(findData(QVariant::fromValue(
static_cast<void*
>(
const_cast<Face*
>(
face)))));
40 return static_cast<const Face*
>(currentData().value<
void*>());