def to_qt4_color ( self, editor ):
        if self.mapped:
            return getattr( editor.object, editor.name + '_' )

        return getattr( editor.object, editor.name )

    #---------------------------------------------------------------------------
    #  Gets the application equivalent of a PyQt value:
    #---------------------------------------------------------------------------
Gets the PyQt color equivalent of the object trait.
dataset/ETHPy150Open enthought/traitsui/traitsui/qt4/color_editor.py/ToolkitEditorFactory.to_qt4_color