Results 1 to 1 of 1

Thread: QTableWidget can't scroll automaticlly

  1. #1
    Join Date
    Nov 2009
    Posts
    59
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    20
    Thanked 1 Time in 1 Post

    Default Re: QTableWidget can't scroll automaticlly

    When ai drag a QTableWidget in to UI, then i add new rows but it can't scroll automaticlly. I don't know how to fix this.
    Thanks


    Added after 45 minutes:


    Sorry
    I fixed as below
    Qt Code:
    1. int counterRow=ui->tableWidget->rowCount();
    2. ui->tableWidget->insertRow(counterRow);
    To copy to clipboard, switch view to plain text mode 
    Last edited by nthung; 18th November 2011 at 16:55.

Similar Threads

  1. Replies: 2
    Last Post: 27th June 2011, 19:59
  2. QDial disabling key scroll and mouse wheel scroll
    By ldg20 in forum Qt Programming
    Replies: 2
    Last Post: 3rd June 2010, 00:05
  3. Replies: 0
    Last Post: 28th December 2009, 13:24
  4. How to disable vertical scroll bar in QTableWidget
    By grsandeep85 in forum Qt Programming
    Replies: 2
    Last Post: 14th October 2009, 12:07
  5. Replies: 6
    Last Post: 14th April 2006, 06:39

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.