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. [SOLVED]how to make a custom "Table" like this?
Qt 6.11 is out! See what's new in the release blog

[SOLVED]how to make a custom "Table" like this?

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 1.4k 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.
  • O Offline
    O Offline
    opengpu
    wrote on last edited by
    #1

    i want to have a "Table" kind widget like this:

    1. each row item can include vaiouse other controls, such as label, editline, combo, button, etc.
    2. i can add or delete , or insert a row.

    is there any controls already exist? or which controls should i inherite from.
    thank you

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      There's "QTableWidget":http://qt-project.org/doc/qt-5/qtablewidget.html. You can "insert/remove":http://qt-project.org/doc/qt-5/qtablewidget.html#public-slots rows and columns and you can "set any widget":http://qt-project.org/doc/qt-5/qtablewidget.html#setCellWidget on a cell.

      1 Reply Last reply
      0
      • IamSumitI Offline
        IamSumitI Offline
        IamSumit
        wrote on last edited by
        #3

        QTableWidget or QTableView

        Be Cute

        1 Reply Last reply
        0
        • O Offline
          O Offline
          opengpu
          wrote on last edited by
          #4

          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