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. Using delegates in subWindows (infinite setModelData())
Forum Updated to NodeBB v4.3 + New Features

Using delegates in subWindows (infinite setModelData())

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 496 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.
  • D Offline
    D Offline
    Dani Minch
    wrote on last edited by
    #1

    I try to make my first MDI-app in Qt. I create a TableView in a window ,set delegate for it and call openPersistentEditor() for each cell. After that when I change a value in some cell, the folllowing occurs: after finish the editing setModelData() is called, but every next click on any point in this window call setModelData() again. When I change window type to Window, setModelData called only once. Is that normal?
    I don't know, which code may be neccesary for solving my problem, because i tried to do something on difrent delegates, windows and TableView and without success.

    May be we can talk Russian, if it's possible?

    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