[Differential] [Updated, 214 lines] D3673: Outline: Sorted function list

kfunk (Kevin Funk) noreply at phabricator.kde.org
Thu Jan 5 00:54:19 UTC 2017


kfunk updated this revision to Diff 9734.
kfunk added a comment.


  Changes:
  
  - Make sure we pass the correct QModelIndexes to the model
  - Make it possible to enable/disable sorting from the outside
  - Only enable sorting for the outline
    - Use QSFPM for Outline, QIdentityProxyModel for the rest
  
  Unfortunately a lot of awful code, but that's what you get when the underlying model is already not well separated from the view...
  
  Tested both outline + quick open extensively, seems to work

REPOSITORY
  R33 KDevPlatform

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D3673?vs=9728&id=9734

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D3673

AFFECTED FILES
  plugins/quickopen/expandingtree/expandingdelegate.cpp
  plugins/quickopen/expandingtree/expandingtree.cpp
  plugins/quickopen/expandingtree/expandingwidgetmodel.cpp
  plugins/quickopen/expandingtree/expandingwidgetmodel.h
  plugins/quickopen/quickopenmodel.cpp
  plugins/quickopen/quickopenplugin.cpp
  plugins/quickopen/quickopenwidget.cpp
  plugins/quickopen/quickopenwidget.h

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: kfunk, brauch, #kdevelop, nellex
Cc: kdevelop-devel, brauch, #kdevelop, Pilzschaf, akshaydeo, surgenight, arrowdodger
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170105/b2dc1f41/attachment-0001.html>


More information about the KDevelop-devel mailing list