1. 14 Mar, 2016 1 commit
  2. 09 Mar, 2016 9 commits
  3. 08 Mar, 2016 2 commits
  4. 07 Mar, 2016 3 commits
  5. 04 Mar, 2016 2 commits
  6. 02 Mar, 2016 2 commits
  7. 01 Mar, 2016 5 commits
    • Craig Watson's avatar
      Moved mediaItem Delegate initialization to the mediaItem subclasses · c8b57dbd
      Craig Watson authored
      That function requires access to variables that are initialized
      in videoItem and audioItem constructors, so it can sometimes fail
      when called from the superclass's constructor.
      It might be an idea to avoid those calls altogether though
      c8b57dbd
    • Craig Watson's avatar
      Various fixes and clean-ups for media items: · d6e1a7ad
      Craig Watson authored
      - Hovering over the video now makes the seek bar visible
      - The size of the video item is no longer changed when the video
      finishes playing
      - Media errors are now handled by the mediaItem and displayed for the
      user
      
      - Code clean-up
      d6e1a7ad
    • Craig Watson's avatar
      Overhaul of UBGraphicsMediaItem class · fe9affee
      Craig Watson authored
      - Removed inheritance of UBGraphicsProxyWidget; cleaned up related code
      - Added two children classes: UBGraphicsVideoItem and
      UBGraphicsAudioItem. UBGraphicsMediaItem is now an abstract class.
      - Better encapsulation; the Scene and other external classes no longer
      access the mediaObject directly
      
      There is now less distinction between audio and video items to outside
      code: apart from the UBSvgSubsetAdaptor, there is no need to know
      whether a media item holds a video or audio file. Creation is handled
      through the static function `UBGraphicsMediaItem::createMediaItem(URL,
      parent)`
      fe9affee
    • Craig Watson's avatar
      Corrected a few minor duplication / zValue issues: · 41b538c7
      Craig Watson authored
      - zValue is correctly initialized when duplicating an object
      - Duplicated objects are translated correctly
      41b538c7
    • Craig Watson's avatar
  8. 29 Feb, 2016 1 commit
  9. 26 Feb, 2016 1 commit
  10. 23 Feb, 2016 3 commits
    • Craig Watson's avatar
    • Craig Watson's avatar
      1925add4
    • Craig Watson's avatar
      Corrected stroke movement · 2c5793b5
      Craig Watson authored
      - When clicking a stroke, they aren't moved immediately anymore; a
      certain drag distance is necessary, which makes it easy (again) to
      select a stroke with a stylus (which tends to move a little as it is
      clicked, hence the problem).
      
      - Removed duplicate code; the movement is now managed by
      QGraphicsItemGroup::mouseMoveEvent. This prevents use of the transform()
      method to get the stroke's transformation matrix; so sceneTransform() is
      used instead when copying a strokes group.
      
      - Also fixed an oversight in UBBoardView: Media items couldn't be moved
      directly anymore.
      2c5793b5
  11. 17 Feb, 2016 1 commit
    • Craig Watson's avatar
      Fixed pen strokes not being loaded in right position · 0879179c
      Craig Watson authored
      - Modified UBvgSubsetAdaptor to correctly save and load strokes, so the
      transform matrices that were saved are now loaded correctly.
      
      - Added handling of mousePress / Move / Release events to
      UBGraphicsStrokesGroup, so that the transform matrix is calculated and
      stored after moving a pen stroke directly (by clicking on it, and not on
      its frame). Note: this duplicates quite a bit of code that is in
      UBGraphicsDelegateFrame. It may be best to go back and modify both
      classes so that the same functions can be called when moving a stroke.
      0879179c
  12. 16 Feb, 2016 1 commit
  13. 15 Feb, 2016 1 commit
  14. 21 Jan, 2016 1 commit
  15. 14 Jan, 2016 1 commit
    • Craig Watson's avatar
      Code clean-up · da5378a6
      Craig Watson authored
      Mostly, removal of old code that had been commented out instead of
      removed
      da5378a6
  16. 12 Jan, 2016 1 commit
  17. 23 Dec, 2015 1 commit
  18. 21 Dec, 2015 1 commit
  19. 14 Dec, 2015 2 commits
  20. 11 Dec, 2015 1 commit
    • Craig Watson's avatar
      Fixed duplication of groups · d6503534
      Craig Watson authored
      Previously, duplication did not copy the transformation matrices of group
      members correctly. This made grouped objects move away when saving and
      re-opening a document.
      This should now be fixed.
      d6503534