()
Get MonospaceFont for OS
Get MonospaceFont for OS
Get MonospaceFont for OS
def get_os_monospace_font():
    """ Get MonospaceFont for OS
    """
    platform = sys.platform

    if 'linux' in platform:
        return QFont('Monospace', 10)
    elif 'darwin' in platform:
        return QFont('Monaco', 11)
    elif 'freebsd' in platform:
        return QFont('Bitstream Vera Sans Mono', 10)
    else:
        # windows
        return QFont('Courier', 10)
def get_os_monospace_font ( ) : platform = sys . platform if 'linux' in platform : return QFont ( 'Monospace' , 10 ) elif 'darwin' in platform : return QFont ( 'Monaco' , 11 ) elif 'freebsd' in platform : return QFont ( 'Bitstream Vera Sans Mono' , 10 ) else : # windows return QFont ( 'Courier' , 10 )