Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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