def set_index(self, index):
        """Display the data of the given index

        :param index: the index to paint
        :type index: QtCore.QModelIndex
        :returns: None
        :rtype: None
        :raises: None
        """
        self.index = index
        self.reftrack = index.model().index(index.row(), 18, index.parent()).data(REFTRACK_OBJECT_ROLE)
        self.set_maintext(self.index)
        self.set_identifiertext(self.index)
        self.set_type_icon(self.index)
        self.disable_restricted()
        self.hide_restricted()
        self.set_top_bar_color(self.index)
        self.set_status_buttons()
        self.set_menu()