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. Please Help, Using QAbstractTableModel and QTableView to add rows like photos?
Qt 6.11 is out! See what's new in the release blog

Please Help, Using QAbstractTableModel and QTableView to add rows like photos?

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 729 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
    Pada_
    wrote on last edited by Pada_
    #1

    0_1520388550292_스크린샷, 2018-03-07 11-08-14.png

    Please Help, Using QAbstractTableModel and QTableView to add rows like photos?
    How to split a row?

    1 Reply Last reply
    0
    • VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by VRonin
      #2

      Just like in MS Excel/LibreOffice Calc, you do not split the rows, you merge the big ones: http://doc.qt.io/qt-5/qtableview.html#setSpan

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      1 Reply Last reply
      4

      • Login

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