<span class="Apple-style-span" style="font-family: sans-serif; font-size: 12px; white-space: pre; "><a href="http://img155.imageshack.us/img155/6303/screendc.png">http://img155.imageshack.us/img155/6303/screendc.png</a></span>
<div><font class="Apple-style-span" face="sans-serif" size="3"><span class="Apple-style-span" style="font-size: 12px; white-space: pre;"><br></span></font></div><div><font class="Apple-style-span" face="sans-serif" size="3"><span class="Apple-style-span" style="font-size: 12px; white-space: pre;"><br>
</span></font></div><div><font class="Apple-style-span" face="sans-serif" size="3"><span class="Apple-style-span" style="font-size: 12px; white-space: pre;"><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; white-space: normal; border-collapse: collapse; ">Hello,<div>
<br></div><div>I have made a very small trial application in which there are 2 widgets inside a horizontal layout.(Please see image thru the link). One contains images and the other contains a text editor. The code snippet that adds these widgets to this layout is:</div>
<div><br></div><div><div>mainWidget = QtGui.QWidget()</div><div>    horizontalLayout = QtGui.QHBoxLayout()</div><div>    horizontalLayout.addWidget(ImageWidget())</div><div>    horizontalLayout.addWidget(editorWidget())</div>
<div>    </div><div>My aim is that when i click on an image  in the ImageWidget() it must reads a file corresponding to that image and then display the text in editorWidget(). I have been able to write code to find which image has been l have clicked but then I don&#39;t know to transfer that filename to the editorWidget() in the horizontalLayout. How should I do it. Please help me out. I&#39;m really stuck at it.  :(</div>
<div>    </div>Thanks and regards</div><div>Anshul</div></span></span></font></div>