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. How to create an grid list UI like the example list view when open QT Generator
QtWS25 Last Chance

How to create an grid list UI like the example list view when open QT Generator

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 222 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.
  • P Offline
    P Offline
    pengxu
    wrote on 3 Mar 2020, 11:01 last edited by
    #1

    2f87c4c6-7998-4440-87bd-e4279aea0b6a-image.png
    Like the title, which widget should I choose to implement an grid UI like this?

    P 1 Reply Last reply 3 Mar 2020, 11:23
    0
    • P pengxu
      3 Mar 2020, 11:01

      2f87c4c6-7998-4440-87bd-e4279aea0b6a-image.png
      Like the title, which widget should I choose to implement an grid UI like this?

      P Offline
      P Offline
      Pl45m4
      wrote on 3 Mar 2020, 11:23 last edited by
      #2

      @pengxu

      If you look at Qt Creator sourcecode, you can see that this is a custom widget with grid view and custom item delegates

      https://github.com/qt-creator/qt-creator/blob/f2351b06e05f5a129df1e6a38557c692687674c6/src/plugins/qtsupport/gettingstartedwelcomepage.cpp#L262

      QGridView is deprecated, I guess, but you can use a QTableWidget or QListWidget.


      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      1 Reply Last reply
      0

      1/2

      3 Mar 2020, 11:01

      • Login

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