'Positions the tab switcher in the top-center of the editor.'

def set_dialog_position(self):

    parent = self.parent()
    left = ((parent.geometry().width() / 2) - (self.width() / 2))
    top = 0
    self.move(left, (top + self.tabs.tabBar().geometry().height()))
