Coder Social home page Coder Social logo

customwindow's Introduction

Custom window

Description

Frameless window and base with multiple effects working on PyQt6/PySide6 for Windows 11/10.

Features:

  • Win 11 Snap Layouts
  • Acrylic and Mica effects
  • Properly working moving and stretching, thanks to the temporary deactivation of the acrylic effect
  • Title and icon in titlebar
  • System dark mode
  • Changeable background color, which adapts to dark mode
  • Animated

Usage

Just inherit CustomWindow or CustomBase with parameters. Look example.py

Screenshots

Dark Default Moving

Requirements

Look requirements.txt (install only PyQt or only PySide)

Reference

This is a rewritten and lightened version of PyQt-Frameless-Window project.

License

Look LICENSE

customwindow's People

Contributors

re7gog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

customwindow's Issues

拖动速度慢会闪

可能是因为只要100ms没移动就切换导致的。
我想可能需要检测鼠标是否松开再切换。可是当我加入这个条件后【在计时器部分的亚克力切换部分加入 【and not(win32api.GetAsyncKeyState(0x01))】】,超过100ms窗口会变成黑色

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.