1. 18 Aug, 2013 2 commits
    • François Cartegnie's avatar
      Qt: Set popup entries logic into models, and keep interaction outside. · ca08ed0e
      François Cartegnie authored
      - popup now created according to the selected items and models.
      - fixes view/popup model abstraction.
      - allows introducing new methods/models.
      ca08ed0e
    • François Cartegnie's avatar
      Qt: Rework Models. · ce837438
      François Cartegnie authored
      - Separate common methods into interface, allowing multiple
      inheritance architecture (to use any implemented AbstractModel)
      - Code factorization between PL/ML models (and PL/ML Items)
      - Use proxy model for views and redirection to the PL/ML models.
      Fixes filtering and also really make use of the current model (only the
      PL Model was really used before, models were half switched).
      - stop storing/serializing selection indexes
      - ML Missing locks and bug fixes
      - Move ML callback into event loop
      - ML Items leaks fixes
      - Code factorization
      - Dead code removal
      ce837438
  2. 20 Jul, 2012 2 commits
  3. 19 Jul, 2012 6 commits
  4. 11 Jun, 2012 2 commits
  5. 07 Jun, 2012 2 commits
  6. 02 Jan, 2012 1 commit
  7. 17 Nov, 2011 1 commit
  8. 21 Oct, 2011 3 commits
  9. 11 Oct, 2011 1 commit
  10. 09 Oct, 2011 1 commit
  11. 07 Jul, 2011 1 commit
  12. 22 May, 2011 1 commit
  13. 28 Apr, 2011 2 commits
  14. 17 Jan, 2011 1 commit
  15. 09 Jan, 2011 1 commit
  16. 30 Oct, 2010 2 commits
  17. 27 Oct, 2010 1 commit
  18. 24 Jun, 2010 3 commits
  19. 23 Jun, 2010 2 commits
  20. 15 Apr, 2010 1 commit
  21. 13 Mar, 2010 1 commit
  22. 09 Mar, 2010 1 commit
    • Jakob Leben's avatar
      Qt: drag-and-drop: simplification and robustness · e3c255e6
      Jakob Leben authored
      - Make PlMimeData simply a subclass of QMimeData: destructor of indirect
      subclasses of QObject is called even if their direct base class' destructor
      is not virtual.
      - Protection against using input_item_t* from another VLC instance:
      qobject_cast<PlMimeData*>() will fail on QMimeData dropped from another process.
      - Some refactoring of PLModel::dropMove() for robustness.
      e3c255e6
  23. 08 Mar, 2010 2 commits
    • Jakob Leben's avatar
      Qt: use input_item_t* for drag-and-drop data · 61e1f02d
      Jakob Leben authored
      A helper object keeps reference count until drag-and-drop is finished.
      61e1f02d
    • Jakob Leben's avatar
      Qt: Playlist drag and drop corrections · 4bd42ef6
      Jakob Leben authored
      - Use item ids instead of pointers for drag data to prevent usage after freeing.
      - The list of selected items that contitutes drag data is sorted correctly according to item position in tree. This keeps their relative order after drop operation even if they originated from different parent nodes.
      - If a parent and any of it's children are selected, only the parent enters drag'n'drop operation. Children are thus not moved out of the parent when dropping.
      - Copying by drag and drop performs a recursive copy of all children.
      4bd42ef6