UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Tutorial QT/C++ app dynamically updating ListView object from C++ code, handling input fields and buttons

    Scheduled Pinned Locked Moved App Development
    3 Posts 3 Posters 1.4k Views 2 Watching
    Loading More Posts
    • 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.
    • J Offline
      jimmiejohnsson84
      last edited by

      Hi All,

      I put together another tutorial showing you how to update a ListView control dynamically from your C++ code (making sure the GUI updates as you add/remove items to the list view control from your C++ code).

      It also shows some simple layout handling, how to handle input fields and buttons.
      It may very well make it on to Miguels tutorial site later.

      The tutorial is available at : https://drive.google.com/drive/folders/1vJ-ieLIuuvS2Gy_TUddeyGXOPFhaUkug?usp=sharing
      Read the README INSTRUCTIONS.txt to follow the tutorial, or just browse the code if you feel like it.

      Enjoy!
      /Jimmie

      advocatuxA 1 Reply Last reply Reply Quote 3
      • S Offline
        stefwe
        last edited by

        Hi jimmie,

        thank you very much for the example and the explanation. This is exactly the kind of example i'm looking for to get ahead with my project!

        Meizu MX4 16.04 | Nexus 5 16.04

        1 Reply Last reply Reply Quote 0
        • advocatuxA Offline
          advocatux @jimmiejohnsson84
          last edited by

          @jimmiejohnsson84 hi, are you still around us? 🙂

          It would be cool if you can add that tutorial to our common documentation effort. Please, see https://forums.ubports.com/topic/1737/developer-documentation

          Thank you !!

          1 Reply Last reply Reply Quote 3

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post