| 26 | } |
| 27 | |
| 28 | QWidget *SpinBoxDelegate::createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| 29 | { |
| 30 | Q_UNUSED(option) |
| 31 | Q_UNUSED(index) |
| 32 | |
| 33 | QSpinBox *spinBox = factory(); |
| 34 | spinBox->setParent(parent); |
| 35 | |
| 36 | return spinBox; |
| 37 | } |
| 38 | |
| 39 | void SpinBoxDelegate::setEditorData(QWidget *editor, const QModelIndex &index) const |
| 40 | { |
nothing calls this directly
no outgoing calls
no test coverage detected