Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. GridView for a QAbstractListModel

GridView for a QAbstractListModel

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 560 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.
  • M Offline
    M Offline
    mititelud
    wrote on last edited by
    #1

    hello,

    i've implemented an QList and exposed it to qml through a listview.
    How can I print it as a GridView?

    on 5 columns and god nows how many rows.

    i've already tried:
    @
    Grid
    {
    columns:3
    Component
    {
    //code for printing the list element
    }
    }
    @
    with no success

    please help

    :)

    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