Our combo box serves as an editor widget, which is why we convert the object via qobject_cast: if (!box || !model) QItemDelegate::setEditorData(editor, ...
確定! 回上一頁