Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. List/TreeWidget vs. List/TreeView?
QtWS25 Last Chance

List/TreeWidget vs. List/TreeView?

Scheduled Pinned Locked Moved Language Bindings
2 Posts 2 Posters 8.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.
  • A Offline
    A Offline
    Alabaster
    wrote on last edited by
    #1

    Python 3 / Windows 7

    I'm still learning Python & PyQt and so far I've been using the ListWidget and TreeWidget. I get the impression that ListView and TreeView are more powerful or flexible in some way but I can't seem to find the pros and cons of each. Can anyone enlighten me on what situations I may find ListView / TreeView to be better than the Widget versions? (Or simply point me in the direction of an explanation if there's one already written -- I can't seem to find one).

    Thanks

    1 Reply Last reply
    0
    • H Offline
      H Offline
      Hostel
      wrote on last edited by
      #2

      Views works on model, widget versions works on inserted items.

      Read "Model View programming":http://qt-project.org/doc/qt-4.8/model-view-programming.html

      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