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

Forums

OverviewFelgo 2 Support (Qt 5) › Separating page code from navigation

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #19783

    Gabor Toth

    Hi,

    A section of my Main.qml looks like this:

            NavigationItem {
                title: "Add a Friend"
    
                NavigationStack {
                    Page {
                        id: addFriend1
                        title: "Add a Friend"
                             }
                }
            }
        }
    

    The addFriend1 code is a !long data entry form and I don’t want to include it on the navigation page. Is there a way including the whole page in the navigation page by referencing it?

    Thank you.

    #19785

    Günther
    Felgo Team

    Hi Gabor,

    yes, sure you can separate your components into different QML files.

    I recommend to have a look at our open-source demos and examples to see how the projects are set up.
    We also provide some tutorials to learn different aspects of the engine – they are definitely worth a look. The most basic one is Getting Started with Felgo and Qt Creator.

    Best,
    Günther

    #19793

    Gabor Toth

    Thank you.

Viewing 3 posts - 1 through 3 (of 3 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded