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. QSqlRelationnalDelegate linked with QSqlRelationnalTableModel doesn't show related datas (but FK id) after edited.
Forum Updated to NodeBB v4.3 + New Features

QSqlRelationnalDelegate linked with QSqlRelationnalTableModel doesn't show related datas (but FK id) after edited.

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 270 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.
  • jerome_isAviableJ Offline
    jerome_isAviableJ Offline
    jerome_isAviable
    wrote on last edited by jerome_isAviable
    #1

    https://gist.github.com/anonymous/02c9cecf6f2e5f8430f3562f92b32ef3

    From the table view, when i edit data (combobox is used... that's fine) on approbation column, after combobox selection, the data show in the field is no more the related data, but the foreign key id .
    I can not see what i forget (see me code on gist github link on the top of this message please), could you help me please ?

    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