<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
dizou schreef:
<blockquote cite="mid:26483965.post@talk.nabble.com" type="cite">
<pre wrap=""><!---->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.
</pre>
</blockquote>
<br>
Almost :-)<br>
<blockquote>self.editTreeItemButton.clicked.connect(self.EditTreeItemButtonClicked)<br>
</blockquote>
<pre wrap="">
Nick
</pre>
<br>
</body>
</html>