34 edit->
setData(index.data(Qt::EditRole).value<QStringList>());
42 model->setData(index, QVariant::fromValue(edit->
data()), Qt::EditRole);
47 if (!qApp->activeWindow())
49 QRect r(qApp->activeWindow()->geometry());
50 r.setLeft(r.left() + r.width() * .1);
51 r.setWidth(r.width() * .8);
52 r.setTop(r.top() + r.height() * .1);
53 r.setHeight(r.height() * .8);
54 editor->setGeometry(r);