Results 1 to 4 of 4

Thread: Is there a way to capture each & every element in tree/table view like model::data()

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2015
    Location
    India
    Posts
    185
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    8
    Thanked 14 Times in 14 Posts

    Default Re: Is there a way to capture each & every element in tree/table view like model::dat

    Quote Originally Posted by anda_skoa View Post
    Maybe keep a list of expanded items?

    Cheers,
    _
    Of course but I need this feature for other purposes Also
    For ex: there is a bug in Qt, i.e canFetchMore() & fetchMore() will get called only for top level items they will not get called for non top level items (level 2,3,4......) during scroll.

    So in this case also If I would be able to recognise each & every element I can load children's dynamically. So basically I am looking for this unique feature rather than doing some workarounds each time I run into this kind of situation..

    Any suggestions for doing this or better place/function in view.. I tried connecting scroll bar moved signal to some slot & get leftmost bottom element but it did not workout.
    Thanks :-)

  2. #2
    Join Date
    Jun 2015
    Location
    India
    Posts
    185
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    8
    Thanked 14 Times in 14 Posts

    Default Re: Is there a way to capture each & every element in tree/table view like model::dat

    I am still looking for this, Any hint or idea to implement this ???
    Thanks :-)

Similar Threads

  1. Replies: 1
    Last Post: 3rd April 2010, 15:47
  2. Replies: 33
    Last Post: 7th December 2009, 10:11
  3. How to map tree model data to list view
    By msopanen in forum Qt Programming
    Replies: 0
    Last Post: 10th November 2009, 19:56
  4. Table view->model->set data
    By tulsi in forum Qt Programming
    Replies: 3
    Last Post: 21st April 2009, 08:36
  5. data, model and tree view
    By larry104 in forum Qt Programming
    Replies: 17
    Last Post: 3rd July 2006, 14:43

Tags for this Thread

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.