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
Forum Updated to NodeBB v4.3 + New Features

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 243 Views 1 Watching
  • 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 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?

    Pl45m4P 1 Reply Last reply
    0
    • P pengxu

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

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on 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

      • Login

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