def dictionary(self):
        """
        Returns a dictionary of the key/value pairing for the items in
        this widget.
        
        :return     {<str> key: <str> value, ..}
        """
        output = {}
        for i in range(self.topLevelItemCount() - 1):
            item = self.topLevelItem(i)
            output[nativestring(item.text(1))] = nativestring(item.text(2))
        return output
def dictionary ( self ) : output = { } for i in range ( self . topLevelItemCount ( ) - 1 ) : item = self . topLevelItem ( i ) output [ nativestring ( item . text ( 1 ) ) ] = nativestring ( item . text ( 2 ) ) return output
Returns a dictionary of the key/value pairing for the items in
        this widget.
        
        :return     {<str> key: <str> value, ..}