• OctoMY API
  • OctoMY API Reference
  • C++ Classes
  • OctoMY
  • SvgWidget
  • SvgWidget Class

    Widget for rendering SVG graphics with silhouette effects. More...

    Header: #include <SvgWidget>
    Since: 1.0
    Inherits: QWidget
    Inherited By:

    IdenticonWidget, SentientIdenticonWidget, TrustIconWidget, and TrustSymbolWidget

    Public Functions

    void setSilhouetteBackground(QColor)
    void setSilhouetteEnabled(bool)
    void setSilhouetteForeground(QColor)
    void setSvgURL(const QString &url)
    QColor silhouetteBackground() const
    bool silhouetteEnabled() const
    QColor silhouetteForeground() const
    QString svgURL() const

    Detailed Description

    SvgWidget displays SVG images with optional silhouette rendering that can colorize the foreground and background independently.

    See also QSvgRenderer.