• 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
UBSvgSubsetAdaptor.h 9 KB