Hello all,

I am having a bit of trouble with my QTableWidget. When you double click 
and edit a text field inside the QTableWidget I need a signal to be emitted 
when enter is pressed/when the data in the table has actually changed.

My test case is self.uiMainWindow.uiExtensionTable

I have tried testcase.cellChanged, testcase.dataChanged and also something 
like this:

self.connect(self.uiMainWindow.uiUnitExtensionTable, QtCore.SIGNAL(self
.uiMainWindow.uiUnitExtensionTable.itemChanged(self.uiMainWindow.uiUnitExtensionTable.currentItem)),
 
self.testPrint) # Gives me native Qt signal is not callable Error

But I have have had no luck so far

cellChanged seems to be the closest I have gotten so far but it activates 
when I double click the item rather than when I have finished editing the 
text field.

Any help would be much appreciated :)

Cheers,

Ben

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/e92615c3-c92f-464b-acde-487d50976d10%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to