Important: Please read the Qt Code of Conduct -

Accessing Tab components

  • HI, I want to access component given to addTab() or set properties before giving it to my tab creating function. Is this possible? I've a simple example:

    id: mycomponent
    property string myString:

    function loadTab("name"){
    var tab = tabview.addTab(name,mycomponent) true;

    I want to be able to set myString on mycomponent. Is the only option to use
    getTab()? How would I do that?

    Best regards

Log in to reply