[Qt-interest] EditTriggers options
denebet
denebet at lechebet.bzh
Wed Apr 15 22:32:29 CEST 2009
Hello all,
The QAbstractItemView has an enum for triggering editing. The default seems
to be QAbstractItemView::DoubleClicked. I feel it less than intuitive so I
tried QAbstractItemView::CurrentChange.
In this case, on linux at least, it seems to me that standard copy, cut and
paste almost don't work, or at least in a non predictable way.
Before reporting it as a bug, may some of you try to see if it is a real
problem or if the problem is somewhere between my seat and my keyboard.
If this is the
To test it, just use the tablemodel example, add :
view->setEditTriggers(QAbstractItemView::CurrentChanged);
And try pasting and cutting.
Thanks in advance.
Alain
More information about the Qt-interest-old
mailing list