dizou schreef:
What does that mean? One thing I thought I could do is have my TreeWidget have a GetSelectedItem function. Then in my Main Window, when I click the button, it calls a function that will call the GetSelectedItem function, then emit a signal with the return value as a parameter. Is that possible?With the new way of connecting signals and slots, would I then have something like this: self.editTreeItemButton.clicked.connect(self.EditTreeItemButtonClicked()) Thanks. Almost :-) self.editTreeItemButton.clicked.connect(self.EditTreeItemButtonClicked) Nick |
_______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt