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 can i do to prevent data in the qsqltablemodel

How can i do to prevent data in the qsqltablemodel

Scheduled Pinned Locked Moved General and Desktop
3 Posts 1 Posters 738 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.
  • Y Offline
    Y Offline
    yakine
    wrote on last edited by
    #1

    hello every one
    please help me
    am using a qsqltablemodel and tableview to show the model
    the broblem that i want it's that when i call selct @model.select();@ and when i show the model for the n time it show only the last row selected so what i want it's that the model prevent the data even when i call the select for the n time

    IF YOU HAVE MERCY ON PEOPLE GOD HAVE MERCY ON YOU

    1 Reply Last reply
    0
    • Y Offline
      Y Offline
      yakine
      wrote on last edited by
      #2

      so to be clear i search for how to keep the selection on the model even when i call select for the the 5 time for example

      IF YOU HAVE MERCY ON PEOPLE GOD HAVE MERCY ON YOU

      1 Reply Last reply
      0
      • Y Offline
        Y Offline
        yakine
        wrote on last edited by
        #3

        hellooooooooooooooooooooooo

        IF YOU HAVE MERCY ON PEOPLE GOD HAVE MERCY ON YOU

        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