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. beginInsertRows required in QStandardItemModel::insertRow?
Qt 6.11 is out! See what's new in the release blog

beginInsertRows required in QStandardItemModel::insertRow?

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 2 Posters 1.2k Views 2 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.
  • S Offline
    S Offline
    ShinSat
    wrote on last edited by
    #1

    Hello All,

    A quick question.
    Does QStandardItemModel::insertRow require to call beginInsertRows prior?

    Thanks in advance for your help.
    Regards,
    Sat

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Are you trying to re-implement that non-virtual function ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      S 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Are you trying to re-implement that non-virtual function ?

        S Offline
        S Offline
        ShinSat
        wrote on last edited by
        #3

        @SGaist For now, I'm not going to re-implement that function.

        Sat

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Good because it's not a virtual function so it wouldn't make sense to re-implement it.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          S 1 Reply Last reply
          1
          • SGaistS SGaist

            Good because it's not a virtual function so it wouldn't make sense to re-implement it.

            S Offline
            S Offline
            ShinSat
            wrote on last edited by
            #5

            Thanks for your help, @SGaist.
            Now I can go forward with my implementation.
            (Of course, I'll carefully test. ;))

            Sat

            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