Why do I not see the drop indicator in a QTableView?
<p>I use drag and drop in my <code>QTableView</code> (works). However, I do not see any drop indicator. I should see a line where the drop is supposed to be inserted, shouldn't I? At least <a href="https://stackoverflow.com/q/5510887/356726">here</a> they say so.</p>

<p>My init is pretty much standard.</p>

<pre><code>    // see model for implementing logic of drag
    this-&gt;viewport()-&gt;setAcceptDrops(allowDrop);
    this-&gt;setDragEnabled(allowDrag);
    this-&gt;setDropIndicatorShown(true);
    this-&gt;m_model-&gt;allowDrop(allowDrop);
</code></pre>

<p>I have no idea why I do not see the indicator. A style sheet is used with the views, could that be the reason. However, I have disabled the stylesheet and still do not see it.</p>

<p>The view uses entire rows for selection, not sure if this causes an issue. So any hint is appreciated. </p>

<p>-- Edit --</p>

<p>As of the comment below, tried all selection modes: single, multi or extended, no visual effect. Also tried cell instead of row selection, again no improvement.</p>

<p>-- Edit 2 --</p>

<p>Currently evaluating <a href="https://stackoverflow.com/a/9611137/356726">another style proxy example</a>, similar to the one below, originally referenced <a href="https://forum.qt.io/topic/40881/solved-qtableview-drop-indicator-appearance/4" rel="nofollow noreferrer">here</a> </p>

<p>-- Related --</p>

<p><a href="https://stackoverflow.com/q/7596584/356726">QTreeView draw drop indicator</a><br>
<a href="https://stackoverflow.com/q/23111075/356726">How to highlight the entire row on mouse hover in QTableWidget: Qt5</a><br>
<a href="https://forum.qt.io/topic/12794/mousehover-entire-row-selection-in-qtableview/7" rel="nofollow noreferrer">https://forum.qt.io/topic/12794/mousehover-entire-row-selection-in-qtableview/7</a><br>
<a href="https://stackoverflow.com/a/23111484/356726">https://stackoverflow.com/a/23111484/356726</a></p>