title: How to get currentIndex of QListView in QStyledItemDelegate::paint()
body: <p>I defined pure virtual method <code>QStyledItemDelegate::paint</code> as:</p>
  
  <pre><code>void FooViewDelegate::paint( QPainter* painter, const QStyleOptionViewItem&amp; option, const QModelIndex&amp; index ) const
  {
      bool selected = option.state &amp; QStyle::State_Selected;
      // ...
      // drawing code
  }
  </code></pre>
  
  <p>But I cant't figure how to know is the drawing item current or no (The same item as from <code>QListView::currentIndex()</code>).</p>