'get data output and add on QtableWidgets'

def writeModeData(self, data):

    for name in self.pluginsName:
        if (name in data):
            self.THeaders['Output'].append(data[len('[{}]'.format(name)):])
            self.THeaders['Plugin'].append('[{}]'.format(name))
    Headers = []
    self.setRowCount(len(self.THeaders['Plugin']))
    for (n, key) in enumerate(self.THeaders.keys()):
        Headers.append(key)
        for (m, item) in enumerate(self.THeaders[key]):
            item = QTableWidgetItem(item)
            if (key == 'Plugin'):
                item.setTextAlignment((Qt.AlignVCenter | Qt.AlignCenter))
            self.setItem(m, n, item)
    self.setHorizontalHeaderLabels(self.THeaders.keys())
    self.verticalHeader().setDefaultSectionSize(27)
    self.scrollToBottom()
