Hans-Peter Jansen-2 wrote: > > Your best bet is using the selection model > in your signal handler to figure out, which items where selected > 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. -- View this message in context: http://old.nabble.com/Problem-with-class-inheriting-QDialog-tp26421493p26483965.html Sent from the PyQt mailing list archive at Nabble.com. _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
