PDA

View Full Version : Close a QtableWidget cell



SailinShoes
7th March 2008, 13:32
Is there a signal I can use to indicate that the cell edited has been closed in a QtableWidget?

SailinShoes
7th March 2008, 14:57
I have solved my problem for the moment. I use :


connect(qTableWidget, SIGNAL(cellChanged(int, int)), this, SLOT(updateWorktaskEditor()));

for the moment. The problem is that the connect has to be defined after I have finished loading the table? This is a problem...

wysota
7th March 2008, 15:03
You can also connect to QAbstractItemDelegate::closeEditor() signal as it seems more appropriate.