Sets a dictionary of the key/value pairing for the items in
        this widget.
        
        :param      props | {<str> key: <str> value, ..}

def setDictionary(self, props):
        """
        Sets a dictionary of the key/value pairing for the items in
        this widget.
        
        :param      props | {<str> key: <str> value, ..}
        """
        if not self._initialized:
            self.setColumns(['', 'Property', 'Value'])
            self.setColumnWidth(0, 22)
            
        self._initialized = True
        
        self.clear()
        
        palette = self.palette()
        item = XTreeWidgetItem(self, ['add another item'])
        item.setForeground(0, palette.color(palette.Disabled, palette.Text))
        item.setTextAlignment(0, QtCore.Qt.AlignCenter)
        item.setFlags(QtCore.Qt.ItemFlags(0))
        item.setFixedHeight(22)
        item.setFirstColumnSpanned(True)
        
        for key, text in props.items():
            self.addEntry(key, text)