PDA

View Full Version : delegate's createEditor() widget does not hide the table's cell



hml
3rd April 2010, 12:59
Hi,

I create a custom widget in QStyledItemDelegate::createEditor() overriden function, to be used by a QTableView.
When I double click on the cell to edit it, the editor widget that I return does not hide the previously displayed cell.

Is there a setting to make my widget hide the content of cell?

Rds,

hml
3rd April 2010, 15:09
Basically, the content of the cell displayed before I double click does not get hidden, and remains visible under the editor widget which makes the display impossible

axeljaeger
3rd April 2010, 16:10
Fill the background of your delegate widget.

hml
5th April 2010, 21:20
filled, and now works,

Thank you for your help,

rds,