Results 1 to 1 of 1

Thread: [Solved] QTableView check is row is shown in visible area

  1. #1
    Join Date
    Dec 2008
    Location
    Poland
    Posts
    383
    Thanks
    52
    Thanked 42 Times in 42 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Android

    Default [Solved] QTableView check is row is shown in visible area

    Hello,
    I have QTableView with i.e. 100 items (standard item model). View visible area can display only 10 items. Now I want to check if item i.e. 50 is in view visible area.
    Question how to do that?

    Thanks for any advice.

    EDIT:
    SOLVED.
    Solution was to compare regions, my fault.
    Last edited by Talei; 17th October 2011 at 21:48.
    In the near future - corporate networks reach out to the stars. Electrons and light flow throughout the universe.
    The advance of computerization however, has not yet wiped out nations and ethnic groups.

Similar Threads

  1. Replies: 0
    Last Post: 11th January 2011, 12:31
  2. QTableView selected row not in visible area
    By mstegehu in forum Qt Programming
    Replies: 3
    Last Post: 22nd June 2010, 07:45
  3. Replies: 1
    Last Post: 9th December 2009, 08:44
  4. QTextArea getting the current line of visible area(scroll)
    By ubuntudevelop78 in forum Qt Programming
    Replies: 0
    Last Post: 26th November 2009, 06:19
  5. Replies: 1
    Last Post: 19th January 2007, 11:28

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.