docs: def search( self ):
          """
          Looks up the current search terms from the xdk files that are loaded.
          """
          QApplication.instance().setOverrideCursor(Qt.WaitCursor)
          
          terms = nativestring(self.uiSearchTXT.text())
          
          html = []
          
          entry_html = '<a href="%(url)s">%(title)s</a><br/>'\
                       '<small>%(url)s</small>'
          
          for i in range(self.uiContentsTREE.topLevelItemCount()):
              item = self.uiContentsTREE.topLevelItem(i)
              
              results = item.search(terms)
              results.sort(lambda x, y: cmp(y['strength'], x['strength']))
              for item in results:
                  html.append( entry_html % item )
          
          if ( not html ):
              html.append('<b>No results were found for %s</b>' % terms)
          
          self.uiSearchWEB.setHtml(SEARCH_HTML % '<br/><br/>'.join(html))
          
          QApplication.instance().restoreOverrideCursor()