'add items into TableWidget'

def addRowTableWidget(self, _key, _value):

    Headers = []
    self.THeaders['Config'].append(_key)
    self.THeaders['Value'].append(_value)
    for (n, key) in enumerate(self.THeaders.keys()):
        Headers.append(key)
        for (m, item) in enumerate(self.THeaders[key]):
            item = QTableWidgetItem(item)
            item.setFlags((item.flags() | Qt.ItemIsEditable))
            self.TabSettings.setItem(m, n, item)
    self.TabSettings.resizeColumnToContents(0)
