Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

code.js Example File

script/defaultprototypes/code.js
listWidget.addItem("Red");
listWidget.addItem("Blue");
listWidget.addItem("Green");
listWidget.addItem("Cyan");
listWidget.addItem("Yellow");
listWidget.addItem("Purple");
listWidget.addItems(["Orange", "Gray"]);

listWidget.currentItemChanged.connect(
    function(item)
    {
        listWidget.setBackgroundColor(item.text);
    }
);
Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded