def prj_resolution_data(project, role):
    """Return the data for resolution

    :param project: the project that holds the data
    :type project: :class:`jukeboxcore.djadapter.models.Project`
    :param role: item data role
    :type role: QtCore.Qt.ItemDataRole
    :returns: data for the resolution
    :rtype: depending on role
    :raises: None
    """
    if role == QtCore.Qt.DisplayRole:
        return '%s x %s' % (project.resx, project.resy)
def prj_resolution_data ( project , role ) : if role == QtCore . Qt . DisplayRole : return '%s x %s' % ( project . resx , project . resy )
Return the data for resolution

    :param project: the project that holds the data
    :type project: :class:`jukeboxcore.djadapter.models.Project`
    :param role: item data role
    :type role: QtCore.Qt.ItemDataRole
    :returns: data for the resolution
    :rtype: depending on role
    :raises: None