Radio button text color



  • There are several example using RadioButtonStyle, but I'm trying to do this with javascript. For example, have a simple graph control, and want to use a radio button per line to show or hide it.

    RadioButton
    {

    function setColor(color)
    {
    style= "color to change the text or conrol"
    }
    text : "Line 1"

    onCheckedChanged:
    {
    rawGraph.setLineState(0,checked);
    }

    .....
    }


  • Moderators

    Hi,

    Are you trying to do it without RadioButtonStyle ?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.