MCPcopy Create free account
hub / github.com/dail8859/NotepadNext / updateEditorGeometry

Method updateEditorGeometry

src/ComboBoxDelegate.cpp:60–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60void ComboBoxDelegate::updateEditorGeometry(QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const
61{
62 Q_UNUSED(index)
63
64 editor->setGeometry(option.rect);
65}
66
67
68QSize ComboBoxDelegate::sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected