'Setup table'

def setup_table(self):

    self.horizontalHeader().setStretchLastSection(True)
    self.adjust_columns()
    self.columnAt(0)
    self.setSortingEnabled(False)
    self.sortByColumn(0, Qt.DescendingOrder)
