Converts the current color data to a QPalette.
        
        :return     <QPalette>

def palette( self ):
        """
        Converts the current color data to a QPalette.
        
        :return     <QPalette>
        """
        palette = QPalette()
        
        for colorGroup, qColorGroup in self.GroupMapping.items():
            for colorRole, qColorRole in self.RoleMapping.items():
                color = self.color(colorRole, colorGroup)
                
                palette.setColor( qColorGroup,
                                  qColorRole,
                                  color )
        return palette