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. Developing Table and columns which gets updated Dynamically for Desktop- Plz Assit

Developing Table and columns which gets updated Dynamically for Desktop- Plz Assit

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.5k Views
  • 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.
  • S Offline
    S Offline
    softy
    wrote on last edited by
    #1

    HI,
    I am trying to develop a desktop application which has certain number of tables and columns with data in them, that data is required to be updated in the new row and column.

    After some time if some new data comes another row gets added dynamically like this :

    Row 4 r4c1 r4c2 r4c3 r4c4

    and subsequently more rows...
    Row 5 r5c1 r5c2 r5c3 r5c4

    so the table will look after two new updatation of rows as follows : - as shown in the snapshot.
    "snapshot -->":http://www.sendspace.com/file/rxuaul

    I have picked the stardelegate example in QtSDK/Examples/4.7/itemviews and startign to modify it.Plz assit me is this the right direction.
    Rgds
    Softy

    techshek4u.blogspot.com

    1 Reply Last reply
    0
    • G Offline
      G Offline
      giesbert
      wrote on last edited by
      #2

      You have to implement the model and call beginInsertRow / endInsertRow before / after adding the row data.
      The view should then update itself.

      Nokia Certified Qt Specialist.
      Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

      1 Reply Last reply
      0
      • S Offline
        S Offline
        softy
        wrote on last edited by
        #3

        Thanks Gerolf , I am new to Qt but know C++, i will move forward with your "implement the model" word and rest of the tips.
        Rgds,
        Softy

        techshek4u.blogspot.com

        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