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 edit specific column of QTreeWidgetItem, not all column editable but just some column editable

how to edit specific column of QTreeWidgetItem, not all column editable but just some column editable

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

    how to edit specific column of QTreeWidgetItem, not all column editable but just some column editable

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      I wonder if you really don't know how to do a simple search in the documentation... https://doc.qt.io/qt-5/qtreewidgetitem.html#setFlags

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      O 1 Reply Last reply
      5
      • Christian EhrlicherC Christian Ehrlicher

        I wonder if you really don't know how to do a simple search in the documentation... https://doc.qt.io/qt-5/qtreewidgetitem.html#setFlags

        O Offline
        O Offline
        opengpu
        wrote on last edited by
        #3

        @Christian-Ehrlicher not all column editable but just some column editable

        RatzzR 1 Reply Last reply
        0
        • O opengpu

          @Christian-Ehrlicher not all column editable but just some column editable

          RatzzR Offline
          RatzzR Offline
          Ratzz
          wrote on last edited by
          #4

          @opengpu

          Did u look at this https://stackoverflow.com/questions/2801959/making-only-one-column-of-a-qtreewidgetitem-editable/2802379#2802379 ?

          --Alles ist gut.

          1 Reply Last reply
          3

          • Login

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