Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

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.