Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Behind the Scenes
  3. Wiki Discussion
  4. New wiki page: How to expose lists to QML
QtWS25 Last Chance

New wiki page: How to expose lists to QML

Scheduled Pinned Locked Moved Wiki Discussion
10 Posts 4 Posters 4.4k 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.
  • S Offline
    S Offline
    sigrid
    wrote on last edited by
    #1

    I have put together a "wiki page":http://developer.qt.nokia.com/wiki/How_to_expose_lists_to_QML explaining how to expose list like properties to QML. It contains an example that illustrates how it can be done. Feel free to extend the example to show other use cases for the list.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sfilippidis
      wrote on last edited by
      #2

      Nice! Just translated it to Greek! ;-)

      "How to expose lists to QML (in Greek)":http://developer.qt.nokia.com/wiki/How_to_expose_lists_to_QML_Greek

      However, since it finishes with the header (title): Appending items to the list in QML, I suppose that it is still a work in progress?

      https://www.filippidis.name/

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kamalakshantv
        wrote on last edited by
        #3

        Thank you for this wiki article. It is really helpful.

        However, will you be expanding it or missed some link - at the end of the article there is this "Appending items to the list in QML" written in bold but nothing below it.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sigrid
          wrote on last edited by
          #4

          Thanks :-) I wanted to include a note regarding alteration of the list as well, but forgot to actually put it in. It is "here ":http://developer.qt.nokia.com/wiki/How_to_expose_lists_to_QML now though.

          1 Reply Last reply
          0
          • K Offline
            K Offline
            kamalakshantv
            wrote on last edited by
            #5

            [quote author="sigrid" date="1312789969"]Thanks :-) I wanted to include a note regarding alteration of the list as well, but forgot to actually put it in. It is "here ":http://developer.qt.nokia.com/wiki/How_to_expose_lists_to_QML now though.[/quote]

            Thank you for the update.

            Wondering if updating the wiki with articles is a part of your job. Or you do it in your free time.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              sigrid
              wrote on last edited by
              #6

              It is part of my job.

              1 Reply Last reply
              0
              • K Offline
                K Offline
                kamalakshantv
                wrote on last edited by
                #7

                [quote author="sigrid" date="1312790595"]It is part of my job.[/quote]

                So these articles should be ideally listed under the "stuff by staff" section right. Or is this section meant for something else.

                1 Reply Last reply
                0
                • M Offline
                  M Offline
                  mgran
                  wrote on last edited by
                  #8

                  [quote author="QtK" date="1312792416"]
                  [quote author="sigrid" date="1312790595"]It is part of my job.[/quote]

                  So these articles should be ideally listed under the "stuff by staff" section right. Or is this section meant for something else.[/quote]

                  It's meant to be a fixed set of links that is useful across all wiki pages, like the wiki help pages listed there now. The title "Stuff by staff" was a temp title we had there during development but Alexandra took a liking to it so it made it to the live server :)

                  Project Manager - Qt Development Frameworks

                  1 Reply Last reply
                  0
                  • K Offline
                    K Offline
                    kamalakshantv
                    wrote on last edited by
                    #9

                    [quote author="mariusg" date="1312793802"]
                    [quote author="QtK" date="1312792416"]
                    [quote author="sigrid" date="1312790595"]It is part of my job.[/quote]

                    So these articles should be ideally listed under the "stuff by staff" section right. Or is this section meant for something else.[/quote]

                    It's meant to be a fixed set of links that is useful across all wiki pages, like the wiki help pages listed there now. The title "Stuff by staff" was a temp title we had there during development but Alexandra took a liking to it so it made it to the live server :)[/quote]

                    Thanks for the clarification.

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      sfilippidis
                      wrote on last edited by
                      #10

                      [quote author="sigrid" date="1312789969"]Thanks :-) I wanted to include a note regarding alteration of the list as well, but forgot to actually put it in. It is "here ":http://developer.qt.nokia.com/wiki/How_to_expose_lists_to_QML now though.[/quote]

                      Just edited the Greek translation

                      "How to expose lists to QML (in Greek)":http://developer.qt.nokia.com/wiki/How_to_expose_lists_to_QML_Greek

                      to come closer with the latest English version. ;-)

                      https://www.filippidis.name/

                      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