QWidget* EditDelegate::createEditor(
QWidget* parent,
const QStyleOptionViewItem& option,
const QModelIndex& index) const
{
QLineEdit* editor = NULL;
if(index.isValid())
{
editor->resize(50,1000); //this can not work in win7
}
return editor;
}
EditDelegate является подклассом QItemDelegate
что вы, ребята, думаете на этот вопрос?