演示效果
多画面-同图像源
多画面-多图像源
1. 构造自定义图像提供者
class ImageViewProvider : public QQuickImageProvider
2.重写基类requestImage函数,进行图像获取
QImage requestImage(const QString &id, QSize *size, const QSize &requestedSize) override;
3.实现多画面与多图像源处理
//多画面图像处理
QQuickImageProvider* ImageViewMulti() const;
//多图像源处理
QQuickImageProvider* ImageViewSourceMulti() const