1. 05 Apr, 2017 1 commit
    • hjk's avatar
      ProjectNodes: Handle supported actions one-by-one · bd5e2faa
      hjk authored
      
      
      Getting the full list for a node can get quite expensive e.g. in
      cases of recursive calls of QMakeProjectManager::findPriFile.
      
      However, the FlatModel needs to decide quickly on whether an item
      is editable to potentially allow renaming.
      
      So split up QList<Actions> supportedActions() into individual
      bool supportsAction(action) calls and make sure Rename is not
      on the critical path.
      
      Task-number: QTCREATORBUG-17953
      Change-Id: I31841847f8aa7d7b94c63d76ce71efb1c930fa69
      Reviewed-by: Tobias Hunger's avatarTobias Hunger <tobias.hunger@qt.io>
      bd5e2faa
  2. 27 Mar, 2017 1 commit
  3. 24 Mar, 2017 3 commits
  4. 22 Mar, 2017 1 commit
  5. 21 Mar, 2017 1 commit
  6. 16 Mar, 2017 1 commit
  7. 10 Mar, 2017 3 commits
  8. 02 Mar, 2017 1 commit
  9. 01 Mar, 2017 1 commit
  10. 23 Feb, 2017 2 commits
  11. 10 Feb, 2017 1 commit
  12. 09 Feb, 2017 1 commit
  13. 31 Jan, 2017 1 commit
  14. 25 Jan, 2017 1 commit
    • hjk's avatar
      ProjectExplorer: Make the FlatModel a Utils::TreeModel · 3c743346
      hjk authored
      
      
      The FlatModel is essentially a proxy model keeping expansion and
      filter state per ProjectTree(View). Using a Utils::TreeModel makes
      it fast enough to allow recreation of the proxy structure on
      structural changes simplifying the parent/child logic significantly.
      
      The {Session,Project,Folder,File}Node hierarchy still is still primary
      information and shared by all views.
      
      Change-Id: Ic08180a19bda37908280ff30e0737d188ed93e92
      Reviewed-by: default avatarRobert Loehning <robert.loehning@qt.io>
      Reviewed-by: Tobias Hunger's avatarTobias Hunger <tobias.hunger@qt.io>
      3c743346
  15. 14 Nov, 2016 1 commit
  16. 10 Nov, 2016 1 commit
  17. 03 Nov, 2016 2 commits
  18. 09 Aug, 2016 1 commit
  19. 15 Apr, 2016 1 commit
  20. 19 Jan, 2016 1 commit
  21. 03 Nov, 2015 1 commit
  22. 15 Jun, 2015 1 commit
    • Jochen Becher's avatar
      Introduce dragging for all explorer nodes. · 431b25ad
      Jochen Becher authored
      
      
      Extend drop support with variant values. A drop may be a file drop or a
      value drop or both.
      
      Rename Utils::FileDropSupport to Utils::DropSupport and add methods to
      add not only files but any QVariant value to the mime data. Project
      explorer adds dragged nodes (which will be needed for future ModelEditor
      plugin).
      
      Change-Id: I799542c60fdecb3e64af0d3ba47b6caa9adbcfd7
      Reviewed-by: default avatarEike Ziller <eike.ziller@theqtcompany.com>
      431b25ad
  23. 16 Mar, 2015 2 commits
  24. 13 Mar, 2015 1 commit
  25. 25 Feb, 2015 1 commit
  26. 13 Feb, 2015 1 commit
  27. 29 Jan, 2015 1 commit
  28. 16 Jan, 2015 1 commit
  29. 14 Jan, 2015 1 commit
    • Daniel Teske's avatar
      Refactor ProjectExplorer::Node and remove NodesWatcher · 70c9c51e
      Daniel Teske authored
      
      
      The idea behind NodesWatcher was that it was the central place
      to catch node related signals, so that users didn't need to
      connect to each individual node and the nodes didn't need to
      be QObjects. Somehow Nodes ended up being QObjects anyway.
      
      Both the recently added ProjectTree and the FlatModels consume
      the signals the NodesWatcher sends. Unfortunately there's a
      ordering dependency between the ProjectTree and the FlatModels.
      
      This patch removes all NodesWatcher and instead makes the
      ProjectTree singleton the emitter of various project tree
      related signals. The ProjectTree also ensures that the ordering
      between the FlatModel and itself is taken into account.
      
      And it makes Node not derive from QObject, saving some memory
      in that process.
      
      Task-number: QTCREATORBUG-13756
      Change-Id: I8b0d357863f1dc1d2d440ce8172502594138b9fb
      Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
      70c9c51e
  30. 03 Dec, 2014 1 commit
  31. 14 Oct, 2014 1 commit
  32. 09 Oct, 2014 1 commit
  33. 30 Sep, 2014 1 commit