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. QTableView delegate insert Error.
Qt 6.11 is out! See what's new in the release blog

QTableView delegate insert Error.

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

    Using Linux, Qt5.4

    I connected the Delegate to the QTableView.
    If you double click, lineEdit will appear and you can edit it.

    What I want to do is double click to be able to edit it, but there is no response and I can just write the text.

    A picture.
    A Picture is double-clicked. When you write the text over there, it goes in.
    0_1554884450569_1.png

    B picture.
    But I want to be like B. Motion is created so that you can modify it.
    0_1554884492286_2.png

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

      @Pada_ said in QTableView delegate insert Error.:

      Motion is created so that you can modify it.

      What do you mean by that ?
      Im not sure what you expect/want to happen in B.
      version.

      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