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

Method createEditor

src/SpinBoxDelegate.cpp:28–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28QWidget *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
39void SpinBoxDelegate::setEditorData(QWidget *editor, const QModelIndex &index) const
40{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected