Results 1 to 2 of 2

Thread: Qtablewidget insert Record from Qtableview

  1. #1
    Join Date
    Jul 2013
    Posts
    54
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Qtablewidget insert Record from Qtableview

    Hi every body

    i have two tables Qtablewidget and Qtableview

    Qtableview take his data from a database using model

    i want to do like so ,

    when the user select a row in Qtableview and press Key_Entrer

    the selected row append to last row in Qtablewidget ( witch mean copy the selected record and paste it Qtablewidget )

    thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Qtablewidget insert Record from Qtableview

    What is the question?
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. Replies: 4
    Last Post: 10th May 2011, 13:19
  2. Fast insert record into MySql
    By weixj2003ld in forum Qt Programming
    Replies: 3
    Last Post: 15th July 2010, 10:08
  3. Replies: 2
    Last Post: 13th April 2010, 17:50
  4. Replies: 3
    Last Post: 26th March 2010, 05:32
  5. QTableView, add new record?
    By grellsworth in forum Qt Programming
    Replies: 6
    Last Post: 5th July 2007, 16:08

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.