Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How to get results from another view
Qt 6.11 is out! See what's new in the release blog

How to get results from another view

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 756 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nier
    wrote on last edited by
    #1

    In my app, i need to add somes items one by one before submitting it.

    To acheive that i would like to get the result from another view.

    Push Button select -> get a new view with the list of items -> filter -> choose one -> the item will be added to the list -> repeat

    How can i acheive that with Qml, with android/java i will have used startActivityForResult()

    Thnk

    T 1 Reply Last reply
    0
    • N nier

      In my app, i need to add somes items one by one before submitting it.

      To acheive that i would like to get the result from another view.

      Push Button select -> get a new view with the list of items -> filter -> choose one -> the item will be added to the list -> repeat

      How can i acheive that with Qml, with android/java i will have used startActivityForResult()

      Thnk

      T Offline
      T Offline
      Tirupathi Korla
      wrote on last edited by
      #2

      @nier You can use function calls here. call a function with selected item data before navigating back to previous screen.

      1 Reply Last reply
      0
      • N Offline
        N Offline
        nier
        wrote on last edited by nier
        #3

        @Tirupathi-Korla Could you be more explicit.
        Where do i need to store the selected items so i can add them to the previous screen ?
        It's my first project with Qml.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved