Results 1 to 3 of 3

Thread: how to update qtable

  1. #1
    Join Date
    May 2007
    Posts
    4
    Qt products
    Qt3
    Platforms
    Unix/X11

    Post how to update qtable

    {
    table->SetText(1,1,"yes");
    table->SetText(1,1,"no");
    }

    i didn't get 'yes'.. only got 'no' in the table... i want first yes then no.... how to solve this issue.. is any threading method used??

  2. #2
    Join Date
    Feb 2006
    Location
    Romania
    Posts
    2,744
    Thanks
    8
    Thanked 541 Times in 521 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to update qtable

    You're setting the text in the same table cell, that is why you only see no.

    Do you want to see "yes" and then "no" after some delay?
    Then use a QTimer, no thread should be necessary. In the time out slot you just change the text, from yes to no, or whatever you need.

    regards

  3. #3
    Join Date
    May 2007
    Posts
    4
    Qt products
    Qt3
    Platforms
    Unix/X11

    Post Re: how to update qtable

    plz give some examples

Similar Threads

  1. How to update statusbar and tooltips
    By aamer4yu in forum Qt Programming
    Replies: 9
    Last Post: 21st December 2006, 12:38
  2. QSlider Update Problem
    By December in forum Qt Programming
    Replies: 4
    Last Post: 10th September 2006, 04:02
  3. Problem with QTable
    By zlatko in forum Qt Programming
    Replies: 1
    Last Post: 16th February 2006, 10:00
  4. QTable..Vs.. QListView
    By :db:sStrong in forum Qt Programming
    Replies: 1
    Last Post: 15th February 2006, 21:03
  5. Update a row
    By dragon in forum Newbie
    Replies: 9
    Last Post: 17th January 2006, 17:11

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
  •  
Qt is a trademark of The Qt Company.