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.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support