PDA

View Full Version : Problem with Frozen Table Column example



jmalicke
1st December 2014, 03:47
There is an issue with the frozen column example here: http://qt-project.org/doc/qt-4.8/itemviews-frozencolumn.html

When you double click a frozen column cell to edit it, the editor delegate appears on the screen as expected.

When you have a frozen column cell selected, and begin typing to edit the cell, the editor delegate never appears. Instead, the delegate for the (hidden) table underneath the frozen table is used, which means that an editing widget is never displayed on the screen as it is hiding behind the frozen table. This is inconsistent with how cells are supposed to appear when being edited.

How can the example be modified to have the proper delegate shown when the user beings typing on a frozen cell?