26 void setMinMaxRange(
int min,
int max);
27 void setDefaultValue(
int defValue, QVariant defaultReturn);
30 QWidget *createEditor(QWidget *parent,
const QStyleOptionViewItem &option,
const QModelIndex &index)
const;
31 void setEditorData(QWidget *editor,
const QModelIndex &index)
const;
32 void setModelData(QWidget *editor, QAbstractItemModel *model,
const QModelIndex &index)
const;
42 void onValueChanged(
int i);