Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QTreeView similar to Yahoo or Skype
QtWS25 Last Chance

QTreeView similar to Yahoo or Skype

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 1.2k 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.
  • Z Offline
    Z Offline
    zolidznake
    wrote on last edited by
    #1

    Hello,

             is there a way to create a model that accepts photo's on every child item ? thank you in advance .!
    
    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Yes. If you want it sparkly, though, consider using QML.

      (Z(:^

      1 Reply Last reply
      0
      • _ Offline
        _ Offline
        _rmn
        wrote on last edited by
        #3

        Hello!

        Yes, you should define Qt::DecorationRole for your model index.
        Read more: http://qt-project.org/doc/qt-4.8/qt.html#ItemDataRole-enum

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          He mentions QTreeView, so he means QtWidgets.

          (Z(:^

          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