Zhao Yuhang
2024-01-06 79d98630fe80c08de82ffd041c85aa589f08013f
src/quick/quickitemdelegate.cpp
@@ -1,3 +1,7 @@
// Copyright (C) 2023-2024 Stdware Collections (https://www.github.com/stdware)
// Copyright (C) 2021-2023 wangwenx190 (Yuhang Zhao)
// SPDX-License-Identifier: Apache-2.0
#include "quickitemdelegate_p.h"
#include <QtQuick/QQuickItem>
@@ -68,6 +72,10 @@
        static_cast<QQuickWindow *>(host)->setFlags(flags);
    }
    void QuickItemDelegate::setWindowVisible(QObject *host, bool visible) const {
        static_cast<QQuickWindow *>(host)->setVisible(visible);
    }
    void QuickItemDelegate::bringWindowToTop(QObject *host) const {
        static_cast<QQuickWindow *>(host)->raise();
    }