Sets the foreground color for this group item to the inputed color.
        
        :param      color | <QtGui.QColor>

def setForeground(self, color):
        """
        Sets the foreground color for this group item to the inputed color.
        
        :param      color | <QtGui.QColor>
        """
        btn = self.widget()
        if btn:
            palette = btn.palette()
            palette.setColor(palette.WindowText, color)
            btn.setPalette(palette)