'get data output and add on QtableWidgets'

def writeModeData(self, data):

    ParentMaster = QStandardItem('[    {0[src]}    >    {0[dst]}    ]    {1[Method]}    {1[Host]}{1[Path]}'.format(data['urlsCap']['IP'], data['urlsCap']['Headers']))
    ParentMaster.setIcon(QIcon('icons/accept.png'))
    ParentMaster.setSizeHint(QSize(30, 30))
    for item in data['urlsCap']['Headers']:
        ParentMaster.appendRow([QStandardItem('{}'.format(item)), QStandardItem(data['urlsCap']['Headers'][item])])
    self.model.appendRow(ParentMaster)
    self.setFirstColumnSpanned(ParentMaster.row(), self.rootIndex(), True)
    self.scrollToBottom()
