I guess by calling: virtual bool edit(const QModelIndex &index, EditTrigger trigger, QEvent *event);
Regards, Alex On Tue, Jan 3, 2012 at 6:32 AM, Eckhard Jokisch <q...@eckhard-jokisch.de> wrote: > Hi all, > I have a QTreeView on a custom treemodel. > > I have items with several columns. Editing am item in a specific colum > works well when clicking on it. > treeView->edit(index) just opens the first column. > How do I achieve that the editor is opened by programm flow? > > Kind regards > > Eckhard > _______________________________________________ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/listinfo/interest _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest