Forums

OverviewFelgo 2 Support (Qt 5) › App Button to open new page

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #18458

    Edward

    Hi!

    Am using a navigation stack, but on top of this also want the home page to have app buttons which are the primary form of navigation (as they are more visual)

    how would I set the app buttons on click action to push a new page?

     

    Thanks.

    Edward

    #18461

    Edward

    Please Ignore,

    I was sure I have tried every option and even this solution many times,

    If anyone else is looking at using this as an option, I did the following

     

               AppButton {
                  id: button1
                  text: "Button1"
                  minimumWidth: 300
                  minimumHeight: 300
                  icon: IconType.book
                  onClicked: {
                  navigationStack.push(Qt.resolvedUrl("NewPage.qml"))}
               }
    

     

Viewing 2 posts - 1 through 2 (of 2 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