'get data output and add on QtableWidgets'

def writeModeData(self, data):

    self.THeaders['Username'].append(data['POSTCreds']['User'])
    self.THeaders['Password'].append(data['POSTCreds']['Pass'])
    self.THeaders['Url'].append(data['POSTCreds']['Url'])
    self.THeaders['Source/Destination'].append(data['POSTCreds']['Destination'])
    Headers = []
    self.setRowCount(len(self.THeaders['Username']))
    for (n, key) in enumerate(self.THeaders.keys()):
        Headers.append(key)
        for (m, item) in enumerate(self.THeaders[key]):
            item = QTableWidgetItem(item)
            item.setTextAlignment((Qt.AlignVCenter | Qt.AlignCenter))
            self.setItem(m, n, item)
    self.setHorizontalHeaderLabels(self.THeaders.keys())
    self.verticalHeader().setDefaultSectionSize(27)
    self.scrollToBottom()
