擅长:python、mysql、java
<p>我想你需要打开分类开关。比如:</p>
<pre><code>proxy.sort(-1, Qt.AscendingOrder);
</code></pre>
<p>根据docs<a href="http://doc.qt.io/qt-4.8/qsortfilterproxymodel.html" rel="nofollow">http://doc.qt.io/qt-4.8/qsortfilterproxymodel.html</a>列<code>-1</code>将打开底层模型的排序。这可能是你需要的。在</p>