

def to_qt4_font(self, editor):
    " Returns a QFont object corresponding to a specified object's font\n        trait.\n        "
    return QtGui.QFont(editor.value)

dataset/ETHPy150Open enthought/traitsui/traitsui/qt4/font_editor.py ToolkitEditorFactory.to_qt4_font/original