Set the color of the upper frame to the background color of the reftrack status

        :param index: the index
        :type index: :class:`QtGui.QModelIndex`
        :returns: None
        :rtype: None
        :raises: None

def set_top_bar_color(self, index):
        """Set the color of the upper frame to the background color of the reftrack status

        :param index: the index
        :type index: :class:`QtGui.QModelIndex`
        :returns: None
        :rtype: None
        :raises: None
        """
        dr = QtCore.Qt.ForegroundRole
        c = index.model().index(index.row(), 8, index.parent()).data(dr)
        if not c:
            c = self.upper_fr_default_bg_color
        self.upper_fr.setStyleSheet('background-color: rgb(%s, %s, %s)' % (c.red(), c.green(), c.blue()))