title: How to set various row height in QTreeView (Qt, QML)?
body: <p>In my QML I have a TreeView:</p>
  
  <pre><code>TreeView {
                  ...
  
                  model: mProductions.getModel()
  
                  TableViewColumn {
                      role: "name"
                      title: "Name"
                      width: root.width/4
                  }
  
                  TableViewColumn {
                      role: "image"
                      title: "Image"
                      width: root.width/4
                  }
  }
  </code></pre>
  
  <p>I need to have the row height higher in case the item has an image.
  So I tried to use Qt::SizeHintRole in my data method for an item. But QML doesn't request this role.</p>
  
  <pre><code>QVariant Productions::TreeItem::data(int role) const {
      switch(role) {
      case NameRole:
          return QVariant(this-&gt;name);
      ...
      case Qt::SizeHintRole:
          return QSize(..., ...);
      ...
      default:
          return QVariant();
      }
  }
  </code></pre>
  
  <p>So how do I force QML to request this role? Or is there another way to set different row heights? rowDelegate in QML didn't work for me.</p>