• BaseWindow
  • BaseWindow Class

    . More...

    Header: #include <BaseWindow>
    Inherited By:

    WinWindow

    Public Functions

    QString OSVersion() const
    QVector<int> activeScreensList() const
    QString appID() const
    QString basePath() const
    bool canFade() const
    bool checkWallpaperVisible() const
    const QString &contentBasePath() const
    float currentTime() const
    bool debugMode() const
    QString fillMode() const
    QString fullContentPath() const
    int height() const
    bool isPlaying() const
    bool loops() const
    bool muted() const
    float playbackRate() const
    int *sdk() const
    int type() const
    bool visualsPaused() const
    float volume() const
    int width() const

    Public Slots

    QString getApplicationPath()
    QString loadFromFile(const QString &filename)
    virtual void messageReceived(QString key, QString value)
    virtual void replaceWallpaper(const QString absolutePath, const QString file, const float volume, const QString fillMode, const QString type, const bool checkWallpaperVisible)
    void setActiveScreensList(QVector<int> activeScreensList)
    void setAppID(QString appID)
    void setBasePath(QString basePath)
    void setCanFade(bool canFade)
    void setCheckWallpaperVisible(bool checkWallpaperVisible)
    void setContentBasePath(const QString &contentBasePath)
    void setCurrentTime(float currentTime)
    void setDebugMode(bool debugMode)
    void setFillMode(QString fillMode)
    void setFullContentPath(QString fullContentPath)
    void setHeight(int height)
    void setIsPlaying(bool isPlaying)
    void setLoops(bool loops)
    void setMuted(bool muted)
    void setOSVersion(QString OSVersion)
    void setPlaybackRate(float playbackRate)
    void setSdk(int *sdk)
    void setType(int type)
    void setVisualsPaused(bool visualsPaused)
    void setVolume(float volume)
    void setWidth(int width)

    Signals

    void OSVersionChanged(QString OSVersion)
    void activeScreensListChanged(QVector<int> activeScreensList)
    void appIDChanged(QString appID)
    void basePathChanged(QString basePath)
    void canFadeChanged(bool canFade)
    void checkWallpaperVisibleChanged(bool checkWallpaperVisible)
    void contentBasePathChanged(const QString &)
    void currentTimeChanged(float currentTime)
    void debugModeChanged(bool debugMode)
    void fillModeChanged(QString fillMode)
    void fullContentPathChanged(QString fullContentPath)
    void heightChanged(int height)
    void isPlayingChanged(bool isPlaying)
    void loopsChanged(bool loops)
    void mutedChanged(bool muted)
    void playbackRateChanged(float playbackRate)
    void sdkChanged(int *sdk)
    void typeChanged(int type)
    void visualsPausedChanged(bool visualsPaused)
    void volumeChanged(float volume)
    void widthChanged(int width)

    Detailed Description

    Member Function Documentation

    [slot] QString BaseWindow::getApplicationPath()

    This public slot is for QML usage.

    [slot] QString BaseWindow::loadFromFile(const QString &filename)

    Used for loading shader. Loading shader relative to the qml file will be available in Qt 6

    [virtual slot] void BaseWindow::messageReceived(QString key, QString value)

    messageReceived.

    [virtual slot] void BaseWindow::replaceWallpaper(const QString absolutePath, const QString file, const float volume, const QString fillMode, const QString type, const bool checkWallpaperVisible)

    replaceWallpaper.