Skip to content
This repository was archived by the owner on Jul 6, 2026. It is now read-only.
ai12989757Public archive

About

No description, website, or topics provided.

Resources

Stars

23 stars

Watchers

0 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windows Liquid Glass

Windows 桌面端液态玻璃 Qt 组件

License: MIT Python PySide Windows

Bilibili · YouTube


该项目不再更新,由于windows和Qt存在各种限制,开发独立引擎中...

效果预览

液态玻璃效果

环境要求

依赖 版本
操作系统 Windows 10 / 11
Python 3.7+
Qt 绑定 PySide2 / PySide6
数值计算 NumPy

快速开始

1. 克隆仓库

git clone https://github.com/yourname/WindowsLiquidGlass.git

2. 安装依赖

# 使用 PySide6(推荐)
pip install PySide6 numpy

# 或使用 PySide2
pip install PySide2 numpy

3. 运行示例

import sys
sys.path.append('path/WindowsLiquidGlass')
import SettingUI

if __name__ == "__main__":
    try:
        from PySide2.QtWidgets import QApplication
        PYSIDE_VERSION = 2
    except ImportError:
        from PySide6.QtWidgets import QApplication
        PYSIDE_VERSION = 6

    app = QApplication(sys.argv)
    ui = SettingUI.SettingUI(qt_move=False) # 如果拖动不了或卡顿尝试切换 qt_move 参数
    ui.show()

    if PYSIDE_VERSION == 2:
        sys.exit(app.exec_())
    else:
        sys.exit(app.exec())

API 文档

模块 描述
GPU 设备管理器 管理 GPU 设备与上下文
SDF 生成器 有向距离场生成
特效渲染器 GPU 加速特效渲染
Qt 组件基类 液态玻璃 Qt 组件基础类

许可证

本项目基于 MIT License 开源,欢迎自由使用与贡献。

Made with ❤️ for Windows Desktop

About

No description, website, or topics provided.

Resources

Stars

23 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages