<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thanks for your responses.<div class="im"><br><br>>> In your example, rope should first infer the object main_widget holds<br>
>> and then its helpMenu attribute and finally its insertItem. When rope<br>>> cannot find the location of insertItem, it has failed to follow this<br>
>> chain (maybe some dynamic or uncommon case). <br><br></div>I've found out that for the line:<div class="im"><br><br>main_widget.helpMenu.insertItem("Hello world",self.hi,0,666)<br><br></div>the helpMenu attribute is defined in main_form.ui<br>
<br>Should I convert this to a .py file using pyuic4 and then import it to my project?<div class="im"><br><br>>> By the way, if you merely want to find the location of methods and<br>>> classes based on their name, you can use the old but effective tags<br>
>> mechanism. <br><br></div>How do I do that?<br>
</blockquote></div><br>