• Craig Watson's avatar
    Add "set as background" to frame menu for images · aedebaf2
    Craig Watson authored
    Images (UBGraphicsPixmapitem and UBGraphicsSvgItem) can be set as
    background via the menu on their frame. Currently, the image is first
    centered and un-transformed before being set as background.
    
    The option in the frame appears for any UBGraphicsItem for which
    `data(UBGraphicsItemData::ItemCanBeSetAsBackground)` is true.
    
    This is (currently) only enabled for image items.
    aedebaf2
UBGraphicsPixmapItem.cpp 5.75 KB