def summary( self ):
     child_text = []
     
     for c in range(self.childCount()):
         child = self.child(c)
         text = [child.text(0), child.text(1), child.text(2), child.text(3)]
         text = map(str, text)
         
         while ( '' in text ):
             text.remove('')
         
         child_text.append( ' '.join(text) )
     
     return ' '.join(child_text)
    def summary(self):
        child_text = []

        for c in range(self.childCount()):
            child = self.child(c)
            text = [child.text(0), child.text(1), child.text(2), child.text(3)]
            text = map(str, text)

            while ('' in text):
                text.remove('')

            child_text.append(' '.join(text))

        return ' '.join(child_text)
 def summary( self ):
     """
     Creates a text string representing the current query and its children
     for this item.
     
     :return     <str>
     """
     child_text = []
     
     for c in range(self.childCount()):
         child = self.child(c)
         text = [child.text(0), child.text(1), child.text(2), child.text(3)]
         text = map(str, text)
         
         while ( '' in text ):
             text.remove('')
         
         child_text.append( ' '.join(text) )
     
     return ' '.join(child_text)
Exemple #4
0
    def summary(self):
        """
        Creates a text string representing the current query and its children
        for this item.
        
        :return     <str>
        """
        child_text = []

        for c in range(self.childCount()):
            child = self.child(c)
            text = [child.text(0), child.text(1), child.text(2), child.text(3)]
            text = map(str, text)

            while ('' in text):
                text.remove('')

            child_text.append(' '.join(text))

        return ' '.join(child_text)