[Interest] QTreeView open editor for specific column from within program

Alex Malyushytskyy alexmalvtk at gmail.com
Tue Jan 3 23:32:32 CET 2012


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 <qt at 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 at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest



More information about the Interest mailing list