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. deque in Qml
Qt 6.11 is out! See what's new in the release blog

deque in Qml

Scheduled Pinned Locked Moved Solved QML and Qt Quick
5 Posts 3 Posters 874 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.
  • Bhushan_SureB Offline
    Bhushan_SureB Offline
    Bhushan_Sure
    wrote on last edited by Bhushan_Sure
    #1

    is there any deque in qml or i have to make it ?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      anuj87_
      wrote on last edited by
      #2

      You can create a wrapper in C++ over Qqueue class and expose the object to qml .
      Qml doesn't have as such container .

      Bhushan_SureB 1 Reply Last reply
      3
      • A anuj87_

        You can create a wrapper in C++ over Qqueue class and expose the object to qml .
        Qml doesn't have as such container .

        Bhushan_SureB Offline
        Bhushan_SureB Offline
        Bhushan_Sure
        wrote on last edited by
        #3

        @anuj87_ Thank You :)

        1 Reply Last reply
        0
        • GrecKoG Offline
          GrecKoG Offline
          GrecKo
          Qt Champions 2018
          wrote on last edited by
          #4

          Or you could use a JS array : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array

          Bhushan_SureB 1 Reply Last reply
          3
          • GrecKoG GrecKo

            Or you could use a JS array : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array

            Bhushan_SureB Offline
            Bhushan_SureB Offline
            Bhushan_Sure
            wrote on last edited by
            #5

            @GrecKo Hey man, it's awesome. Nice content. Thank you :)

            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