- 14 Mar, 2016 1 commit
-
-
Craig Watson authored
-
- 09 Mar, 2016 9 commits
-
-
Craig Watson authored
- Sort by Z before duplicating a selection (so that relative Z's are kept) - in UBZLayerController, iterate only through UBGraphicsScene's fast access items, not QGraphicsScene::items
-
Craig Watson authored
-
Craig Watson authored
- Defined constants in UBSettings for highlighter preview circle colors - Switch between light and dark colors when changing backgrounds - For eraser: use color settings that were defined in UBSettings (they were ignored since the preview circle was added)
-
Craig Watson authored
-
Craig Watson authored
-
Craig Watson authored
-
Craig Watson authored
-
Craig Watson authored
When a video is first loaded (placed on the scene), we play/pause it to load the first frame; but this was also called when the video was manually stopped. To avoid this, a mStopped attribute was added to UBGraphicsMediaItem. It is set to true only when the video is stopped by the user.
-
Craig Watson authored
-
- 08 Mar, 2016 2 commits
-
-
Craig Watson authored
(Solution from previous commit worked only on Linux)
-
Craig Watson authored
-
- 07 Mar, 2016 3 commits
-
-
Craig Watson authored
-
Craig Watson authored
-
Craig Watson authored
+ clean-up in a few places
-
- 04 Mar, 2016 2 commits
-
-
Craig Watson authored
-
Craig Watson authored
-
- 02 Mar, 2016 2 commits
-
-
Craig Watson authored
-
Craig Watson authored
-
- 01 Mar, 2016 5 commits
-
-
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
-
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
-
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)`
-
Craig Watson authored
- zValue is correctly initialized when duplicating an object - Duplicated objects are translated correctly
-
Craig Watson authored
-
- 29 Feb, 2016 1 commit
-
-
Craig Watson authored
- Added a graphical display of stroke z level - Enabled BSP tree use in the graphicsScene
-
- 26 Feb, 2016 1 commit
-
-
Craig Watson authored
-
- 23 Feb, 2016 3 commits
-
-
Craig Watson authored
-
Craig Watson authored
-
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.
-
- 17 Feb, 2016 1 commit
-
-
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.
-
- 16 Feb, 2016 1 commit
-
-
Craig Watson authored
-
- 15 Feb, 2016 1 commit
-
-
Craig Watson authored
-
- 21 Jan, 2016 1 commit
-
-
Craig Watson authored
-
- 14 Jan, 2016 1 commit
-
-
Craig Watson authored
Mostly, removal of old code that had been commented out instead of removed
-
- 12 Jan, 2016 1 commit
-
-
Craig Watson authored
-
- 23 Dec, 2015 1 commit
-
-
Craig Watson authored
-
- 21 Dec, 2015 1 commit
-
-
Craig Watson authored
-
- 14 Dec, 2015 2 commits
-
-
Craig Watson authored
-
Craig Watson authored
-
- 11 Dec, 2015 1 commit
-
-
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.
-