25 virtual void maybeUpdateUrl();
26 virtual void play(
int mode);
27 QUrlQuery getUrlQuery();
28 DQuickIconImage::Mode getIconMode()
const;
30 qreal calculateDevicePixelRatio()
const;
31 bool updateDevicePixelRatio(qreal targetDevicePixelRatio)
override;
33 void updateBase64Image();
35 static QImage requestImageFromBase64(
const QString &name,
const QSize &requestedSize, qreal devicePixelRatio);
39 DQuickIconImage::State state = DQuickIconImage::State::Off;
40 DQuickIconImage::Mode mode = DQuickIconImage::Mode::Invalid;
45 enum IconType : qint8 {
56 IconType iconType = ThemeIconName;